diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-02-23 09:23:19 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-02-23 09:23:19 +0800 |
commit | 21041225ab82f2e13a12f163189110df03c2a598 (patch) | |
tree | 01e7367470335fe7dfbd2180c309eb388db48a5f | |
parent | bb539d648e80733ebc5eac54dec76344a399195a (diff) | |
download | gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.gz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.bz2 gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.lz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.xz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.zst gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.zip |
Unparent the fixed toolbar before destroying the dock.
2005-02-23 Christian Persch <chpe@cvs.gnome.org>
* lib/egg/egg-editable-toolbar.c: (toolbar_removed_cb):
Unparent the fixed toolbar before destroying the dock.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | lib/egg/egg-editable-toolbar.c | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2005-02-23 Christian Persch <chpe@cvs.gnome.org> + * lib/egg/egg-editable-toolbar.c: (toolbar_removed_cb): + + Unparent the fixed toolbar before destroying the dock. + +2005-02-23 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_update_visibility), (ephy_fullscreen_popup_constructor): diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 58a9c67b2..cd802d6d0 100755 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -837,6 +837,11 @@ toolbar_removed_cb (EggToolbarsModel *model, { GtkWidget *toolbar; + if (position == 0 && t->priv->fixed_toolbar != NULL) + { + unparent_fixed (t); + } + toolbar = get_dock_nth (t, position); gtk_widget_destroy (toolbar); |