summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-26 13:41:09 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-26 13:41:09 +0000
commitc48549dbbbd9011ac8248f508975a5c4733818e9 (patch)
tree4b2a7e57dd98cd3fe0da7c09a1d758d903dda4ca
parent3951daec1d7cb32651f5f69063a6301010d4b9ca (diff)
add cleanup button
-rwxr-xr-xui/accesoriesui.sh12
-rwxr-xr-xui/gamesui.sh12
-rwxr-xr-xui/graphicsui.sh12
-rwxr-xr-xui/internetui.sh12
-rwxr-xr-xui/multimediaui.sh12
-rwxr-xr-xui/officeui.sh12
-rwxr-xr-xui/systemui.sh12
7 files changed, 56 insertions, 28 deletions
diff --git a/ui/accesoriesui.sh b/ui/accesoriesui.sh
index 1e62579..fa5133a 100755
--- a/ui/accesoriesui.sh
+++ b/ui/accesoriesui.sh
@@ -13,14 +13,18 @@ export local accesoriesui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $accesories|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)">
+ <label>Uninstall package{s}</label>
<action>epkg autoremove $accesories|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/gamesui.sh b/ui/gamesui.sh
index 4f34c20..87bbb78 100755
--- a/ui/gamesui.sh
+++ b/ui/gamesui.sh
@@ -25,14 +25,18 @@ export local gamesui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $game|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $game|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/graphicsui.sh b/ui/graphicsui.sh
index e0e15ff..2be733c 100755
--- a/ui/graphicsui.sh
+++ b/ui/graphicsui.sh
@@ -31,14 +31,18 @@ export local graphicsui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $graphics|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $graphics|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/internetui.sh b/ui/internetui.sh
index f118634..1130e16 100755
--- a/ui/internetui.sh
+++ b/ui/internetui.sh
@@ -51,14 +51,18 @@ export local internetui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $internet|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" label-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $internet|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/multimediaui.sh b/ui/multimediaui.sh
index 4b3d3b5..0d462b0 100755
--- a/ui/multimediaui.sh
+++ b/ui/multimediaui.sh
@@ -42,14 +42,18 @@ export local multimediaui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" label-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $multimedia|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" label-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $multimedia|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/officeui.sh b/ui/officeui.sh
index 175ba95..e627338 100755
--- a/ui/officeui.sh
+++ b/ui/officeui.sh
@@ -18,14 +18,18 @@ export local officeui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $office|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $office|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
diff --git a/ui/systemui.sh b/ui/systemui.sh
index fae5c4f..5faa654 100755
--- a/ui/systemui.sh
+++ b/ui/systemui.sh
@@ -13,14 +13,18 @@ export local systemui='
</tree>
</hbox>
<hbox space-expand="false" space-extend="false">
- <button space-expand="true" space-extend="true" label-text="install">
- <label>Install package</label>
+ <button space-expand="true" space-extend="true" tooltip-text="Install package(s)">
+ <label>Install package(s)</label>
<action>epkg autoinstall $system|$sisyphusprogress &</action>
</button>
- <button space-expand="true" space-extend="true" label-text="uninstall">
- <label>Uninstall package</label>
+ <button space-expand="true" space-extend="true" label-text="Uninstall package(s)">
+ <label>Uninstall package(s)</label>
<action>epkg autoremove $system|$sisyphusprogress &</action>
</button>
+ <button space-expand="true" space-extend="true" tooltip-text="Clean orphan package(s)">
+ <label>Clean orphan package(s)</label>
+ <action>epkg autoclean|$sisyphusprogress &</action>
+ </button>
<button space-expand="true" space-extend="true" label-text="home">
<label>Back home</label>
<action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>