split long lines
This commit is contained in:
parent
b5c16525c9
commit
f3c4486ac1
15
src/disco.py
15
src/disco.py
|
@ -759,7 +759,8 @@ _('Without a connection, you can not browse available services'))
|
|||
# We can't travel anywhere else.
|
||||
self.destroy()
|
||||
dialogs.ErrorDialog(_('The service could not be found'),
|
||||
_('There is no service at the address you entered, or it is not responding. Check the address and try again.'))
|
||||
_('There is no service at the address you entered, or it is not responding. '
|
||||
'Check the address and try again.'))
|
||||
return
|
||||
klass = self.cache.get_browser(identities, features)
|
||||
if not klass:
|
||||
|
@ -1871,8 +1872,7 @@ class MucBrowser(AgentBrowser):
|
|||
|
||||
for bookmark in gajim.connections[self.account].bookmarks:
|
||||
if bookmark['jid'] == bm['jid']:
|
||||
dialogs.ErrorDialog(
|
||||
_('Bookmark already set'),
|
||||
dialogs.ErrorDialog( _('Bookmark already set'),
|
||||
_('Group Chat "%s" is already in your bookmarks.') % bm['jid'])
|
||||
return
|
||||
|
||||
|
@ -2067,7 +2067,8 @@ class DiscussionGroupsBrowser(AgentBrowser):
|
|||
self.subscribe_button = None
|
||||
self.unsubscribe_button = None
|
||||
|
||||
gajim.connections[account].send_pb_subscription_query(jid, self._on_pep_subscriptions)
|
||||
gajim.connections[account].send_pb_subscription_query(jid,
|
||||
self._on_pep_subscriptions)
|
||||
|
||||
def _create_treemodel(self):
|
||||
"""
|
||||
|
@ -2238,7 +2239,8 @@ class DiscussionGroupsBrowser(AgentBrowser):
|
|||
|
||||
groupnode = model.get_value(iter_, 1) # 1 = groupnode
|
||||
|
||||
gajim.connections[self.account].send_pb_subscribe(self.jid, groupnode, self._on_pep_subscribe, groupnode)
|
||||
gajim.connections[self.account].send_pb_subscribe(self.jid, groupnode,
|
||||
self._on_pep_subscribe, groupnode)
|
||||
|
||||
def on_unsubscribe_button_clicked(self, widget):
|
||||
"""
|
||||
|
@ -2249,7 +2251,8 @@ class DiscussionGroupsBrowser(AgentBrowser):
|
|||
|
||||
groupnode = model.get_value(iter_, 1) # 1 = groupnode
|
||||
|
||||
gajim.connections[self.account].send_pb_unsubscribe(self.jid, groupnode, self._on_pep_unsubscribe, groupnode)
|
||||
gajim.connections[self.account].send_pb_unsubscribe(self.jid, groupnode,
|
||||
self._on_pep_unsubscribe, groupnode)
|
||||
|
||||
def _on_pep_subscriptions(self, conn, request):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue