This commit is contained in:
Jean-Marie Traissard 2006-11-08 02:32:49 +00:00
parent 2e1e5ab218
commit 72ae44ec0c
1 changed files with 2 additions and 1 deletions

View File

@ -941,7 +941,8 @@ class ChatControl(ChatControlBase):
menuitem = gtk.ImageMenuItem(gtk.STOCK_SAVE_AS) menuitem = gtk.ImageMenuItem(gtk.STOCK_SAVE_AS)
id = menuitem.connect('activate', id = menuitem.connect('activate',
gtkgui_helpers.on_avatar_save_as_menuitem_activate, gtkgui_helpers.on_avatar_save_as_menuitem_activate,
self.contact.jid, self.account, self.contact.get_shown_name() +\ '.jpeg') self.contact.jid, self.account, self.contact.get_shown_name() + \
'.jpeg')
self.handlers[id] = menuitem self.handlers[id] = menuitem
menu.append(menuitem) menu.append(menuitem)
menu.show_all() menu.show_all()