From 762f80cbd252829f95e3e42e8e8db0b0affd4012 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 13 Dec 2007 01:13:51 +0000
Subject: [PATCH] remove a windows GTK workarround. it's fixed in gtk2.12.3
 (maybe before too)

---
 src/statusicon.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/statusicon.py b/src/statusicon.py
index 2b26fd9990..4a49f86698 100644
--- a/src/statusicon.py
+++ b/src/statusicon.py
@@ -22,7 +22,6 @@
 import sys
 import gtk
 import systray
-import gobject
 
 from common import gajim
 from common import helpers
@@ -60,7 +59,7 @@ class StatusIcon(systray.Systray):
 		self.unsubscribe_events()
 
 	def on_status_icon_left_clicked(self, widget):
-		gobject.idle_add(self.on_left_click)
+		self.on_left_click()
 
 	def set_img(self):
 		'''apart from image, we also update tooltip text here'''
-- 
GitLab