From 6875382e67b91ba3724e7f96592e2ec2dd063dfb Mon Sep 17 00:00:00 2001 From: "Benedikt P." Date: Fri, 14 Jan 2011 17:36:04 +0100 Subject: [PATCH] Bug 953957 - Unable to tell if a MUC is connected, r=florian. --- im/content/conversation.xml | 56 ++++++++++++++++++++---------------- im/themes/chat-left-16.png | Bin 0 -> 556 bytes im/themes/instantbird.css | 4 +++ im/themes/jar.mn | 2 ++ 4 files changed, 38 insertions(+), 24 deletions(-) create mode 100644 im/themes/chat-left-16.png diff --git a/im/content/conversation.xml b/im/content/conversation.xml index 87beb5e5c2..640c8ca9ac 100644 --- a/im/content/conversation.xml +++ b/im/content/conversation.xml @@ -942,30 +942,38 @@ - + @@ -992,9 +1000,8 @@ this.addBuddy(n); this.updateParticipantCount(); } - else - this.updateBuddyStatus(); + this.updateConvStatus(); this.initTextboxFormat(); ]]> @@ -1030,7 +1037,8 @@ break; case "update-buddy-status": - this.updateBuddyStatus(); + case "update-conv-chatleft": + this.updateConvStatus(); break; case "update-conv-title": diff --git a/im/themes/chat-left-16.png b/im/themes/chat-left-16.png new file mode 100644 index 0000000000000000000000000000000000000000..e4f2f1dfc999c1e0ccaf32ad9b454ccdf21112fc GIT binary patch literal 556 zcmV+{0@MA8P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01ejw01ejxLMWSf00007bV*G`2ipM- z4ht4^ELmRw00FE?L_t(I%au~iisC>RtnLUZ=mX>l#N%ED83@XTJ(#!fAqG0=A>tto z`yRU|WluZ7>xwIR1HA>~ddXq%U^;2jy_YedtFto&1z-PsRnWgl*ffZ5w%>BZ?yIc00JP z%Y5JGgfXT^qtQRn;yA`^Hp5^rfMFQO^StEYa6k|QDos<1o+B%zF1TDS(d+d<2!Rly zWSXYXTBFr!Q2 .menu-iconic-left > .menu-iconic-icon { list-style-image: url("chrome://instantbird/skin/chat-16.png") !important; } +.tabbrowser-tab[chat][status="left"] > .tab-icon-image, +.alltabs-item[chat][status="left"] > .menu-iconic-left > .menu-iconic-icon { + list-style-image: url("chrome://instantbird/skin/chat-left-16.png") !important; +} .tabbrowser-tab[status="offline"] > .tab-icon-image, .alltabs-item[status="offline"] > .menu-iconic-left > .menu-iconic-icon { diff --git a/im/themes/jar.mn b/im/themes/jar.mn index 6f9daf019f..cb8a05d95e 100644 --- a/im/themes/jar.mn +++ b/im/themes/jar.mn @@ -26,6 +26,7 @@ instantbird.jar: skin/classic/instantbird/typed-16.png skin/classic/instantbird/unknown-16.png skin/classic/instantbird/chat-16.png + skin/classic/instantbird/chat-left-16.png skin/classic/instantbird/founder.png skin/classic/instantbird/operator.png skin/classic/instantbird/half-operator.png @@ -119,6 +120,7 @@ instantbird.jar: skin/classic/aero/instantbird/typed-16.png skin/classic/aero/instantbird/unknown-16.png skin/classic/aero/instantbird/chat-16.png + skin/classic/aero/instantbird/chat-left-16.png skin/classic/aero/instantbird/founder.png skin/classic/aero/instantbird/operator.png skin/classic/aero/instantbird/half-operator.png