This commit is contained in:
Nikos Kouremenos 2005-06-19 13:12:21 +00:00
parent 4b4bc7c2df
commit 58d243417b
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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()