[vlc-devel] commit: macosx: Make sure input menu are up-to-date. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Jul 12 12:38:04 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Jul 9 23:46:36 2008 +0200| [2b406b2ec07f0df658a03a55d994bcad2ed36190]
macosx: Make sure input menu are up-to-date.
Fixes #1684.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b406b2ec07f0df658a03a55d994bcad2ed36190
---
modules/gui/macosx/controls.m | 1 -
modules/gui/macosx/intf.m | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index e1629da..8b63c65 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 aa52907..1bedac5 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 )
{
More information about the vlc-devel
mailing list