aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Vrátil <dvartil@redhat.com>2011-04-29 03:44:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-04-29 03:46:06 +0800
commitf2a4427777d4f59e1216bbce44770f0aa3174025 (patch)
treef7d73ef89d365e255281d6c1bfe4abc1caa47c3b
parent708e9df1629dfcb42f9888f04e3c8bfc65ce5a0e (diff)
downloadgsoc2013-evolution-f2a4427777d4f59e1216bbce44770f0aa3174025.tar.gz
gsoc2013-evolution-f2a4427777d4f59e1216bbce44770f0aa3174025.tar.zst
gsoc2013-evolution-f2a4427777d4f59e1216bbce44770f0aa3174025.zip
Bug 645825 - Search bar not changing color when showing results
-rw-r--r--shell/e-shell-searchbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 7a0f3c7d42..cf2f6ef1ee 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -246,11 +246,11 @@ shell_searchbar_update_search_widgets (EShellSearchbar *searchbar)
style = gtk_widget_get_style (widget);
color = &style->mid[GTK_STATE_SELECTED];
- gtk_widget_modify_base (widget, GTK_STATE_NORMAL, color);
+ gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, color);
gtk_widget_modify_text (widget, GTK_STATE_NORMAL, NULL);
} else {
/* Text color will be updated when we move the focus. */
- gtk_widget_modify_base (widget, GTK_STATE_NORMAL, NULL);
+ gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, NULL);
}
action = E_SHELL_WINDOW_ACTION_SEARCH_CLEAR (shell_window);