From 4ebf5cbd15d1f75f96bd34061f2d538bc1c11907 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 9 Apr 2002 19:42:56 +0000 Subject: Oops. The previous change made the search bar widgets get packed in the * e-search-bar.c (e_search_bar_construct, add_button): Oops. The previous change made the search bar widgets get packed in the wrong order. So use gtk_box_pack_end instead in add_button and add the two buttons in reverse order. It's all good now. Noticed by Ettore, who I then promptly blamed for it. Sorry Ettore! svn path=/trunk/; revision=16411 --- widgets/misc/ChangeLog | 8 ++++++++ widgets/misc/e-search-bar.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 57b293741c..432c6954ca 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,11 @@ +2002-04-09 Dan Winship + + * e-search-bar.c (e_search_bar_construct, add_button): Oops. The + previous change made the search bar widgets get packed in the + wrong order. So use gtk_box_pack_end instead in add_button and add + the two buttons in reverse order. It's all good now. Noticed by + Ettore, who I then promptly blamed for it. Sorry Ettore! + 2002-04-08 Dan Winship * e-search-bar.c (e_search_bar_construct): Construct the buttons diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 85a72d8ba6..cbf7984f05 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -627,7 +627,7 @@ add_button (ESearchBar *esb, gtk_signal_connect (GTK_OBJECT (button), "clicked", callback, esb); - gtk_box_pack_start (GTK_BOX (esb), holder, FALSE, FALSE, 1); + gtk_box_pack_end (GTK_BOX (esb), holder, FALSE, FALSE, 1); return button; } @@ -832,10 +832,10 @@ e_search_bar_construct (ESearchBar *search_bar, gtk_box_set_spacing (GTK_BOX (search_bar), 1); - search_bar->activate_button = add_button (search_bar, _("Find Now"), - GTK_SIGNAL_FUNC (activate_button_clicked_cb)); search_bar->clear_button = add_button (search_bar, _("Clear"), GTK_SIGNAL_FUNC (clear_button_clicked_cb)); + search_bar->activate_button = add_button (search_bar, _("Find Now"), + GTK_SIGNAL_FUNC (activate_button_clicked_cb)); e_search_bar_set_menu (search_bar, menu_items); -- cgit v1.2.3