diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-04 12:07:51 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-04-04 12:07:51 +0000 |
commit | 3ca1d8940066de44946f0645b12476ead082b09c (patch) | |
tree | 195d645e27a73867770a0b30cbad8f6171fb7ba3 /packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch | |
parent | 3a88290f931baa6feda702c9d5ab7948f8dc1ba1 (diff) |
gtk+: Apply patch to 2.6.10 to allow background images in iconview styles.
Diffstat (limited to 'packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch')
-rw-r--r-- | packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch b/packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch new file mode 100644 index 0000000000..039440f933 --- /dev/null +++ b/packages/gtk+/gtk+-2.6.10/gtk+-2.6.10-bg.patch @@ -0,0 +1,20 @@ +diff -ur gtk+-2.8.20/gtk/gtkiconview.c gtk+-2.8.20-new/gtk/gtkiconview.c +--- gtk+-2.8.20/gtk/gtkiconview.c 2006-04-11 20:44:15.000000000 +0200 ++++ gtk+-2.8.20-new/gtk/gtkiconview.c 2007-01-03 20:20:26.000000000 +0100 +@@ -899,9 +899,14 @@ + gdk_window_set_user_data (icon_view->priv->bin_window, widget); + + widget->style = gtk_style_attach (widget->style, widget->window); +- gdk_window_set_background (icon_view->priv->bin_window, &widget->style->base[widget->state]); ++/* gdk_window_set_background (icon_view->priv->bin_window, &widget->style->base[widget->state]); + gdk_window_set_background (widget->window, &widget->style->base[widget->state]); +- ++*/ ++printf("realize iconview\n"); ++// gdk_window_set_back_pixmap(widget->window, NULL, FALSE); ++// gdk_window_set_back_pixmap(icon_view->priv->bin_window, NULL, FALSE); ++ gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL); ++ gtk_style_set_background (widget->style, icon_view->priv->bin_window, GTK_STATE_NORMAL); + gdk_window_show (icon_view->priv->bin_window); + } + |