]> git.sesse.net Git - vlc/commitdiff
* Use psz_shortname instead of object name in the Preferences tree of OS X prefs.
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 9 Aug 2005 13:28:11 +0000 (13:28 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 9 Aug 2005 13:28:11 +0000 (13:28 +0000)
modules/gui/macosx/prefs.m

index d4530cfc445160eb26eb09087b0648b72b57df21..77e2f6aba779cc87d1dd45a2d67aabe310bd838c 100644 (file)
@@ -400,7 +400,8 @@ static VLCTreeItem *o_root_item = nil;
 
                 [p_subcategory_item->o_children addObject:[[VLCTreeItem alloc]
                     initWithName:[[VLCMain sharedInstance]
-                        localizedString: p_module->psz_object_name ]
+                        localizedString: p_module->psz_shortname ?
+                        p_module->psz_shortname : p_module->psz_object_name ]
                     ID: p_module->i_object_id
                     parent:p_subcategory_item
                     children:IsALeafNode