added our logo
This commit is contained in:
parent
777d96c6b8
commit
64682f8899
|
@ -831,7 +831,7 @@ class account_window:
|
|||
warning_dialog(_('Spaces are not permited in account name'))
|
||||
return 0
|
||||
if (jid == '') or (string.count(jid, '@') != 1):
|
||||
warning_dialog(_('You must enter a Jabber ID for this account\nFor example : login@hostname'))
|
||||
warning_dialog(_('You must enter a Jabber ID for this account\nFor example: someone@someserver.org'))
|
||||
return 0
|
||||
if new_account_checkbutton.get_active() and password == '':
|
||||
warning_dialog(_('You must enter a password to register a new account'))
|
||||
|
|
|
@ -547,7 +547,7 @@ class join_groupchat_window:
|
|||
|
||||
def __init__(self, plugin, account, server='', room = ''):
|
||||
if not plugin.connected[account]:
|
||||
warning_dialog(_('You must be connected to join a group chat on this serveur'))
|
||||
warning_dialog(_('You must be connected to join a group chat on this server'))
|
||||
return
|
||||
self.plugin = plugin
|
||||
self.account = account
|
||||
|
@ -586,7 +586,7 @@ class new_message_window: #FIXME: NOT READY
|
|||
return True
|
||||
|
||||
if not plugin.connected[account]:
|
||||
warning_dialog(_("You must be connected to join a group chat on this serveur"))
|
||||
warning_dialog(_("You must be connected to join a group chat on this server"))
|
||||
return
|
||||
self.plugin = plugin
|
||||
self.account = account
|
||||
|
|
|
@ -1435,7 +1435,6 @@ class roster_window:
|
|||
self.xml.get_widget('add_contact_menuitem').set_sensitive(False)
|
||||
self.xml.get_widget('browse_agents_menuitem').set_sensitive(False)
|
||||
if len(self.plugin.accounts.keys()) > 1: # 2 or more accounts? make submenus
|
||||
|
||||
#add
|
||||
menu_sub = gtk.Menu()
|
||||
self.xml.get_widget('add_contact_menuitem').set_submenu(menu_sub)
|
||||
|
@ -1470,16 +1469,16 @@ class roster_window:
|
|||
menu_sub.show_all()
|
||||
elif len(self.plugin.accounts.keys()) == 1:
|
||||
#add
|
||||
if not self.add_contact_handler_id :
|
||||
if not self.add_contact_handler_id:
|
||||
self.add_contact_handler_id = self.xml.get_widget('add_contact_menuitem').connect(
|
||||
"activate", self.on_add_contact, self.plugin.accounts.keys()[0])
|
||||
#agents
|
||||
if not self.browse_agents_handler_id :
|
||||
if not self.browse_agents_handler_id:
|
||||
self.browse_agents_handler_id = self.xml.get_widget(
|
||||
'browse_agents_menuitem').connect("activate", self.on_browse_agents,
|
||||
self.plugin.accounts.keys()[0])
|
||||
#join_gc
|
||||
if not self.join_gc_handler_id :
|
||||
if not self.join_gc_handler_id:
|
||||
self.join_gc_handler_id = self.xml.get_widget('join_gc_menuitem').connect(
|
||||
"activate", self.on_join_gc, self.plugin.accounts.keys()[0])
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue