mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:29:01 +02:00
21 lines
720 B
Diff
21 lines
720 B
Diff
--- gtk+-2.6.4/gtk/gtkprogress.c 2004-10-28 18:00:04.000000000 +0300
|
|
+++ gtk+-2.6.4/gtk/gtkprogress.c 2005-04-06 16:19:37.066903336 +0300
|
|
@@ -371,6 +371,17 @@
|
|
widget->allocation.width,
|
|
widget->allocation.height,
|
|
-1);
|
|
+
|
|
+ /* OSSO addition : clear the pixmap first or transparent images
|
|
+ * painted on top of it may look stupid when it's blended against
|
|
+ * random memory.*/
|
|
+ gtk_paint_flat_box (widget->style,
|
|
+ progress->offscreen_pixmap,
|
|
+ GTK_STATE_NORMAL,
|
|
+ GTK_SHADOW_NONE,
|
|
+ NULL, widget, NULL,
|
|
+ 0, 0, widget->allocation.width, widget->allocation.height);
|
|
+
|
|
GTK_PROGRESS_GET_CLASS (progress)->paint (progress);
|
|
}
|
|
}
|