Index: egg/egg-editable-toolbar.c
===================================================================
RCS file: /cvs/gnome/epiphany/lib/egg/egg-editable-toolbar.c,v
retrieving revision 1.91
diff -u -r1.91 egg-editable-toolbar.c
--- egg/egg-editable-toolbar.c	28 Mar 2006 20:06:55 -0000	1.91
+++ egg/egg-editable-toolbar.c	29 May 2006 19:08:42 -0000
@@ -532,6 +534,9 @@
   EggEditableToolbar *etoolbar = EGG_EDITABLE_TOOLBAR
     (gtk_widget_get_ancestor (GTK_WIDGET (item), EGG_TYPE_EDITABLE_TOOLBAR));
 
+  if (GTK_WIDGET(item)->parent == NULL)
+    return;
+
   if (etoolbar->priv->edit_mode > 0)
     {
       gtk_widget_set_sensitive (GTK_WIDGET (item), TRUE);
