diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2012-09-09 23:54:07 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-11 09:48:01 (GMT) |
commit | 06d3ff07c9f69e131d783f6145d3e744fd1af2b3 (patch) | |
tree | 6fcd07b947eae4ff8c5b7e284efbb3da68de9582 /src | |
parent | e54c3b4ebee7064be29955a85ebb9f9a1dfc9d54 (diff) |
FrameContainer: set color in the theme, SL #3873
Revert FrameContainer change to set the background color in
10d3971f7dc61d5acdf2c9211a9dd4092090d3b7.
This is done in the theme, using the .background class for the
sugar frame window.
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/jarabe/frame/framewindow.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jarabe/frame/framewindow.py b/src/jarabe/frame/framewindow.py index fba9fd8..70c52ae 100644 --- a/src/jarabe/frame/framewindow.py +++ b/src/jarabe/frame/framewindow.py @@ -21,7 +21,7 @@ from gi.repository import cairo from sugar3.graphics import style -class FrameContainer(Gtk.EventBox): +class FrameContainer(Gtk.Bin): """A container class for frame panel rendering. Hosts a child 'box' where frame elements can be added. Excludes grid-sized squares at each end of the frame panel, and a space alongside the inside of the screen where @@ -30,12 +30,9 @@ class FrameContainer(Gtk.EventBox): __gtype_name__ = 'SugarFrameContainer' def __init__(self, position): - Gtk.EventBox.__init__(self) + Gtk.Bin.__init__(self) self._position = position - self.modify_bg(Gtk.StateType.NORMAL, - style.COLOR_BLACK.get_gdk_color()) - if self.is_vertical(): box = Gtk.VBox() else: |