aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index ff7e55d15..12986e71e 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -648,7 +648,12 @@ static void
toolbar_editor_destroy_cb (GtkWidget *tbe,
Toolbar *t)
{
+ GtkWidget *window;
+
+ window = gtk_widget_get_toplevel (GTK_WIDGET (t));
+
egg_editable_toolbar_set_edit_mode (EGG_EDITABLE_TOOLBAR (t), FALSE);
+ ephy_window_update_all_controls (EPHY_WINDOW (window));
}
static void