aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-04 01:34:46 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-04 01:34:46 +0800
commit7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63 (patch)
treee333fea9463ca0e7ff332f18a369b0057b17d525 /src/window-commands.c
parent3f4726c21f495297332c5cedae66e636ba88a1a0 (diff)
downloadgsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar.gz
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar.bz2
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar.lz
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar.xz
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.tar.zst
gsoc2013-epiphany-7b8bbf8cb9b28e181a33b2ef49cbe991c8a4dc63.zip
Hide view menus in the xml, not working.
2003-05-03 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * data/ui/epiphany-history-window-ui.xml.in: Hide view menus in the xml, not working. * src/window-commands.c: (toolbar_editor_destroy_cb): Update ui after tb editing, so location is not lost.
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