fix missing part of the commit. Fixes #7225
This commit is contained in:
parent
f3caf8b091
commit
94bc66dfab
|
@ -1049,7 +1049,6 @@ def make_jabber_state_images():
|
|||
if (os.path.exists(path)):
|
||||
gajim.interface.jabber_state_images['24'] = load_iconset(path)
|
||||
else:
|
||||
gajim.interface.jabber_state_images['24'] = {}
|
||||
# Resize 32x32 icons to 24x24
|
||||
for each in gajim.interface.jabber_state_images['32']:
|
||||
img = gtk.Image()
|
||||
|
|
|
@ -916,7 +916,7 @@ class Interface:
|
|||
request = obj.stanza.getTag('jingle').getTag('content')\
|
||||
.getTag('description').getTag('request')
|
||||
if request:
|
||||
# If we get a request instead
|
||||
# If we get a request instead
|
||||
return
|
||||
contact = gajim.contacts.get_first_contact_from_jid(account, obj.jid)
|
||||
if helpers.allow_popup_window(account):
|
||||
|
@ -2675,8 +2675,8 @@ class Interface:
|
|||
gajim.thread_interface = ThreadInterface
|
||||
# This is the manager and factory of message windows set by the module
|
||||
self.msg_win_mgr = None
|
||||
self.jabber_state_images = {'16': {}, '32': {}, 'opened': {},
|
||||
'closed': {}}
|
||||
self.jabber_state_images = {'16': {}, '24': {}, '32': {}, 'opened': {},
|
||||
'closed': {}}
|
||||
self.emoticons_menu = None
|
||||
# handler when an emoticon is clicked in emoticons_menu
|
||||
self.emoticon_menuitem_clicked = None
|
||||
|
|
|
@ -118,6 +118,8 @@ class StatusIcon:
|
|||
def on_status_icon_size_changed(self, statusicon, size):
|
||||
if size > 31:
|
||||
self.statusicon_size = '32'
|
||||
elif size > 23:
|
||||
self.statusicon_size = '24'
|
||||
else:
|
||||
self.statusicon_size = '16'
|
||||
if os.environ.get('KDE_FULL_SESSION') == 'true':
|
||||
|
|
Loading…
Reference in New Issue