Skip to content
Snippets Groups Projects
Commit 75c18581 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

make adhoc warning dialog with a warning icon. Fixes #7239

parent 5066269f
No related branches found
No related tags found
No related merge requests found
......@@ -321,8 +321,8 @@ class CommandWindow:
dialog.destroy()
cb()
dialog = dialogs.HigDialog(self.window, gtk.DIALOG_DESTROY_WITH_PARENT \
| gtk.DIALOG_MODAL, gtk.BUTTONS_YES_NO, _('Cancel confirmation'),
dialog = dialogs.HigDialog(self.window, gtk.MESSAGE_WARNING,
gtk.BUTTONS_YES_NO, _('Cancel confirmation'),
_('You are in process of executing command. Do you really want to '
'cancel it?'), on_response_yes=on_yes)
dialog.popup()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment