fix bgcolor in gc
This commit is contained in:
parent
99cb7e175f
commit
0fd8735c3b
|
@ -647,8 +647,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
# set the fg colour of the label to white
|
# set the fg colour of the label to white
|
||||||
self.name_labels[room_jid].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse('white'))
|
self.name_labels[room_jid].modify_fg(gtk.STATE_NORMAL, gtk.gdk.color_parse('white'))
|
||||||
|
|
||||||
xm = gtk.glade.XML(GTKGUI_GLADE, 'gc_banner_eventbox', APP)
|
gc_banner_eventbox = self.xmls[room_jid].get_widget('gc_banner_eventbox')
|
||||||
gc_banner_eventbox = xm.get_widget('gc_banner_eventbox')
|
|
||||||
# get the background color from the current theme
|
# get the background color from the current theme
|
||||||
bgcolor = gajim.config.get('accountbgcolor')
|
bgcolor = gajim.config.get('accountbgcolor')
|
||||||
gc_banner_eventbox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(bgcolor))
|
gc_banner_eventbox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(bgcolor))
|
||||||
|
|
|
@ -8166,18 +8166,18 @@ Custom</property>
|
||||||
<signal name="switch_page" handler="on_chat_notebook_switch_page" last_modification_time="Wed, 16 Mar 2005 20:58:25 GMT"/>
|
<signal name="switch_page" handler="on_chat_notebook_switch_page" last_modification_time="Wed, 16 Mar 2005 20:58:25 GMT"/>
|
||||||
<signal name="key_press_event" handler="on_chat_notebook_key_press_event" last_modification_time="Wed, 16 Mar 2005 20:58:38 GMT"/>
|
<signal name="key_press_event" handler="on_chat_notebook_key_press_event" last_modification_time="Wed, 16 Mar 2005 20:58:38 GMT"/>
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkEventBox" id="gc_banner_eventbox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="visible_window">True</property>
|
|
||||||
<property name="above_child">False</property>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkVBox" id="gc_vbox">
|
<widget class="GtkVBox" id="gc_vbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkEventBox" id="gc_banner_eventbox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="visible_window">True</property>
|
||||||
|
<property name="above_child">False</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkLabel" id="banner_name_label">
|
<widget class="GtkLabel" id="banner_name_label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -8193,6 +8193,8 @@ This is the subject.</property>
|
||||||
<property name="xpad">0</property>
|
<property name="xpad">0</property>
|
||||||
<property name="ypad">6</property>
|
<property name="ypad">6</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
</child>
|
||||||
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="padding">3</property>
|
<property name="padding">3</property>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -8685,8 +8687,6 @@ This is the subject.</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="tab_expand">False</property>
|
<property name="tab_expand">False</property>
|
||||||
<property name="tab_fill">True</property>
|
<property name="tab_fill">True</property>
|
||||||
|
|
Loading…
Reference in New Issue