fix a traceback
This commit is contained in:
parent
c77387346c
commit
99cb7e175f
|
@ -646,12 +646,12 @@ class GroupchatWindow(chat.Chat):
|
||||||
'banner_name_label')
|
'banner_name_label')
|
||||||
# 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'))
|
||||||
|
|
||||||
banner_eventbox = self.xmls[room_jid].get_widget(
|
xm = gtk.glade.XML(GTKGUI_GLADE, 'gc_banner_eventbox', APP)
|
||||||
'banner_name_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')
|
||||||
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))
|
||||||
|
|
||||||
# connect the menuitems to their respective functions
|
# connect the menuitems to their respective functions
|
||||||
xm = gtk.glade.XML(GTKGUI_GLADE, 'gc_actions_menu', APP)
|
xm = gtk.glade.XML(GTKGUI_GLADE, 'gc_actions_menu', APP)
|
||||||
|
|
|
@ -8167,7 +8167,7 @@ Custom</property>
|
||||||
<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>
|
<child>
|
||||||
<widget class="GtkEventBox" id="banner_name_eventbox">
|
<widget class="GtkEventBox" id="gc_banner_eventbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="visible_window">True</property>
|
<property name="visible_window">True</property>
|
||||||
<property name="above_child">False</property>
|
<property name="above_child">False</property>
|
||||||
|
|
Loading…
Reference in New Issue