Commit 0d5f65de authored by David Fuhrmann's avatar David Fuhrmann

macosx: update fullscreen menu item checkbox according to vout fullscreen variable

parent c046b5ce
...@@ -1356,15 +1356,14 @@ static VLCMainMenu *_o_sharedInstance = nil; ...@@ -1356,15 +1356,14 @@ static VLCMainMenu *_o_sharedInstance = nil;
if ([o_title isEqualToString: _NS("Float on Top")]) if ([o_title isEqualToString: _NS("Float on Top")])
[o_mi setState: var_GetBool(p_vout, "video-on-top")]; [o_mi setState: var_GetBool(p_vout, "video-on-top")];
bEnabled = TRUE; if ([o_title isEqualToString: _NS("Fullscreen")])
[o_mi setState: var_GetBool(p_vout, "fullscreen")];
bEnabled = TRUE;
vlc_object_release(p_vout); vlc_object_release(p_vout);
} }
} }
if ([o_title isEqualToString: _NS("Fullscreen")]) {
[o_mi setState: var_GetBool(p_playlist, "fullscreen")];
bEnabled = TRUE;
}
[self setupMenus]; /* Make sure video menu is up to date */ [self setupMenus]; /* Make sure video menu is up to date */
} }
......
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