diff options
author | Dan Vrátil <dvartil@redhat.com> | 2011-04-29 03:44:51 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:03 +0800 |
commit | 6bff39e1d6023e07f160824ada520e1a9b2f1006 (patch) | |
tree | 4e5063dde581c97a51a50101dc52e27a3878e618 | |
parent | 6c76e1ce4ba2500535743de3bb071ca10764b1ca (diff) | |
download | gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar.gz gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar.bz2 gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar.lz gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar.xz gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.tar.zst gsoc2013-evolution-6bff39e1d6023e07f160824ada520e1a9b2f1006.zip |
Bug 645825 - Search bar not changing color when showing results
-rw-r--r-- | 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 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); |