aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-07 03:55:50 +0800
committerDan Winship <danw@src.gnome.org>2002-04-07 03:55:50 +0800
commit5be9af3b1397813d56b7760ad241b8fd3ccfcff3 (patch)
treec00738ae749343702e476b22c57915a84937ccdf
parentf3a6f0a3a40690bea6ccf3ac47c8d2b1a473e68d (diff)
downloadgsoc2013-evolution-5be9af3b1397813d56b7760ad241b8fd3ccfcff3.tar.gz
gsoc2013-evolution-5be9af3b1397813d56b7760ad241b8fd3ccfcff3.tar.zst
gsoc2013-evolution-5be9af3b1397813d56b7760ad241b8fd3ccfcff3.zip
Construct the buttons earlier so that the option-menu-setup code that
* e-search-bar.c (e_search_bar_construct): Construct the buttons earlier so that the option-menu-setup code that tries to adjust the button sensitivity won't fail and g_warn. svn path=/trunk/; revision=16375
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-search-bar.c10
2 files changed, 11 insertions, 5 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 19488aafa3..57b293741c 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-08 Dan Winship <danw@ximian.com>
+
+ * e-search-bar.c (e_search_bar_construct): Construct the buttons
+ earlier so that the option-menu-setup code that tries to adjust
+ the button sensitivity won't fail and g_warn.
+
2002-04-06 JP Rosevear <jpr@ximian.com>
* e-multi-config-dialog.c (e_multi_config_dialog_show_page): show
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index f0b667d6b1..85a72d8ba6 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -832,6 +832,11 @@ 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));
+
e_search_bar_set_menu (search_bar, menu_items);
search_bar->entry_box = gtk_hbox_new (0, FALSE);
@@ -841,11 +846,6 @@ e_search_bar_construct (ESearchBar *search_bar,
gtk_widget_show (search_bar->entry_box);
gtk_box_pack_start (GTK_BOX(search_bar), search_bar->entry_box, TRUE, TRUE, 0);
- 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));
-
/*
* If the default choice for the option menu has subitems, then we need to
* activate the search immediately. However, the developer won't have
t/cgit.cgi/freebsd-ports-gnome/commit/security/nss?h=mate-1.16&id=c8fbbee51c204e6334e28a46c123b08144b79b25'>Fix security/nss plistrodrigo2014-11-012-0/+2 * - Update Firefox to 33.0beat2014-10-153-6/+4 * Upgrade to 3.17.1des2014-09-252-4/+3 * Update nss to 3.17bapt2014-09-092-8/+10 * Update to 3.16.3bapt2014-08-044-47/+7 * Apply vendor patch to fix race condition in certificate verificationdelphij2014-07-232-1/+31 * - Chase database/sqlite3 slib bumpmiwi2014-06-281-0/+1 * - Update Firefox to 30.0beat2014-06-112-3/+3 * Convert all :U to :tu and :L to :tlbapt2014-05-051-1/+1 * - Update Firefox to 29.0beat2014-04-30