diff options
author | Simon Schampijer <simon@schampijer.de> | 2011-10-30 13:54:53 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2011-10-30 13:54:53 (GMT) |
commit | 7371e143886021975903c972a77474593e080e62 (patch) | |
tree | ea00d23dd6e88df4d631c6b1efa62b0b9ce369eb | |
parent | 0afb16869208df630cceb2bf7519dc7a1efc81a1 (diff) |
Name parameters passed to Gtk.Alignment
You either have to use new and pass unnamed
parameters or have to name them. We decided
on naming them. Set them as we do differ
from the default ones.
-rw-r--r-- | src/sugar3/graphics/alert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar3/graphics/alert.py b/src/sugar3/graphics/alert.py index f72a2bd..239afc2 100644 --- a/src/sugar3/graphics/alert.py +++ b/src/sugar3/graphics/alert.py @@ -342,7 +342,7 @@ class _TimeoutIcon(Gtk.Alignment): __gtype_name__ = 'SugarTimeoutIcon' def __init__(self): - GObject.GObject.__init__(self, 0, 0, 1, 1) + Gtk.Alignment.__init__(self, xalign=0, yalign=0, xscale=1, yscale=1) self.set_app_paintable(True) self._text = Gtk.Label() self._text.set_alignment(0.5, 0.5) |