aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);