diff options
author | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-09-11 15:22:22 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2011-09-12 10:32:44 (GMT) |
commit | 8ac4912b634f5fdb808f616da51b95c61b62f259 (patch) | |
tree | 81330ee60d184f036457ab10254caaeb34b61e4e | |
parent | e5f78a9c89980fbdc80da71179c8af5941991ad2 (diff) |
Make transition box actually work without Hippo
This is to be squashed with 981cbff97ee555b77d27eb0c4731c0d4c0389e2d
Note: the Transition Box is my favorite piece of code in
Sugar. Please, please, please: don't ever remove it.
I just /love/ the 1 pixel bug it has, best thing ever!
-rw-r--r-- | src/jarabe/desktop/transitionbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/desktop/transitionbox.py b/src/jarabe/desktop/transitionbox.py index f490381..ab77e70 100644 --- a/src/jarabe/desktop/transitionbox.py +++ b/src/jarabe/desktop/transitionbox.py @@ -46,11 +46,11 @@ class TransitionBox(gtk.VBox): def __init__(self): gtk.VBox.__init__(self) - # how do you send a message to a VBox about its background? - # self._box.props.background_color = style.COLOR_WHITE.get_int() + self.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse('white')) self._my_icon = BuddyIcon(buddy=get_owner_instance(), size=style.XLARGE_ICON_SIZE) + self._my_icon.show() self.pack_start(self._my_icon) self._animator = animator.Animator(0.3) |