Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-08 08:56:12 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-08 08:56:12 (GMT)
commit51ce8abdef7a9af0ebef554e4b2904f45f8d747e (patch)
tree25caea2cf55aea1504add5bfc141d401796cce6d /shell
parent1d297b33763da2de065d2ef6caad90bb1d8904a5 (diff)
Adapt to new color constants.
Diffstat (limited to 'shell')
-rw-r--r--shell/view/clipboardicon.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py
index a47104d..2e60e36 100644
--- a/shell/view/clipboardicon.py
+++ b/shell/view/clipboardicon.py
@@ -73,9 +73,9 @@ class ClipboardIcon(CanvasIcon):
self._selected = selected
if selected:
if not self._hover:
- self.props.background_color = style.COLOR_PANEL_GREY.get_int()
+ self.props.background_color = style.COLOR_SELECTION_GREY.get_int()
else:
- self.props.background_color = style.COLOR_TOOLBAR_GREY.get_int()
+ self.props.background_color = style.COLOR_PANEL_GREY.get_int()
def set_state(self, name, percent, icon_name, preview, activity):
cb_service = clipboardservice.get_instance()
@@ -107,11 +107,11 @@ class ClipboardIcon(CanvasIcon):
def prelight(self, enter):
if enter:
self._hover = True
- self.props.background_color = color.BLACK.get_int()
+ self.props.background_color = style.COLOR_BLACK.get_int()
else:
self._hover = False
if self._selected:
- self.props.background_color = color.DESKTOP_BACKGROUND.get_int()
+ self.props.background_color = style.COLOR_SELECTION_GREY.get_int()
else:
- self.props.background_color = color.TOOLBAR_BACKGROUND.get_int()
+ self.props.background_color = style.COLOR_PANEL_GREY.get_int()