fix tabulation and 80 char width
This commit is contained in:
parent
3f06402f3d
commit
1951dd4f3d
1 changed files with 12 additions and 12 deletions
|
@ -1058,7 +1058,7 @@ 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() +
|
self.contact.jid, self.account, self.contact.get_shown_name() + \
|
||||||
'.jpeg')
|
'.jpeg')
|
||||||
self.handlers[id] = menuitem
|
self.handlers[id] = menuitem
|
||||||
menu.append(menuitem)
|
menu.append(menuitem)
|
||||||
|
@ -1621,8 +1621,8 @@ class ChatControl(ChatControlBase):
|
||||||
send_file_menuitem.set_sensitive(False)
|
send_file_menuitem.set_sensitive(False)
|
||||||
|
|
||||||
# check if it's possible to convert to groupchat
|
# check if it's possible to convert to groupchat
|
||||||
if gajim.get_transport_name_from_jid(jid) or gajim.connections[self.account].\
|
if gajim.get_transport_name_from_jid(jid) or \
|
||||||
is_zeroconf:
|
gajim.connections[self.account].is_zeroconf:
|
||||||
convert_to_gc_menuitem.set_sensitive(False)
|
convert_to_gc_menuitem.set_sensitive(False)
|
||||||
|
|
||||||
# add_to_roster_menuitem
|
# add_to_roster_menuitem
|
||||||
|
|
Loading…
Add table
Reference in a new issue