From: Pierre d'Herbemont Date: Wed, 9 Jul 2008 21:46:36 +0000 (+0200) Subject: macosx: Make sure input menu are up-to-date. X-Git-Tag: 0.9.0-test2~54 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2b406b2ec07f0df658a03a55d994bcad2ed36190;p=vlc macosx: Make sure input menu are up-to-date. Fixes #1684. --- diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m index e1629da221..8b63c6570d 100644 --- a/modules/gui/macosx/controls.m +++ b/modules/gui/macosx/controls.m @@ -908,7 +908,6 @@ { bEnabled = FALSE; } - [o_main setupMenus]; /* Make sure input menu is up to date */ } else if( [[o_mi title] isEqualToString: _NS("Previous")] || [[o_mi title] isEqualToString: _NS("Next")] ) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index aa529071f5..1bedac55f1 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1213,6 +1213,7 @@ static VLCMain *_o_sharedMainInstance = nil; p_intf->p_sys->b_current_title_update = true; p_intf->p_sys->b_intf_update = true; p_intf->p_sys->b_input_update = false; + [self setupMenus]; /* Make sure input menu is up to date */ } if( p_intf->p_sys->b_intf_update ) {