From 33b9218ba1183f82c7ab416dd71178b9df5740af Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 25 Jan 2006 23:47:15 +0000 Subject: [PATCH] do not hardcode white in roster themes --- src/common/config.py | 16 ++++++++-------- src/roster_window.py | 3 +-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/common/config.py b/src/common/config.py index 1fb852b38..553a52906 100644 --- a/src/common/config.py +++ b/src/common/config.py @@ -369,20 +369,20 @@ class Config: themes_default = { # sorted alphanum - _('green'): [ '#ffffff', '#94aa8c', '', 'B', '#0000ff', '#eff3e7', - '', 'I', '#000000', '#ffffff', '', '', '#ffffff', + _('green'): [ '', '#94aa8c', '', 'B', '#0000ff', '#eff3e7', + '', 'I', '#000000', '', '', '', '', '#94aa8c' ], - _('grocery'): [ '#ffffff', '#6bbe18', '', 'B', '#12125a', '#ceefad', - '', 'I', '#000000', '#efb26b', '', '', '#ffffff', + _('grocery'): [ '', '#6bbe18', '', 'B', '#12125a', '#ceefad', + '', 'I', '#000000', '#efb26b', '', '', '', '#108abd' ], - _('human'): [ '#ffffff', '#996442', '', 'B', '#ab5920', '#e3ca94', - '', 'I', '#000000', '#ffffff', '', '', '#ffffff', + _('human'): [ '', '#996442', '', 'B', '#ab5920', '#e3ca94', + '', 'I', '#000000', '', '', '', '', '#996442' ], - _('marine'): [ '#ffffff', '#918caa', '', 'B', '#0000ff', '#e9e7f3', - '', 'I', '#000000', '#ffffff', '', '', '#ffffff', + _('marine'): [ '', '#918caa', '', 'B', '', '#e9e7f3', + '', 'I', '#000000', '', '', '', '', '#918caa' ], _('plain'): [ '', '', '', 'B', '', '','', 'I', '', '', '', '', '','' ], diff --git a/src/roster_window.py b/src/roster_window.py index ea35e5343..508d4cbbb 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1245,8 +1245,7 @@ class RosterWindow: event_button = self.get_possible_button_event(event) - menu.popup(None, self.tree, None, event_button, - event.time) + menu.popup(None, self.tree, None, event_button, event.time) menu.show_all() def on_add_to_roster(self, widget, contact, account):