[egaz] prevent GTK Warning about color. Fixes #5035
This commit is contained in:
parent
07d552b656
commit
428a0c8eba
|
@ -381,7 +381,7 @@ class PreferencesWindow:
|
|||
|
||||
# Default Status messages
|
||||
self.default_msg_tree = self.xml.get_widget('default_msg_treeview')
|
||||
col2 = self.default_msg_tree.rc_get_style().bg[gtk.STATE_ACTIVE]
|
||||
col2 = self.default_msg_tree.rc_get_style().bg[gtk.STATE_ACTIVE].to_string()
|
||||
# (status, translated_status, message, enabled)
|
||||
model = gtk.ListStore(str, str, str, bool)
|
||||
self.default_msg_tree.set_model(model)
|
||||
|
|
Loading…
Reference in New Issue