Change gc tab icon when we lose the room connection.

Thanks to Heather Gilmore, my wife, for grey-scaling the image. :-*
This commit is contained in:
Travis Shirk 2006-01-25 02:57:11 +00:00
parent a63132500b
commit 2b956ec93c
12 changed files with 5 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

View File

@ -269,8 +269,10 @@ class GroupchatControl(ChatControlBase):
if self.attention_flag and gajim.config.get('show_unread_tab_icon'):
tab_image = img_16['message']
else:
tab_image = img_16['muc_active']
if gajim.gc_connected[self.account][self.room_jid]:
tab_image = img_16['muc_active']
else:
tab_image = img_16['muc_inactive']
return tab_image
def update_ui(self):

View File

@ -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',
'dnd', 'invisible', 'offline', 'error', 'requested',
'message', 'opened', 'closed', 'Not in Roster',
'muc_active'):
'muc_active', 'muc_inactive'):
# try to open a pixfile with the correct method
state_file = state.replace(' ', '_')