hamster-applet r787 - trunk/hamster
- From: tbaugis svn gnome org
- To: svn-commits-list gnome org
- Subject: hamster-applet r787 - trunk/hamster
- Date: Mon, 23 Feb 2009 00:15:24 +0000 (UTC)
Author: tbaugis
Date: Mon Feb 23 00:15:23 2009
New Revision: 787
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=787&view=rev
Log:
replaced fill_preserve with fill
Modified:
trunk/hamster/charting.py
Modified: trunk/hamster/charting.py
==============================================================================
--- trunk/hamster/charting.py (original)
+++ trunk/hamster/charting.py Mon Feb 23 00:15:23 2009
@@ -298,7 +298,7 @@
if self.background:
self.context.rectangle(0, 0, self.width, self.height)
self.context.set_source_rgb(*self.background)
- self.context.fill_preserve()
+ self.context.fill()
self.context.stroke()
#forward to specific implementations
@@ -331,7 +331,7 @@
def _fill_area(self, x, y, w, h, color):
self.context.rectangle(x, y, w, h)
self.context.set_source_rgb(*[c / 256.0 for c in color])
- self.context.fill_preserve()
+ self.context.fill()
self.context.stroke()
def _draw_bar(self, x, y, w, h, color = None):
@@ -597,7 +597,7 @@
self.context.set_source_rgb(0.93, 0.93, 0.93)
self.context.rectangle(x + w, graph_y, w, graph_height)
- self.context.fill_preserve()
+ self.context.fill()
self.context.stroke()
self.context.set_source_rgb(0.70, 0.70, 0.70)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]