make adhoc warning dialog with a warning icon. Fixes #7239
This commit is contained in:
parent
ba554b2592
commit
d88c1fad89
|
@ -319,8 +319,8 @@ class CommandWindow:
|
|||
dialog.destroy()
|
||||
cb()
|
||||
|
||||
dialog = dialogs.HigDialog(self.window, Gtk.DialogFlags.DESTROY_WITH_PARENT \
|
||||
| Gtk.DialogFlags.MODAL, Gtk.ButtonsType.YES_NO, _('Cancel confirmation'),
|
||||
dialog = dialogs.HigDialog(self.window, Gtk.MessageType.WARNING,
|
||||
Gtk.ButtonsType.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()
|
||||
|
|
Loading…
Reference in New Issue