aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
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;
}