Change gc tab icon when we lose the room connection.
Thanks to Heather Gilmore, my wife, for grey-scaling the image. :-*
BIN
data/iconsets/crystal/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/dcraven/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/gnome/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/gossip/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/gota/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/jabberbulb/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/nuvola/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/simplebulb/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/stellar/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
data/iconsets/sun/16x16/muc_inactive.png
Normal file
After Width: | Height: | Size: 807 B |
|
@ -269,8 +269,10 @@ class GroupchatControl(ChatControlBase):
|
||||||
if self.attention_flag and gajim.config.get('show_unread_tab_icon'):
|
if self.attention_flag and gajim.config.get('show_unread_tab_icon'):
|
||||||
tab_image = img_16['message']
|
tab_image = img_16['message']
|
||||||
else:
|
else:
|
||||||
|
if gajim.gc_connected[self.account][self.room_jid]:
|
||||||
tab_image = img_16['muc_active']
|
tab_image = img_16['muc_active']
|
||||||
|
else:
|
||||||
|
tab_image = img_16['muc_inactive']
|
||||||
return tab_image
|
return tab_image
|
||||||
|
|
||||||
def update_ui(self):
|
def update_ui(self):
|
||||||
|
|
|
@ -2208,7 +2208,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
for state in ('connecting', 'online', 'chat', 'away', 'xa',
|
for state in ('connecting', 'online', 'chat', 'away', 'xa',
|
||||||
'dnd', 'invisible', 'offline', 'error', 'requested',
|
'dnd', 'invisible', 'offline', 'error', 'requested',
|
||||||
'message', 'opened', 'closed', 'Not in Roster',
|
'message', 'opened', 'closed', 'Not in Roster',
|
||||||
'muc_active'):
|
'muc_active', 'muc_inactive'):
|
||||||
|
|
||||||
# try to open a pixfile with the correct method
|
# try to open a pixfile with the correct method
|
||||||
state_file = state.replace(' ', '_')
|
state_file = state.replace(' ', '_')
|
||||||
|
|