From f2a4427777d4f59e1216bbce44770f0aa3174025 Mon Sep 17 00:00:00 2001 From: Dan Vrátil Date: Thu, 28 Apr 2011 15:44:51 -0400 Subject: Bug 645825 - Search bar not changing color when showing results --- shell/e-shell-searchbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') 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); -- cgit