Commit 21fec3ee authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Menus and new icons. Remove the isCheckable option from extended/playlist.

parent a901e3b6
...@@ -197,6 +197,8 @@ EXTRA_DIST += \ ...@@ -197,6 +197,8 @@ EXTRA_DIST += \
pixmaps/vlc_network_16px.png \ pixmaps/vlc_network_16px.png \
pixmaps/vlc_capture-card_16px.png \ pixmaps/vlc_capture-card_16px.png \
pixmaps/vlc_preferences_16px.png \ pixmaps/vlc_preferences_16px.png \
pixmaps/vlc_settings_16px.png \
pixmaps/vlc_playlist_16px.png \
pixmaps/vlc_folder-grey_16px.png \ pixmaps/vlc_folder-grey_16px.png \
pixmaps/vlc_folder-blue_16px.png \ pixmaps/vlc_folder-blue_16px.png \
pixmaps/vlc_tape_16px.png \ pixmaps/vlc_tape_16px.png \
......
...@@ -286,22 +286,21 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi, ...@@ -286,22 +286,21 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
mi, SLOT( advanced() ) ); mi, SLOT( advanced() ) );
adv->setCheckable( true ); adv->setCheckable( true );
if( adv_controls_enabled ) adv->setChecked( true ); if( adv_controls_enabled ) adv->setChecked( true );
DP_SADD( menu, qtr( "Hide Menus..." ), "","",hideMenus(), "Ctrl+H" );
menu->addSeparator();
#if 0 /* For Visualisations. Not yet working */ #if 0 /* For Visualisations. Not yet working */
adv = menu->addAction( qtr("Visualizations selector" ), adv = menu->addAction( qtr("Visualizations selector" ),
mi, SLOT( visual() ) ); mi, SLOT( visual() ) );
adv->setCheckable( true ); adv->setCheckable( true );
if( visual_selector_enabled ) adv->setChecked( true ); if( visual_selector_enabled ) adv->setChecked( true );
#endif #endif
QAction *plAction = menu->addAction ( qtr( "Playlist"), mi, menu->addAction ( QIcon(":/pixmaps/vlc_playlist_16px.png"),
SLOT( playlist() ) ); qtr( "Playlist"), mi, SLOT( playlist() ) );
plAction->setCheckable( true );
} }
QAction *extAction = menu->addAction( qtr( I_MENU_EXT ), THEDP, DP_SADD( menu, qtr( I_MENU_EXT ), "", ":/pixmaps/vlc_settings_16px.png",
SLOT( extendedDialog() ), qtr( "Ctrl+E" ) ); extendedDialog() , "Ctrl+E" );
extAction->setCheckable( true );
DP_SADD( menu, qtr( "Hide Menus..." ), "","",hideMenus(), "Ctrl+H" );
menu->addSeparator(); menu->addSeparator();
DP_SADD( menu, qtr("Preferences"), "", ":/pixmaps/vlc_preferences_16px.png", DP_SADD( menu, qtr("Preferences"), "", ":/pixmaps/vlc_preferences_16px.png",
......
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
<file>pixmaps/vlc_folder-grey_16px.png</file> <file>pixmaps/vlc_folder-grey_16px.png</file>
<file>pixmaps/vlc_capture-card_16px.png</file> <file>pixmaps/vlc_capture-card_16px.png</file>
<file>pixmaps/vlc_preferences_16px.png</file> <file>pixmaps/vlc_preferences_16px.png</file>
<file>pixmaps/vlc_playlist_16px.png</file>
<file>pixmaps/vlc_settings_16px.png</file>
<file>pixmaps/vlc_stream_16px.png</file> <file>pixmaps/vlc_stream_16px.png</file>
</qresource> </qresource>
</RCC> </RCC>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment