[vlc-devel] commit: Small menu fix. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Apr 16 08:17:33 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 15 23:18:46 2008 -0700| [17dfbc824d2aa3452502e9ba9832b196f6d29432]

Small menu fix.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17dfbc824d2aa3452502e9ba9832b196f6d29432
---

 modules/gui/qt4/menus.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 62f41e7..0f83f9f 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -269,7 +269,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf,
     if( with_intf )
     {
         QMenu *intfmenu = InterfacesMenu( p_intf, NULL );
-        intfmenu->setTitle( qtr( "Interfaces" ) );
+        intfmenu->setTitle( qtr( "Add Interfaces" ) );
         menu->addMenu( intfmenu );
         menu->addSeparator();
     }
@@ -956,8 +956,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
             case VLC_VAR_STRING:
                 var_Get( p_object, psz_var, &val );
                 another_val.psz_string = strdup( CURVAL.psz_string );
-                menutext = qfu( "Add " ) /* If this function is more used, FIX*/
-                         + qfu( CURTEXT ? CURTEXT : another_val.psz_string );
+                menutext = qfu( CURTEXT ? CURTEXT : another_val.psz_string );
                 CreateAndConnect( submenu, psz_var, menutext, "", NORMAL_OR_RADIO,
                         p_object->i_object_id, another_val, i_type,
                         NOTCOMMAND && val.psz_string &&




More information about the vlc-devel mailing list