From: Christian Dywan Date: Tue, 10 Jul 2012 17:39:48 +0000 (+0200) Subject: Don't set background on suggestions on Win32 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a6bc50d0a6608cde790f19a57d247730e51d242;p=midori Don't set background on suggestions on Win32 The color from the native theme is wrong. --- diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 0778463f..d10e41b9 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -397,7 +397,9 @@ midori_location_action_add_search_engines (MidoriLocationAction* action, icon = midori_search_action_get_icon (item, action->treeview, NULL, FALSE); gtk_list_store_insert_with_values (store, NULL, matches + i, URI_COL, uri, TITLE_COL, desc, YALIGN_COL, 0.25, + #ifndef G_OS_WIN32 BACKGROUND_COL, style ? &style->bg[GTK_STATE_NORMAL] : NULL, + #endif STYLE_COL, 1, FAVICON_COL, icon, -1); g_free (uri); g_free (title); @@ -411,7 +413,9 @@ midori_location_action_add_search_engines (MidoriLocationAction* action, gtk_list_store_insert_with_values (store, NULL, matches + i, URI_COL, "about:search", TITLE_COL, _("Search with…"), YALIGN_COL, 0.25, + #ifndef G_OS_WIN32 BACKGROUND_COL, style ? &style->bg[GTK_STATE_NORMAL] : NULL, + #endif STYLE_COL, 1, FAVICON_COL, NULL, -1); i++; break;