aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-10 03:42:56 +0800
committerDan Winship <danw@src.gnome.org>2002-04-10 03:42:56 +0800
commit4ebf5cbd15d1f75f96bd34061f2d538bc1c11907 (patch)
treed9ed165d1221008451b9028cbd04129b3d55dab5 /widgets
parent574ee58b9604a66ec48bedb385dc15acb0e44ae9 (diff)
downloadgsoc2013-evolution-4ebf5cbd15d1f75f96bd34061f2d538bc1c11907.tar.gz
gsoc2013-evolution-4ebf5cbd15d1f75f96bd34061f2d538bc1c11907.tar.zst
gsoc2013-evolution-4ebf5cbd15d1f75f96bd34061f2d538bc1c11907.zip
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
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-search-bar.c6
2 files changed, 11 insertions, 3 deletions
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 <danw@ximian.com>
+
+ * 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 <danw@ximian.com>
* 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);