ui: Don't hide the main notebook tabs in fullscreen

Not sure why this was being done but keep the open tabs visible when swithcing
to fullscreen so you can still access all open tabs
This commit is contained in:
JosephMcc 2016-10-06 11:20:12 -07:00
parent bafaeaca98
commit 14c5bc1a99
1 changed files with 9 additions and 13 deletions

View File

@ -3929,9 +3929,6 @@ _xed_window_fullscreen (XedWindow *window)
/* Go to fullscreen mode and hide bars */ /* Go to fullscreen mode and hide bars */
gtk_window_fullscreen (&window->window); gtk_window_fullscreen (&window->window);
gtk_notebook_set_show_tabs (GTK_NOTEBOOK(window->priv->notebook), FALSE);
g_signal_connect(window->priv->notebook, "notify::show-tabs",
G_CALLBACK (hide_notebook_tabs_on_fullscreen), window);
gtk_widget_hide (window->priv->menubar); gtk_widget_hide (window->priv->menubar);
@ -3961,7 +3958,6 @@ _xed_window_unfullscreen (XedWindow *window)
/* Unfullscreen and show bars */ /* Unfullscreen and show bars */
gtk_window_unfullscreen (&window->window); gtk_window_unfullscreen (&window->window);
g_signal_handlers_disconnect_by_func (window->priv->notebook, hide_notebook_tabs_on_fullscreen, window); g_signal_handlers_disconnect_by_func (window->priv->notebook, hide_notebook_tabs_on_fullscreen, window);
gtk_notebook_set_show_tabs (GTK_NOTEBOOK(window->priv->notebook), TRUE);
gtk_widget_show (window->priv->menubar); gtk_widget_show (window->priv->menubar);
action = gtk_action_group_get_action (window->priv->always_sensitive_action_group, "ViewToolbar"); action = gtk_action_group_get_action (window->priv->always_sensitive_action_group, "ViewToolbar");