colors by rgb names

This commit is contained in:
Nikos Kouremenos 2005-09-05 00:08:52 +00:00
parent eda58198e2
commit 1f9fcd4d14
2 changed files with 9 additions and 7 deletions

View File

@ -216,12 +216,14 @@ class Config:
'bannertextcolor': [ opt_color, '#ffffff' ],
'bannerbgcolor': [ opt_color, '#000000' ],
'state_unread_color': [ opt_color, '#000000' ],
'state_active_color': [ opt_color, '#000000' ],
'state_inactive_color': [ opt_color, '#9e9e9e' ],
'state_composing_color': [ opt_color, '#008b00' ],
'state_paused_color': [ opt_color, '#0000cd' ],
'state_gone_color': [ opt_color, '#bebebe' ],
# http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html
# FIXME: not black but the default color from gtk+ theme
'state_unread_color': [ opt_color, 'black' ],
'state_active_color': [ opt_color, 'black' ],
'state_inactive_color': [ opt_color, 'grey62' ],
'state_composing_color': [ opt_color, 'green4' ],
'state_paused_color': [ opt_color, 'mediumblue' ],
'state_gone_color': [ opt_color, 'grey' ],
}, {}),
}

View File

@ -797,7 +797,7 @@ class PopupNotificationWindow:
txt = self.jid
event_description_label.set_text(txt)
# set colors [ http://www.w3schools.com/html/html_colornames.asp ]
# set colors [ http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html ]
self.window.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse('black'))
if event_type == _('Contact Signed In'):