[meld] Fix pygtk 2.16 incompatiblity
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix pygtk 2.16 incompatiblity
- Date: Fri, 1 Mar 2013 19:49:23 +0000 (UTC)
commit 6119a1841ff7da9bec72f974860dfb0ab030db54
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 2 05:45:52 2013 +1000
Fix pygtk 2.16 incompatiblity
meld/filediff.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 2010e31..36220c1 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1452,7 +1452,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
buf.data.writable = writable
self.recompute_label()
index = self.textbuffer.index(buf)
- self.readonlytoggle[index].set_visible(not writable)
+ self.readonlytoggle[index].props.visible = not writable
self.set_buffer_editable(buf, writable)
def set_buffer_modified(self, buf, yesno):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]