From 6af3c44893efa811187f5b0b33405698537e2054 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sat, 23 Jun 2007 20:07:25 +0200 Subject: [PATCH] Use xo colors in clipboard icons. --- shell/view/clipboardicon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py index 31110eab..0483248a 100644 --- a/shell/view/clipboardicon.py +++ b/shell/view/clipboardicon.py @@ -57,6 +57,7 @@ class ClipboardIcon(CanvasIcon): self.props.box_width = units.grid_to_pixels(1) self.props.box_height = units.grid_to_pixels(1) self.props.scale = units.STANDARD_ICON_SCALE + self.props.xo_color = XoColor(profile.get_color().to_string()) self._menu = None def do_set_property(self, pspec, value): @@ -113,7 +114,7 @@ class ClipboardIcon(CanvasIcon): if (activity or installable) and percent < 100: self.props.xo_color = XoColor("#000000,#424242") else: - self.props.xo_color = XoColor("#000000,#FFFFFF") + self.props.xo_color = XoColor(profile.get_color().to_string()) def _open_file(self): if self._percent < 100: