[evolution/gnome-3-0] Bug 645825 - Search bar not changing color when showing results
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-0] Bug 645825 - Search bar not changing color when showing results
- Date: Thu, 28 Apr 2011 19:47:53 +0000 (UTC)
commit be1d8abb555f686ecf8c7f4fa79f85ff86b6e135
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
(cherry picked from commit f2a4427777d4f59e1216bbce44770f0aa3174025)
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]