Skip to content
Snippets Groups Projects
Commit 5420d570 authored by nkour's avatar nkour
Browse files

removing a change that was not on purpose

parent d46e6002
No related branches found
No related tags found
No related merge requests found
......@@ -582,14 +582,14 @@ class Roster_window:
account = model.get_value(iter, 4)
user = self.contacts[account][jid][0]
menu = gtk.Menu()
item = gtk.MenuItem(_('Log _on'))
item = gtk.MenuItem(_('_Log on'))
show = self.contacts[account][jid][0].show
if show != 'offline' and show != 'error':
item.set_sensitive(False)
menu.append(item)
item.connect('activate', self.on_agent_logging, jid, 'available', account)
item = gtk.MenuItem(_('Log o_ff'))
item = gtk.MenuItem(_('Log _off'))
if show == 'offline' or show == 'error':
item.set_sensitive(False)
menu.append(item)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment