From b57961765e3e6b368df98f4b3e4b625dc08ed2be Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Mon, 25 Aug 2008 12:07:25 +0000 Subject: Remove the set_size_request for the alert message This gave problems on the xo - part of #7841 --- (limited to 'src') diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py index a4d2a5a..39c373c 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: -- cgit v0.9.1