Qt4 - Yet another icon from Danko: Preferences.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 18 Jun 2007 22:23:46 +0000 (22:23 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 18 Jun 2007 22:23:46 +0000 (22:23 +0000)
modules/gui/qt4/Modules.am
modules/gui/qt4/menus.cpp
modules/gui/qt4/pixmaps/vlc_preferences_16px.png [new file with mode: 0644]
modules/gui/qt4/res.qrc

index bf5a90e..2f10930 100644 (file)
@@ -195,6 +195,7 @@ EXTRA_DIST += \
        pixmaps/vlc_quit_16px.png \
        pixmaps/vlc_network_16px.png \
        pixmaps/vlc_capture-card_16px.png \
+       pixmaps/vlc_preferences_16px.png \
        pixmaps/vlc_folder-grey_16px.png \
        pixmaps/vlc_folder-blue_16px.png \
        pixmaps/vlc_tape_16px.png \
index 660a3df..4ea62c3 100644 (file)
@@ -269,7 +269,8 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
     DP_SADD( menu, qtr( I_MENU_EXT ), "","",extendedDialog(), "Ctrl+E" );
     DP_SADD( menu, qtr( "Hide Menus..." ), "","",hideMenus(), "Ctrl+H" );
     menu->addSeparator();
-    DP_SADD( menu, qtr("Preferences"), "", "", prefsDialog(), "Ctrl+P" );
+    DP_SADD( menu, qtr("Preferences"), "", ":/pixmaps/vlc_preferences_16px.png",
+             prefsDialog(), "Ctrl+P" );
     return menu;
 }
 
diff --git a/modules/gui/qt4/pixmaps/vlc_preferences_16px.png b/modules/gui/qt4/pixmaps/vlc_preferences_16px.png
new file mode 100644 (file)
index 0000000..7168665
Binary files /dev/null and b/modules/gui/qt4/pixmaps/vlc_preferences_16px.png differ
index c9cd1e4..7633f2b 100644 (file)
@@ -32,6 +32,7 @@
   <file>pixmaps/vlc_file-asym_16px.png</file>
   <file>pixmaps/vlc_file-wide_16px.png</file>
   <file>pixmaps/vlc_capture-card_16px.png</file>
+  <file>pixmaps/vlc_preferences_16px.png</file>
   <file>pixmaps/vlc_stream_16px.png</file>
  </qresource>
 </RCC>