diff --git a/data/glade/message_window.glade b/data/glade/message_window.glade
index d4678bfd3..56a2c3d74 100644
--- a/data/glade/message_window.glade
+++ b/data/glade/message_window.glade
@@ -18,6 +18,7 @@
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NORTH_WEST
True
+ False
@@ -662,23 +663,51 @@ Status message
False
-
+
True
- <span weight="heavy" size="large">room jid</span>
+ False
+ 0
+
+
+
+ True
+ 0.5
+ 0.5
+ 0
+ 0
+
+
+ 5
+ False
+ False
+
+
+
+
+
+ True
+ <span weight="heavy" size="large">room jid</span>
topic
- False
- True
- GTK_JUSTIFY_LEFT
- False
- False
- 0.0500000007451
- 0.5
- 6
- 6
- PANGO_ELLIPSIZE_NONE
- -1
- False
- 0
+ False
+ True
+ GTK_JUSTIFY_LEFT
+ False
+ False
+ 0.0500000007451
+ 0.5
+ 6
+ 6
+ PANGO_ELLIPSIZE_NONE
+ -1
+ False
+ 0
+
+
+ 0
+ True
+ True
+
+
diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 3d81a68f3..1fcf12701 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -417,6 +417,21 @@ class GroupchatControl(ChatControlBase):
for nick in gajim.contacts.get_nick_list(self.account, self.room_jid):
self.draw_contact(nick)
+ def _update_banner_state_image(self):
+ banner_status_img = self.xml.get_widget('gc_banner_status_image')
+ images = gajim.interface.roster.jabber_state_images
+ if images.has_key('32') and images['32'].has_key('muc_active'):
+ muc_icon = images['32']['muc_active']
+ if muc_icon.get_storage_type() != gtk.IMAGE_EMPTY:
+ pix = muc_icon.get_pixbuf()
+ banner_status_img.set_from_pixbuf(pix)
+ return
+ # we need to scale 16x16 to 32x32
+ muc_icon = images['16']['muc_active']
+ pix = muc_icon.get_pixbuf()
+ scaled_pix = pix.scale_simple(32, 32, gtk.gdk.INTERP_BILINEAR)
+ banner_status_img.set_from_pixbuf(scaled_pix)
+
def prepare_context_menu(self):
'''sets compact view menuitem active state
sets sensitivity state for configure_room'''