diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 23:40:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-25 23:40:07 +0000 |
commit | 5e761f5d93077b2e43e24b42dc2f2b4327372cbf (patch) | |
tree | c3307e71838dd43ab756758a7344c53d4c849348 /ui/accesoriesui.sh | |
parent | a11db1a67423810f3c88db9b6ce2703e8cb47792 (diff) |
kill any running operation if worker window is closed
Diffstat (limited to 'ui/accesoriesui.sh')
-rwxr-xr-x | ui/accesoriesui.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/accesoriesui.sh b/ui/accesoriesui.sh index 5d34689..84d39c0 100755 --- a/ui/accesoriesui.sh +++ b/ui/accesoriesui.sh @@ -15,11 +15,13 @@ export local accesoriesui=' <hbox space-expand="false" space-extend="false"> <button space-expand="true" space-extend="true" label-text="install"> <label>Install package</label> - <action>epkg autoinstall $accesories|$showdialog</action> + <action signal="button-press-event">epkg autoinstall $accesories|$showdialog</action> + <action signal="button-release-event">$abortnow</action> </button> <button space-expand="true" space-extend="true" label-text="uninstall"> <label>Uninstall package</label> - <action>epkg autoremove $accesories|$showdialog</action> + <action signal="button-press-event">epkg autoremove $accesories|$showdialog</action> + <action signal="button-release-event">$abortnow</action> </button> <button space-expand="true" space-extend="true" label-text="home"> <label>Back home</label> |