Respect menubar visibility when restoring from fullscreen
This commit is contained in:
parent
7f0563f5f4
commit
dc5ecc5f72
1 changed files with 2 additions and 1 deletions
|
@ -3269,7 +3269,8 @@ midori_browser_window_state_event_cb (MidoriBrowser* browser,
|
|||
}
|
||||
else
|
||||
{
|
||||
gtk_widget_show (browser->menubar);
|
||||
if (katze_object_get_boolean (browser->settings, "show-menubar"))
|
||||
gtk_widget_show (browser->menubar);
|
||||
gtk_widget_hide (browser->button_fullscreen);
|
||||
g_object_set (browser->button_fullscreen,
|
||||
"stock-id", GTK_STOCK_FULLSCREEN, NULL);
|
||||
|
|
Loading…
Reference in a new issue