[vlc-devel] commit: macosx playlist: fix an unreachable update of the Media Info panel (Derk-Jan Hartman )
git version control
git at videolan.org
Wed May 27 15:30:33 CEST 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed May 27 15:26:00 2009 +0200| [b74ce937e05dad5ed00a0290284f18846cfe71ed] | committer: Derk-Jan Hartman
macosx playlist: fix an unreachable update of the Media Info panel
(cherry picked from commit cbccd7297c241830e796f0f239b4b90d19c16c75)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b74ce937e05dad5ed00a0290284f18846cfe71ed
---
modules/gui/macosx/playlist.m | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index e80c9b3..e32e58f 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -584,6 +584,9 @@
/* update the state of our Reveal-in-Finder menu items */
NSMutableString *o_mrl;
char *psz_uri = input_item_GetURI( p_item->p_input );
+
+ [o_mi_revealInFinder setEnabled: NO];
+ [o_mm_mi_revealInFinder setEnabled: NO];
if( psz_uri )
{
o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
@@ -597,11 +600,8 @@
{
[o_mi_revealInFinder setEnabled: YES];
[o_mm_mi_revealInFinder setEnabled: YES];
- return;
}
}
- [o_mi_revealInFinder setEnabled: NO];
- [o_mm_mi_revealInFinder setEnabled: NO];
if( [[VLCMain sharedInstance] isPlaylistCollapsed] == NO )
{
More information about the vlc-devel
mailing list