aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-02-12 16:41:11 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-02-12 16:41:11 +0800
commiteed15ba5ab24d540f9cb5eb94d9e4741820fe57b (patch)
tree36a31b0b0988c14d9c31f6d1681411153ed01c12 /widgets/misc
parent926736b638341588610efb1f264c9dbae93ff66d (diff)
downloadgsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar.gz
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar.bz2
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar.lz
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar.xz
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.tar.zst
gsoc2013-evolution-eed15ba5ab24d540f9cb5eb94d9e4741820fe57b.zip
Fixes bug #368983
svn path=/trunk/; revision=33203
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog6
-rw-r--r--widgets/misc/e-filter-bar.c12
2 files changed, 17 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 7763bc034a..f9479b5c11 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,5 +1,11 @@
2007-02-12 Srinivasa Ragavan <sragavan@novell.com>
+ ** Fix for bug #368983 from Ebby Wiselyn
+
+ * e-filter-bar.c: (menubar_activated):
+
+2007-02-12 Srinivasa Ragavan <sragavan@novell.com>
+
** Print migration updates from Ebby Wiselyn
* e-printable.c: (e_printable_print_page), (e_printable_height),
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 807c0e707a..49abd260e2 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -280,7 +280,17 @@ menubar_activated (ESearchBar *esb, int id, void *data)
efb->setquery = TRUE;
e_search_bar_set_item_id (esb, E_FILTERBAR_ADVANCED_ID);
efb->setquery = FALSE;
-
+
+ /* saved searches activated */
+ GtkStyle *style = gtk_widget_get_default_style ();
+ efb->setquery = TRUE;
+ gtk_widget_modify_base (esb->entry , GTK_STATE_NORMAL, &(style->base[GTK_STATE_SELECTED] ));
+ gtk_widget_modify_text (esb->entry, GTK_STATE_NORMAL, &(style->text [GTK_STATE_SELECTED] ));
+ gtk_widget_modify_base (esb->icon_entry, GTK_STATE_NORMAL, &(style->base [GTK_STATE_SELECTED] ));
+ gtk_widget_modify_base (esb->viewoption, GTK_STATE_NORMAL, &(style->base [GTK_STATE_SELECTED] ));
+ e_search_bar_set_text (esb,_("Advanced Search"));
+ g_signal_emit_by_name (efb, "search_activated", NULL);
+ efb->setquery = FALSE;
} else {
return;
}