Merge pull request #42 from JosephMcc/fullscreen-tabs
ui: Don't hide the main notebook tabs in fullscreen
This commit is contained in:
commit
cfd631779e
|
@ -3954,9 +3954,6 @@ _xed_window_fullscreen (XedWindow *window)
|
|||
|
||||
/* Go to fullscreen mode and hide bars */
|
||||
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);
|
||||
|
||||
|
@ -3986,7 +3983,6 @@ _xed_window_unfullscreen (XedWindow *window)
|
|||
/* Unfullscreen and show bars */
|
||||
gtk_window_unfullscreen (&window->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);
|
||||
|
||||
action = gtk_action_group_get_action (window->priv->always_sensitive_action_group, "ViewToolbar");
|
||||
|
|
Loading…
Reference in New Issue