The problem seems to be in gtk.ImageMenuItem : the get_children should
return a label and a image but it return only a label in Ubuntu.

In Ubuntu, I do this :
import gtk
Imenu = gtk.ImageMenuItem(gtk.STOCK_MISSING_IMAGE)
children = Imenu.get_children()
print children
[<gtk.AccelLabel object at 0xd9ea00 (GtkAccelLabel at 0xbf7010)>]

In Debian, I do this
import gtk
Imenu = gtk.ImageMenuItem(gtk.STOCK_MISSING_IMAGE)
children = Imenu.get_children()
print children
[<gtk.AccelLabel object at 0xb7d7f6e4 (GtkAccelLabel at 0x8673018)>, <gtk.Image 
object at 0xb7d7f874 (GtkImage at 0x8652570)>]


** Changed in: human-theme (Ubuntu)
       Status: New => Invalid

** Also affects: pygtk (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: screenlets
       Status: New => Invalid

-- 
screenlets-daemon.py crashed with IndexError in __init__()
https://bugs.launchpad.net/bugs/256329
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygtk in ubuntu.

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

Reply via email to