From c639e7291a2b602aee24cc8f8c2eaed388ff0c02 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Mon, 25 Aug 2008 14:09:52 +0200 Subject: [PATCH] Remove the set_size_request for the alert message This gave problems on the xo - part of #7841 --- src/sugar/graphics/alert.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py index a4d2a5ac..39c373c5 100644 --- a/src/sugar/graphics/alert.py +++ b/src/sugar/graphics/alert.py @@ -105,9 +105,6 @@ class Alert(gtk.EventBox): if self._msg != value: self._msg = value self._msg_label.set_markup(self._msg) - width, height_ = self._msg_label.size_request() - self._msg_label.set_size_request(width-style.DEFAULT_SPACING, - -1) self._msg_label.set_line_wrap(True) elif pspec.name == 'icon': if self._icon != value: