Public bug reported:

Binary package hint: revelation

It would be really helpful if this was to be moved to an annotated
patch:

--- revelation-0.4.11.orig/src/lib/ui.py
+++ revelation-0.4.11/src/lib/ui.py
@@ -1257,8 +1257,9 @@
        def __init__(self, stock, text = None):
                gtk.ImageMenuItem.__init__(self, stock)

-               self.label = self.get_children()[0]
-               self.image = self.get_children()[1]
+               children=self.get_children()
+               if len(children) > 0 : self.label = children[0]
+               if len(children) > 1 : self.image = children[1]

                if text is not None:
                        self.set_text(text)

** Affects: revelation (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: packaging

-- 
revelation_0.4.11-3.1ubuntu2.diff.gz changes source code directly
https://bugs.launchpad.net/bugs/362788
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to