fix call to self
This commit is contained in:
parent
3c63525447
commit
6d30138e80
|
@ -1572,7 +1572,7 @@ class Interface:
|
||||||
# block signed in notifications for 30 seconds
|
# block signed in notifications for 30 seconds
|
||||||
gajim.block_signed_in_notifications[account] = True
|
gajim.block_signed_in_notifications[account] = True
|
||||||
self.roster.actions_menu_needs_rebuild = 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):
|
gajim.connections[account].connected in (2, 3):
|
||||||
# we go online or free for chat, so we activate auto status
|
# we go online or free for chat, so we activate auto status
|
||||||
gajim.sleeper_state[account] = 'online'
|
gajim.sleeper_state[account] = 'online'
|
||||||
|
@ -1846,8 +1846,8 @@ class Interface:
|
||||||
self.emoticon_menuitem_clicked = None
|
self.emoticon_menuitem_clicked = None
|
||||||
counter = 0
|
counter = 0
|
||||||
# Calculate the side lenght of the popup to make it a square
|
# Calculate the side lenght of the popup to make it a square
|
||||||
size = int(round(math.sqrt(len(gajim.interface.emoticons_images))))
|
size = int(round(math.sqrt(len(self.emoticons_images))))
|
||||||
for image in gajim.interface.emoticons_images:
|
for image in self.emoticons_images:
|
||||||
item = gtk.MenuItem()
|
item = gtk.MenuItem()
|
||||||
img = gtk.Image()
|
img = gtk.Image()
|
||||||
if type(image[1]) == gtk.gdk.PixbufAnimation:
|
if type(image[1]) == gtk.gdk.PixbufAnimation:
|
||||||
|
|
Loading…
Reference in New Issue