[evolution] Bug 645825 - Search bar not changing color when showing results



commit f2a4427777d4f59e1216bbce44770f0aa3174025
Author: Dan Vrátil <dvartil redhat com>
Date:   Thu Apr 28 15:44:51 2011 -0400

    Bug 645825 - Search bar not changing color when showing results

 shell/e-shell-searchbar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index 7a0f3c7..cf2f6ef 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]