From f7d2b33404f9b13df59833c647c750809fdb4985 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 23 Feb 2005 01:29:37 +0000 Subject: Unset size request if the fixed toolbar is present. That way we don't 2005-02-23 Christian Persch * 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. --- ChangeLog | 7 +++++++ lib/egg/egg-editable-toolbar.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index bb0cf7976..c2da27d2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-23 Christian Persch + + * 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 * lib/egg/egg-editable-toolbar.c: (toolbar_removed_cb): 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); } } -- cgit v1.2.3