[egaz] prevent GTK Warning about color. Fixes #5035

This commit is contained in:
Yann Leboulanger 2009-05-19 14:34:57 +02:00
parent 07d552b656
commit 428a0c8eba
1 changed files with 1 additions and 1 deletions

View File

@ -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)