~jconti/recent-notifications/trunk

« back to all changes in this revision

Viewing changes to unity/MessageItem.py

  • Committer: Jason Conti
  • Date: 2011-04-24 20:48:00 UTC
  • Revision ID: jason.conti@gmail.com-20110424204800-znrodggqqte9nvxb
Ported Config.py to the unity app, promoting it to a proper GObject in the process, so value changes are handled by signals instead of calling functions. Adding a basic set of tests for the new Config class. Adding __init__.py to unity to make it a proper module for testing (will need renaming later). Changed the edge radius to 5px for the message icon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    self._hbox.set_border_width(10)
47
47
    self.add(self._hbox)
48
48
 
49
 
    self._image = RoundedIcon()
50
 
    #self._image = Gtk.Image()
51
 
    #self._image.set_alignment(0, 0)
 
49
    self._image = RoundedIcon(radius = 5)
52
50
    self._hbox.pack_start(self._image, False, False, 10)
53
51
    self.update_image()
54
52