aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-23 09:23:19 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-23 09:23:19 +0800
commit21041225ab82f2e13a12f163189110df03c2a598 (patch)
tree01e7367470335fe7dfbd2180c309eb388db48a5f
parentbb539d648e80733ebc5eac54dec76344a399195a (diff)
downloadgsoc2013-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--ChangeLog6
-rwxr-xr-xlib/egg/egg-editable-toolbar.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d1d98517..bb0cf7976 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);