[gtk+/multitouch: 118/124] iconview: Set background on the widget's window
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/multitouch: 118/124] iconview: Set background on the widget's window
- Date: Tue, 24 Jan 2012 11:35:15 +0000 (UTC)
commit 8d2c10e0b072bfcee4ef294bd8fae1d629657394
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jan 12 03:02:55 2012 +0100
iconview: Set background on the widget's window
The widget window is usually covered by the bin_window,
this is just necessary so the parent scrolled window
picks the right color for drawing the overshoot area.
gtk/gtkiconview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 90069fc..0b2c1b4 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -1302,6 +1302,7 @@ gtk_icon_view_realize (GtkWidget *widget)
gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW);
gtk_style_context_set_background (context, icon_view->priv->bin_window);
+ gtk_style_context_set_background (context, window);
gtk_style_context_restore (context);
gdk_window_show (icon_view->priv->bin_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]