As Octavian Voicu reported, the patch lets skencil start, but the the actual 
bug is just prevented from raising an exception.  The intended file menu is 
repeated thrice.  Skencil does work, but the bug isn't fixed.

But it can be fixed with tiny patch found on:
https://bugs.launchpad.net/ubuntu/+source/skencil/+bug/361636/comments/4
apparently reported by <wolfseyn AT usermail.com>
apparently provided by maxim-s-barabash

It just changes 2 lines in /usr/lib/skencil/Sketch/UI/tkext.py:

:/usr/lib/skencil # diff -au Sketch/UI/tkext.py.dpkg-dist Sketch/UI/tkext.py
--- Sketch/UI/tkext.py.dpkg-dist 2009-07-16 14:52:36.000000000 +0100
+++ Sketch/UI/tkext.py           2009-12-03 17:44:31.000000000 +0000
@@ -365,7 +365,7 @@
     def RebuildMenu(self):
        if self.entries is not None:
            try:
-               self.menu.delete(0, END)
+               self.menu.tk.call(self.menu._w, 'delete', 0, END)
            except:
                warn_tb(INTERNAL, 'Delete failed (bug #524554)')
        if self.rebuild_func is not None:
@@ -378,7 +378,7 @@
 
     def SetEntries(self, entries):
        if self.entries is not None:
-           self.menu.delete(0, END)
+           self.menu.tk.call(self.menu._w, 'delete', 0, END)
            for entry in self.entries:
                entry.clean_up()
        self.entries = entries

Regards, e.





-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to