[meld] Invalidate the whole gdk.Window of linkmap more simply
- From: Kai Willadsen <kaiw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [meld] Invalidate the whole gdk.Window of linkmap more simply
- Date: Fri, 9 Oct 2009 21:56:52 +0000 (UTC)
commit ef4f3fa52f2b2cc862366350d4aa8717f0bb5d4d
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Sep 27 06:40:27 2009 +1000
Invalidate the whole gdk.Window of linkmap more simply
meld/filediff.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 31bb507..a2a1e9e 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1014,9 +1014,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
master = 1
for lm in self.linkmap:
if lm.window:
- alloc = lm.get_allocation()
- rect = gdk.Rectangle(0, 0, alloc.width, alloc.height)
- lm.window.invalidate_rect(rect, True)
+ lm.window.invalidate_rect(None, True)
lm.window.process_updates(True)
self._sync_vscroll_lock = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]