#775 Show the activity's creator colors in the donut. (Patch from Dan Winship)
This commit is contained in:
parent
66ea9997cb
commit
501022c88d
1
NEWS
1
NEWS
@ -1,3 +1,4 @@
|
||||
* #775 Show the activity's creator colors in the donut. (danw)
|
||||
* #2185 Do not shutdown on power button, ohm does it now. (marco)
|
||||
* #1888 Choose the correct mime type when adding text from Write to the
|
||||
clipboard. (tomeu)
|
||||
|
@ -115,7 +115,7 @@ class HomeActivity(gobject.GObject):
|
||||
pservice = presenceservice.get_instance()
|
||||
activity = pservice.get_activity(self._activity_id)
|
||||
if activity != None:
|
||||
return XoColor(activity.get_color())
|
||||
return XoColor(activity.props.color)
|
||||
else:
|
||||
return profile.get_color()
|
||||
|
||||
|
@ -47,7 +47,7 @@ class ActivityIcon(CanvasIcon):
|
||||
|
||||
def __init__(self, activity):
|
||||
icon_name = activity.get_icon_name()
|
||||
self._orig_color = profile.get_color()
|
||||
self._orig_color = activity.get_icon_color()
|
||||
self._icon_colors = self._compute_icon_colors()
|
||||
|
||||
self._direction = 0
|
||||
|
Loading…
Reference in New Issue
Block a user