[Sugar-devel] [PATCH shell] Activity ListView: fix the erase activity alert

Simon Schampijer simon at schampijer.de
Wed Sep 19 02:41:21 EDT 2012


From: Simon Schampijer <simon at laptop.org>

pack_start: we have to pass all arguments now with the dynamic bindings

Signed-off-by: Simon Schampijer <simon at laptop.org>
---
 src/jarabe/desktop/activitieslist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
index 5d3dc20..b111164 100644
--- a/src/jarabe/desktop/activitieslist.py
+++ b/src/jarabe/desktop/activitieslist.py
@@ -426,7 +426,7 @@ class ActivitiesList(Gtk.VBox):
         if self._alert is not None:
             self.remove_alert()
         self._alert = alert
-        self.pack_start(alert, False)
+        self.pack_start(alert, False, True, 0)
         self.reorder_child(alert, 0)
 
     def remove_alert(self):
-- 
1.7.11.4



More information about the Sugar-devel mailing list