diff options
author | Simon Schampijer <simon@schampijer.de> | 2008-05-14 15:49:10 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2008-05-14 15:49:10 (GMT) |
commit | 03b358f1328f4a2d425e427798b7550f0faffc97 (patch) | |
tree | 98449ea27b4e0199c93fb23c92b01c6e3292e183 | |
parent | 5816a0186b3843ad1d2f3dda374ad6b00611d521 (diff) |
Revert "Clean alert code."
This reverts commit f0f573eb23c1cf783eea7be2eed72f93dff0e30c.
-rw-r--r-- | src/controlpanel/inlinealert.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/controlpanel/inlinealert.py b/src/controlpanel/inlinealert.py index f191366..319910b 100644 --- a/src/controlpanel/inlinealert.py +++ b/src/controlpanel/inlinealert.py @@ -23,8 +23,11 @@ from sugar.graphics import style class InlineAlert(gtk.EventBox): """UI interface for Inline alerts - Inline alerts are different from the other alerts beause they are - no dialogs, they only inform about a current event. + Alerts are used inside the activity window instead of being a + separate popup window. They do not hide canvas content. You can + use add_alert(widget) and remove_alert(widget) inside your activity + to add and remove the alert. The position of the alert is below the + toolbox or top in fullscreen mode. Properties: 'message': the message of the alert, @@ -37,6 +40,8 @@ class InlineAlert(gtk.EventBox): __gproperties__ = { 'msg' : (str, None, None, None, gobject.PARAM_READWRITE), + 'msg' : (str, None, None, None, + gobject.PARAM_READWRITE), 'icon' : (object, None, None, gobject.PARAM_WRITABLE) } |