[hamster-applet] kind of fixed artifacts on redraw
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] kind of fixed artifacts on redraw
- Date: Sat, 13 Jun 2009 18:39:21 -0400 (EDT)
commit 7e21cc6f95d29a712545fada2a62358388327660
Author: Toms Bauģis <toms baugis gmail com>
Date: Sat Jun 13 23:37:14 2009 +0100
kind of fixed artifacts on redraw
hamster/graphics.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/hamster/graphics.py b/hamster/graphics.py
index 805aebb..96b0eb6 100644
--- a/hamster/graphics.py
+++ b/hamster/graphics.py
@@ -52,8 +52,7 @@ class Area(gtk.DrawingArea):
def redraw_canvas(self):
"""Force graph redraw"""
if self.window: #this can get called before expose
- alloc = self.get_allocation()
- self.queue_draw_area(alloc.x, alloc.y, alloc.width, alloc.height)
+ self.queue_draw()
self.window.process_updates(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]