Remove the set_size_request for the alert message

This gave problems on the xo - part of #7841
This commit is contained in:
Simon Schampijer 2008-08-25 14:09:52 +02:00
parent 927ae13aec
commit c639e7291a

View File

@ -105,9 +105,6 @@ class Alert(gtk.EventBox):
if self._msg != value: if self._msg != value:
self._msg = value self._msg = value
self._msg_label.set_markup(self._msg) 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) self._msg_label.set_line_wrap(True)
elif pspec.name == 'icon': elif pspec.name == 'icon':
if self._icon != value: if self._icon != value: