[Sugar-devel] [PATCH shell] HomeView: fix displaying alerts

Simon Schampijer simon at schampijer.de
Wed Sep 19 02:51:07 EDT 2012


From: Simon Schampijer <simon at laptop.org>

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

This affects for example the 'register to schoolserver' option in the
Palette of the owner icon. A follow up to get the layout right in
such a case is SL #3925.

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

diff --git a/src/jarabe/desktop/favoritesview.py b/src/jarabe/desktop/favoritesview.py
index 125637a..b73d016 100644
--- a/src/jarabe/desktop/favoritesview.py
+++ b/src/jarabe/desktop/favoritesview.py
@@ -89,7 +89,7 @@ class FavoritesBox(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