diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-11-17 23:57:42 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2011-12-03 23:16:44 +0800 |
commit | aec912b5fc328171d989963421a6ceed0d8c6f03 (patch) | |
tree | 87a4f9862aafd75355b0084490953cf5cf50fd75 /src/ephy-window.c | |
parent | 77ec3ecef9ac6d3d298b6ddd2f38bfebe3da7174 (diff) | |
download | gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.gz gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.bz2 gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.lz gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.xz gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.tar.zst gsoc2013-epiphany-aec912b5fc328171d989963421a6ceed0d8c6f03.zip |
Remove toolbar editor
The UI is gone, but the infrastructure still persists
(EggToolbarModel, etc). Further cleanups are possible.
https://bugzilla.gnome.org/show_bug.cgi?id=664260
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 151862439..3dcf58f47 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -189,9 +189,6 @@ static const GtkActionEntry ephy_menu_entries [] = { /* View menu */ - { "ViewToolbarEditor", NULL, N_("_Customize Toolbars…"), NULL, - N_("Customize toolbars"), - G_CALLBACK (window_cmd_edit_toolbar) }, { "ViewStop", GTK_STOCK_STOP, N_("_Stop"), "Escape", N_("Stop current data transfer"), G_CALLBACK (window_cmd_view_stop) }, @@ -810,7 +807,6 @@ sync_chromes_visibility (EphyWindow *window) { EphyWindowPrivate *priv = window->priv; GtkWidget *menubar; - GtkAction *action; gboolean show_menubar, show_toolbar, show_tabsbar; if (priv->closing) return; @@ -826,19 +822,6 @@ sync_chromes_visibility (EphyWindow *window) g_object_set (priv->toolbar, "visible", show_toolbar, NULL); ephy_notebook_set_show_tabs (EPHY_NOTEBOOK (priv->notebook), show_tabsbar); - - action = gtk_action_group_get_action (priv->action_group, "ViewToolbarEditor"); - - if (priv->fullscreen_popup != NULL) - { - g_object_set (priv->fullscreen_popup, "visible", !show_toolbar, NULL); - - ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, TRUE); - } - else - { - ephy_action_change_sensitivity_flags (action, SENS_FLAG_CHROME, !show_toolbar); - } } static void |