Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/controlpanel/inlinealert.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/controlpanel/inlinealert.py')
-rw-r--r--src/jarabe/controlpanel/inlinealert.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jarabe/controlpanel/inlinealert.py b/src/jarabe/controlpanel/inlinealert.py
index 619a379..b1880da 100644
--- a/src/jarabe/controlpanel/inlinealert.py
+++ b/src/jarabe/controlpanel/inlinealert.py
@@ -24,7 +24,7 @@ from sugar.graphics.icon import Icon
class InlineAlert(gtk.HBox):
"""UI interface for Inline alerts
- Inline alerts are different from the other alerts beause they are
+ Inline alerts are different from the other alerts beause they are
no dialogs, they only inform about a current event.
Properties:
@@ -54,21 +54,21 @@ class InlineAlert(gtk.HBox):
self._msg_label.set_max_width_chars(50)
self._msg_label.set_ellipsize(pango.ELLIPSIZE_MIDDLE)
self._msg_label.set_alignment(0, 0.5)
- self._msg_label.modify_fg(gtk.STATE_NORMAL,
+ self._msg_label.modify_fg(gtk.STATE_NORMAL,
style.COLOR_SELECTION_GREY.get_gdk_color())
gobject.GObject.__init__(self, **kwargs)
self.set_spacing(style.DEFAULT_SPACING)
- self.modify_bg(gtk.STATE_NORMAL,
+ self.modify_bg(gtk.STATE_NORMAL,
style.COLOR_WHITE.get_gdk_color())
-
+
self.pack_start(self._icon, False)
self.pack_start(self._msg_label, False)
self._msg_label.show()
self._icon.show()
-
- def do_set_property(self, pspec, value):
+
+ def do_set_property(self, pspec, value):
if pspec.name == 'msg':
if self._msg != value:
self._msg = value