nothing
This commit is contained in:
parent
4b4bc7c2df
commit
58d243417b
|
@ -497,7 +497,7 @@ class GroupchatWindow(chat.Chat):
|
|||
return # don't print the command
|
||||
|
||||
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()
|
||||
if len(splitted_text_after_msg_command) >= 2: #dont accept /msg foo
|
||||
nicks = self.get_nick_list(room_jid)
|
||||
|
|
|
@ -218,7 +218,7 @@ class Systray:
|
|||
win = self.plugin.roster.window
|
||||
if event.button == 1: # Left click
|
||||
if len(self.jids) == 0:
|
||||
if win.flags() & gtk.VISIBLE:
|
||||
if win.get_property('visible'):
|
||||
win.hide()
|
||||
else:
|
||||
win.present()
|
||||
|
|
Loading…
Reference in New Issue