[Xfce4-commits] <xfce4-panel:devel> Make the selected panel color red.
Nick Schermer
nick at xfce.org
Tue Aug 11 20:32:30 CEST 2009
Updating branch refs/heads/devel
to 37b04b103bb7c56272defbb69fa786b290d641f3 (commit)
from f13550e7427ac28eed2d3f34729737715b1bed52 (commit)
commit 37b04b103bb7c56272defbb69fa786b290d641f3
Author: Nick Schermer <nick at xfce.org>
Date: Sun May 24 13:33:06 2009 +0200
Make the selected panel color red.
panel/panel-base-window.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c
index 16c36b2..57f3682 100644
--- a/panel/panel-base-window.c
+++ b/panel/panel-base-window.c
@@ -361,9 +361,8 @@ panel_base_window_expose_event (GtkWidget *widget,
if (G_UNLIKELY (priv->active_timeout_id != 0))
{
- /* set black color, no alpha */
- color = &(widget->style->dark[GTK_STATE_SELECTED]);
- panel_util_set_source_rgba (cr, color, 1.00);
+ /* red color, no alpha */
+ cairo_set_source_rgb (cr, 1.00, 0.00, 0.00);
/* set dash based on time (odd/even) */
g_get_current_time (&timeval);
More information about the Xfce4-commits
mailing list