~jconti/recent-notifications/trunk

« back to all changes in this revision

Viewing changes to unity/RoundedWidgets.py

  • Committer: Jason Conti
  • Date: 2011-04-25 20:05:41 UTC
  • Revision ID: jason.conti@gmail.com-20110425200541-fsnj07k0ydlhovsw
Added theme support. User themes are stored in ~/.config/recent-notifications/themes/, see themes/default for the proper format. The desired theme is set with the theme property in ~/.config/recent-notifications/preferences. Still need to add support for acquiring the colors from the system gtk theme.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  def __init__(self, radius = 10):
48
48
    GObject.GObject.__init__(self)
49
49
 
50
 
    self._color = Color("#ccc")
 
50
    self._color = Color("#fff")
51
51
    self._radius = radius
52
52
 
53
53
    self.set_double_buffered(False)