From 6d30138e80a8bafd1d56e9602de2aa2da87b4127 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Wed, 7 Feb 2007 08:49:13 +0000 Subject: [PATCH] fix call to self --- src/gajim.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 565092e4b..94365cf69 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1572,7 +1572,7 @@ class Interface: # block signed in notifications for 30 seconds gajim.block_signed_in_notifications[account] = True self.roster.actions_menu_needs_rebuild = True - if gajim.interface.sleeper.getState() != common.sleepy.STATE_UNKNOWN and \ + if self.sleeper.getState() != common.sleepy.STATE_UNKNOWN and \ gajim.connections[account].connected in (2, 3): # we go online or free for chat, so we activate auto status gajim.sleeper_state[account] = 'online' @@ -1846,8 +1846,8 @@ class Interface: self.emoticon_menuitem_clicked = None counter = 0 # Calculate the side lenght of the popup to make it a square - size = int(round(math.sqrt(len(gajim.interface.emoticons_images)))) - for image in gajim.interface.emoticons_images: + size = int(round(math.sqrt(len(self.emoticons_images)))) + for image in self.emoticons_images: item = gtk.MenuItem() img = gtk.Image() if type(image[1]) == gtk.gdk.PixbufAnimation: