aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-23 09:29:37 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-23 09:29:37 +0800
commitf7d2b33404f9b13df59833c647c750809fdb4985 (patch)
tree8f742e6bfcbb5d9e7880fe01042061646ff95149
parent21041225ab82f2e13a12f163189110df03c2a598 (diff)
downloadgsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar.gz
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar.bz2
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar.lz
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar.xz
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.tar.zst
gsoc2013-epiphany-f7d2b33404f9b13df59833c647c750809fdb4985.zip
Unset size request if the fixed toolbar is present. That way we don't
2005-02-23 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (update_fixed): Unset size request if the fixed toolbar is present. That way we don't truncate the 0th toolbar when it only contains the spinner.
-rw-r--r--ChangeLog7
-rwxr-xr-xlib/egg/egg-editable-toolbar.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bb0cf7976..c2da27d2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-02-23 Christian Persch <chpe@cvs.gnome.org>
+ * lib/egg/egg-editable-toolbar.c: (update_fixed):
+
+ Unset size request if the fixed toolbar is present. That way
+ we don't truncate the 0th toolbar when it only contains the spinner.
+
+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.
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index cd802d6d0..aeaccbdbf 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -807,6 +807,9 @@ update_fixed (EggEditableToolbar *t)
gtk_box_pack_end (GTK_BOX (dock), toolbar, FALSE, TRUE, 0);
gtk_widget_show (toolbar);
+
+ gtk_widget_set_size_request (dock, -1, -1);
+ gtk_widget_queue_resize_no_redraw (dock);
}
}