fix a traceback

This commit is contained in:
Nikos Kouremenos 2005-07-07 22:22:13 +00:00
parent 0acf9c168c
commit 4240fd7ecc
1 changed files with 2 additions and 1 deletions

View File

@ -751,7 +751,8 @@ class RosterWindow:
menu = gtk.Menu()
item = gtk.ImageMenuItem(_('_Log on'))
icon = gtk.image_new_from_stock(icon)
icon = gtk.image_new_from_stock(gtk.STOCK_YES, gtk.ICON_SIZE_MENU)
item.set_image(icon)
menu.append(item)
show = self.contacts[account][jid][0].show
if show != 'offline' and show != 'error':