Commit dd7b5f12 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed some ui bugs, which sneaked in recently

parent 734e6179
......@@ -424,7 +424,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
else
{
[o_playlist_table setHidden: NO];
[o_video_view setHidden: NO];
[o_video_view setHidden: ![[VLCMain sharedInstance] activeVideoPlayback]];
}
}
......@@ -669,7 +669,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
if ([o_url isFileURL])
[self setRepresentedURL: o_url];
else
[self setRepresentedURL: [NSURL URLWithString:@""]];
[self setRepresentedURL: nil];
free( uri );
if ([aString isEqualToString:@""])
......@@ -686,7 +686,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
else
{
[self setTitle: _NS("VLC media player")];
[self setRepresentedURL: [NSURL URLWithString: @""]];
[self setRepresentedURL: nil];
}
[o_pool release];
}
......@@ -1150,6 +1150,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
}
[self setAlphaValue: 0.0];
[self orderFront: self];
[[o_video_view window] orderFront: self];
[o_fspanel setNonActive: nil];
......
......@@ -314,7 +314,7 @@ static int Control (vout_display_t *vd, int query, va_list ap)
}
case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
{
[[sys->glView window] performSelectorOnMainThread:@selector(performZoom:) withObject: nil waitUntilDone:NO];
[[sys->glView window] performSelectorOnMainThread:@selector(zoom:) withObject: nil waitUntilDone:NO];
return VLC_SUCCESS;
}
case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
......
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