aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-09-20 17:34:12 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-09-20 17:34:12 +0800
commit94584bf0ddd79b1e25953f30790eb5aadfe94da9 (patch)
treed3d12ad5a99f8b577eb75752a1c10214dec86c16
parentf6ce600828b196f96bc6e6d13a7b7e5b1cc99b48 (diff)
downloadgsoc2013-evolution-94584bf0ddd79b1e25953f30790eb5aadfe94da9.tar.gz
gsoc2013-evolution-94584bf0ddd79b1e25953f30790eb5aadfe94da9.tar.zst
gsoc2013-evolution-94584bf0ddd79b1e25953f30790eb5aadfe94da9.zip
Start search on category, when the category is selected.
Fixes #263269. svn path=/trunk/; revision=30361
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-search-bar.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 0ed87f0266..8a8ba84774 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-20 Devashish Sharma <sdevashish@novell.com>
+
+ * e-search-bar.c (subitem_activated_cb): Emits the signal "search
+ activated" when after selecting option "Category is" in search bar
+ category is selected. So dont have to explicitly click "Find Now".
+ Fixes #263269.
+
2005-08-22 Srinivasa Ragavan <sragavan@novell.com>
* e-attachment.c (e_attachment_build_remote_file):
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index d957da1d04..bb74d311ca 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -279,8 +279,9 @@ subitem_activated_cb (GtkWidget *widget, ESearchBar *esb)
esb->item_id = id;
esb->subitem_id = subid;
+ emit_search_activated (esb);
- set_find_now_sensitive (esb, TRUE);
+ set_find_now_sensitive (esb, FALSE);
gtk_widget_grab_focus (esb->entry);
}