nothing
This commit is contained in:
parent
4b4bc7c2df
commit
58d243417b
|
@ -497,7 +497,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
return # don't print the command
|
return # don't print the command
|
||||||
|
|
||||||
elif message.startswith('/msg '): #eg. /msg fooman hello man what's up
|
elif message.startswith('/msg '): #eg. /msg fooman hello man what's up
|
||||||
text_after_msg_command = message[5:].strip()
|
text_after_msg_command = message[5:].strip() # 5 is len('/msg ')
|
||||||
splitted_text_after_msg_command = text_after_msg_command.split()
|
splitted_text_after_msg_command = text_after_msg_command.split()
|
||||||
if len(splitted_text_after_msg_command) >= 2: #dont accept /msg foo
|
if len(splitted_text_after_msg_command) >= 2: #dont accept /msg foo
|
||||||
nicks = self.get_nick_list(room_jid)
|
nicks = self.get_nick_list(room_jid)
|
||||||
|
|
|
@ -218,7 +218,7 @@ class Systray:
|
||||||
win = self.plugin.roster.window
|
win = self.plugin.roster.window
|
||||||
if event.button == 1: # Left click
|
if event.button == 1: # Left click
|
||||||
if len(self.jids) == 0:
|
if len(self.jids) == 0:
|
||||||
if win.flags() & gtk.VISIBLE:
|
if win.get_property('visible'):
|
||||||
win.hide()
|
win.hide()
|
||||||
else:
|
else:
|
||||||
win.present()
|
win.present()
|
||||||
|
|
Loading…
Reference in New Issue