fix some typo in comments
This commit is contained in:
parent
1cbb9ad3fb
commit
53a974114a
|
@ -764,7 +764,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
||||||
else:
|
else:
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
self.on_purpose = False
|
self.on_purpose = False
|
||||||
# END disconenctedReconnCB
|
# END disconnectedReconnCB
|
||||||
|
|
||||||
def _connection_lost(self):
|
def _connection_lost(self):
|
||||||
log.debug('_connection_lost')
|
log.debug('_connection_lost')
|
||||||
|
|
|
@ -556,7 +556,7 @@ class ConnectionPEP(object):
|
||||||
def send_activity(self, activity, subactivity=None, message=None):
|
def send_activity(self, activity, subactivity=None, message=None):
|
||||||
if self.connected == 1:
|
if self.connected == 1:
|
||||||
# We are connecting, keep activity in mem and send it when we'll be
|
# We are connecting, keep activity in mem and send it when we'll be
|
||||||
# conencted
|
# connected
|
||||||
self.to_be_sent_activity = (activity, subactivity, message)
|
self.to_be_sent_activity = (activity, subactivity, message)
|
||||||
return
|
return
|
||||||
if not self.pep_supported:
|
if not self.pep_supported:
|
||||||
|
@ -581,7 +581,7 @@ class ConnectionPEP(object):
|
||||||
def send_mood(self, mood, message=None):
|
def send_mood(self, mood, message=None):
|
||||||
if self.connected == 1:
|
if self.connected == 1:
|
||||||
# We are connecting, keep mood in mem and send it when we'll be
|
# We are connecting, keep mood in mem and send it when we'll be
|
||||||
# conencted
|
# connected
|
||||||
self.to_be_sent_mood = (mood, message)
|
self.to_be_sent_mood = (mood, message)
|
||||||
return
|
return
|
||||||
if not self.pep_supported:
|
if not self.pep_supported:
|
||||||
|
@ -605,7 +605,7 @@ class ConnectionPEP(object):
|
||||||
items=None):
|
items=None):
|
||||||
if self.connected == 1:
|
if self.connected == 1:
|
||||||
# We are connecting, keep tune in mem and send it when we'll be
|
# We are connecting, keep tune in mem and send it when we'll be
|
||||||
# conencted
|
# connected
|
||||||
self.to_be_sent_tune = (artist, title, source, track, length, items)
|
self.to_be_sent_tune = (artist, title, source, track, length, items)
|
||||||
return
|
return
|
||||||
if not self.pep_supported:
|
if not self.pep_supported:
|
||||||
|
@ -640,7 +640,7 @@ class ConnectionPEP(object):
|
||||||
def send_nickname(self, nick):
|
def send_nickname(self, nick):
|
||||||
if self.connected == 1:
|
if self.connected == 1:
|
||||||
# We are connecting, keep nick in mem and send it when we'll be
|
# We are connecting, keep nick in mem and send it when we'll be
|
||||||
# conencted
|
# connected
|
||||||
self.to_be_sent_nick = nick
|
self.to_be_sent_nick = nick
|
||||||
return
|
return
|
||||||
if not self.pep_supported:
|
if not self.pep_supported:
|
||||||
|
@ -659,7 +659,7 @@ class ConnectionPEP(object):
|
||||||
def send_location(self, info):
|
def send_location(self, info):
|
||||||
if self.connected == 1:
|
if self.connected == 1:
|
||||||
# We are connecting, keep location in mem and send it when we'll be
|
# We are connecting, keep location in mem and send it when we'll be
|
||||||
# conencted
|
# connected
|
||||||
self.to_be_sent_location = info
|
self.to_be_sent_location = info
|
||||||
return
|
return
|
||||||
if not self.pep_supported:
|
if not self.pep_supported:
|
||||||
|
|
|
@ -5716,7 +5716,7 @@ class RosterWindow:
|
||||||
Bring up the conference join dialog, when CTRL+J accelerator is being
|
Bring up the conference join dialog, when CTRL+J accelerator is being
|
||||||
activated
|
activated
|
||||||
"""
|
"""
|
||||||
# find a conencted account:
|
# find a connected account:
|
||||||
for account in gajim.connections:
|
for account in gajim.connections:
|
||||||
if gajim.account_is_connected(account):
|
if gajim.account_is_connected(account):
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue