diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-12-15 16:27:34 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-12-15 16:27:34 +0800 |
commit | 32f88d560f6f1789b4dd740327e8765c893e5970 (patch) | |
tree | f290cb109780cb64c1f1e93db09358388b2964d9 /addressbook/gui | |
parent | a95828f5d08145384fcbe7df4c2dccae3e5adee4 (diff) | |
download | gsoc2013-evolution-32f88d560f6f1789b4dd740327e8765c893e5970.tar.gz gsoc2013-evolution-32f88d560f6f1789b4dd740327e8765c893e5970.tar.zst gsoc2013-evolution-32f88d560f6f1789b4dd740327e8765c893e5970.zip |
Added a visual cue to search bar to indicate search filter active.
2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
* Added a visual cue to search bar to indicate search filter
active.
svn path=/trunk/; revision=30781
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/search/e-addressbook-search-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/gui/search/e-addressbook-search-dialog.c b/addressbook/gui/search/e-addressbook-search-dialog.c index 2c66a931e6..3aef919722 100644 --- a/addressbook/gui/search/e-addressbook-search-dialog.c +++ b/addressbook/gui/search/e-addressbook-search-dialog.c @@ -136,10 +136,15 @@ dialog_response (GtkWidget *widget, int response_id, EABSearchDialog *dialog) char *query; if (response_id == GTK_RESPONSE_OK) { + GtkStyle *style = gtk_widget_get_default_style (); + query = get_query(dialog); g_object_set(dialog->view, "query", query, NULL); + gtk_widget_modify_base (dialog->view->search->entry, GTK_STATE_NORMAL, &(style->base[GTK_STATE_SELECTED])); + gtk_widget_modify_text (dialog->view->search->entry, GTK_STATE_NORMAL, &(style->text[GTK_STATE_SELECTED])); + g_free(query); } |