Zoom in activity when save error occurs #5136
This commit is contained in:
parent
2905360178
commit
564e6eb28d
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user