changeset 489337d34567 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=489337d34567 description: fix traceback with Gtk3.6
diffstat:
src/gui_interface.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 4dbcf5ad36ef -r 489337d34567 src/gui_interface.py --- a/src/gui_interface.py Sat Jan 05 10:09:15 2013 +0100 +++ b/src/gui_interface.py Sat Jan 05 10:38:39 2013 +0100 @@ -1932,7 +1932,8 @@ # Calculate the side lenght of the popup to make it a square size = int(round(math.sqrt(len(self.emoticons_images)))) for image in self.emoticons_images: - item = Gtk.MenuItem() + # In Gtk 3.6, Gtk.MenuItem() doesn't contain a label child + item = Gtk.MenuItem('q') img = Gtk.Image() if isinstance(image[1], GdkPixbuf.PixbufAnimation): img.set_from_animation(image[1])