From 58d243417bde89c13be163d4d0140794c3dc794c Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 19 Jun 2005 13:12:21 +0000 Subject: [PATCH] nothing --- src/groupchat_window.py | 2 +- src/systray.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index c2fff2885..53e26561a 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -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) diff --git a/src/systray.py b/src/systray.py index 771e0745e..819a15db8 100644 --- a/src/systray.py +++ b/src/systray.py @@ -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()