Zoom in activity when save error occurs #5136

This commit is contained in:
Simon Schampijer 2008-07-21 19:27:26 +02:00
parent 2905360178
commit 564e6eb28d

View File

@ -879,6 +879,8 @@ class Activity(Window, gtk.Container):
self.add_alert(alert) self.add_alert(alert)
alert.connect('response', self._keep_failed_dialog_response_cb) alert.connect('response', self._keep_failed_dialog_response_cb)
self.present()
def _keep_failed_dialog_response_cb(self, alert, response_id): def _keep_failed_dialog_response_cb(self, alert, response_id):
self.remove_alert(alert) self.remove_alert(alert)
if response_id == gtk.RESPONSE_OK: if response_id == gtk.RESPONSE_OK: