summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-26 03:27:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-26 03:27:32 +0000
commit84d799325398a5371c6d870bc708338b70b767aa (patch)
treee564e1d4496eb7b551b7e679b20506c07339b7ff
parentdb148404d74f9983d382855ca43c97533142e92d (diff)
finally : fix main UI freeze when workers are spawned
-rwxr-xr-xlibsisyphus.sh14
-rwxr-xr-xui/accesoriesui.sh4
-rwxr-xr-xui/gamesui.sh4
-rwxr-xr-xui/graphicsui.sh4
-rwxr-xr-xui/internetui.sh4
-rwxr-xr-xui/multimediaui.sh4
-rwxr-xr-xui/officeui.sh4
-rwxr-xr-xui/systemui.sh4
8 files changed, 21 insertions, 21 deletions
diff --git a/libsisyphus.sh b/libsisyphus.sh
index 7bf2907..899eca9 100755
--- a/libsisyphus.sh
+++ b/libsisyphus.sh
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# export dialog && abort flags
-export local sisyphusprogress="yad --title "sisyphus" --progress --pulsate --width 400 --center --no-buttons --on-top --no-escape --sticky --fixed --undecorated --skip-taskbar --auto-close &"
-export local sisyphustextinfo="yad --title "sisyphus" --text-info --width 800 --height 600 --center --no-buttons --on-top --sticky --fixed --skip-taskbar --listen --tail &"
+export local sisyphusprogress="yad --title "sisyphus" --progress --pulsate --width 400 --center --no-buttons --on-top --no-escape --sticky --fixed --undecorated --skip-taskbar --auto-close"
+export local sisyphustextinfo="yad --title "sisyphus" --text-info --width 800 --height 600 --center --no-buttons --skip-taskbar --listen --tail"
# import user interfaces
source /usr/lib64/sisyphus/accesoriesui.sh
@@ -32,23 +32,23 @@ export local mainui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" tooltip-text="Search package(s)">
<input file>/usr/share/sisyphus/appsearch.svg</input>
- <action>epkg search $pkgname|$sisyphustextinfo</action>
+ <action>epkg search $pkgname|$sisyphustextinfo &</action>
</button>
<button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
<input file>/usr/share/sisyphus/appinstall.svg</input>
- <action>epkg autoinstall $pkgname|$sisyphusprogress</action>
+ <action>epkg autoinstall $pkgname|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)">
<input file>/usr/share/sisyphus/appremove.svg</input>
- <action>epkg autoremove $pkgname|$sisyphusprogress</action>
+ <action>epkg autoremove $pkgname|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" tooltip-text="Upgrade system">
<input file>/usr/share/sisyphus/appupgrade.svg</input>
- <action>epkg autoupgrade|$sisyphusprogress</action>
+ <action>epkg autoupgrade|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" tooltip-text="Remove orphan packages(s) aka no longer needed">
<input file>/usr/share/sisyphus/appcleanup.svg</input>
- <action>epkg autoclean|$sisyphusprogress</action>
+ <action>epkg autoclean|$sisyphusprogress &</action>
</button>
</hbox>
<hseparator space-expand="true" space-extend="true"></hseparator>
diff --git a/ui/accesoriesui.sh b/ui/accesoriesui.sh
index 502e548..d3576f3 100755
--- a/ui/accesoriesui.sh
+++ b/ui/accesoriesui.sh
@@ -15,11 +15,11 @@ 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|$sisyphusprogress</action>
+ <action>epkg autoinstall $accesories|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $accesories|$sisyphusprogress</action>
+ <action>epkg autoremove $accesories|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/gamesui.sh b/ui/gamesui.sh
index da5b01a..bf6aa7b 100755
--- a/ui/gamesui.sh
+++ b/ui/gamesui.sh
@@ -27,11 +27,11 @@ export local gamesui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $game|$sisyphusprogress</action>
+ <action>epkg autoinstall $game|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $game|$sisyphusprogress</action>
+ <action>epkg autoremove $game|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/graphicsui.sh b/ui/graphicsui.sh
index 66a27e1..bc50f80 100755
--- a/ui/graphicsui.sh
+++ b/ui/graphicsui.sh
@@ -33,11 +33,11 @@ export local graphicsui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $graphics|$sisyphusprogress</action>
+ <action>epkg autoinstall $graphics|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $graphics|$sisyphusprogress</action>
+ <action>epkg autoremove $graphics|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/internetui.sh b/ui/internetui.sh
index 950f5be..8fdaea4 100755
--- a/ui/internetui.sh
+++ b/ui/internetui.sh
@@ -61,11 +61,11 @@ export local internetui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $internet|$sisyphusprogress</action>
+ <action>epkg autoinstall $internet|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $internet|$sisyphusprogress</action>
+ <action>epkg autoremove $internet|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/multimediaui.sh b/ui/multimediaui.sh
index c9d9eea..a577fbf 100755
--- a/ui/multimediaui.sh
+++ b/ui/multimediaui.sh
@@ -44,11 +44,11 @@ export local multimediaui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $multimedia|$sisyphusprogress</action>
+ <action>epkg autoinstall $multimedia|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $multimedia|$sisyphusprogress</action>
+ <action>epkg autoremove $multimedia|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/officeui.sh b/ui/officeui.sh
index 9f3410e..10701f4 100755
--- a/ui/officeui.sh
+++ b/ui/officeui.sh
@@ -20,11 +20,11 @@ export local officeui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $office|$sisyphusprogress</action>
+ <action>epkg autoinstall $office|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $office|$sisyphusprogress</action>
+ <action>epkg autoremove $office|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
diff --git a/ui/systemui.sh b/ui/systemui.sh
index 0b64eab..0d7ae6d 100755
--- a/ui/systemui.sh
+++ b/ui/systemui.sh
@@ -15,11 +15,11 @@ export local systemui='
<hbox space-expand="false" space-extend="false">
<button space-expand="true" space-extend="true" label-text="install">
<label>Install package</label>
- <action>epkg autoinstall $system|$sisyphusprogress</action>
+ <action>epkg autoinstall $system|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="uninstall">
<label>Uninstall package</label>
- <action>epkg autoremove $system|$sisyphusprogress</action>
+ <action>epkg autoremove $system|$sisyphusprogress &</action>
</button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>