diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-23 20:22:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-23 20:22:57 +0000 |
commit | b882d82986c8fd2aff3adc559e78ec0c6cabe299 (patch) | |
tree | 30f6ce4a138ec762011d367aa21dbdb7309514f6 /libsisyphus | |
parent | 2b47f272e3f7527f63daea0c8f4c3c43de1d2d3e (diff) |
accesories && multimedia UI + connect signals
Diffstat (limited to 'libsisyphus')
-rwxr-xr-x | libsisyphus | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libsisyphus b/libsisyphus index 383be78..a5d3184 100755 --- a/libsisyphus +++ b/libsisyphus @@ -8,6 +8,34 @@ export local showprogress="yad --title "sisyphus" --progress --pulsate --width 8 export local accesoriesui=' <window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600"> <vbox> +<frame Accesories> + <hbox space-expand="true" space-extend="true"> + <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1"> + <variable>accesories</variable> + <label>Application Category|Application Name|Application Description</label> + <item>app-admin|keepassx|Qt password manager compatible with its Win32 and Pocket PC versions</item> + </table> + </hbox> + <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> + </button> + <button space-expand="true" space-extend="true" label-text="uninstall"> + <label>Uninstall package</label> + <action>epkg autoremove $accesories|$showdialog</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> + <action signal="button-release-event">EXIT:ok</action> + </button> + <button space-expand="true" space-extend="true" label-text="exit"> + <label>Exit</label> + <action>EXIT:ok</action> + </button> + </hbox> +</frame> </vbox> </window>' @@ -73,6 +101,35 @@ export local internetui=' export local multimediaui=' <window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600"> <vbox> +<frame Multimedia> + <hbox space-expand="true" space-extend="true"> + <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1"> + <variable>multimedia</variable> + <label>Application Category|Application Name|Application Description</label> + <item>media-tv|tv-maxe|Program to view free channels</item> + </table> + </hbox> + <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|$showdialog</action> + </button> + <button space-expand="true" space-extend="true" label-text="uninstall"> + <label>Uninstall package</label> + <action>epkg autoremove $multimedia|$showdialog</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> + <action signal="button-release-event">EXIT:ok</action> + </button> + <button space-expand="true" space-extend="true" label-text="exit"> + <label>Exit</label> + <action>EXIT:ok</action> + </button> + </hbox> +</frame> + </vbox> </window>' @@ -90,6 +147,7 @@ export local officeui=' <item>app-office|gnucash|A personal finance manager</item> <item>app-office|libreoffice|A full office productivity suite</item> <item>app-office|wps-office|WPS Office is an office productivity suite</item> + <item>app-text|qpdfview|A tabbed document viewer</item> </table> </hbox> <hbox space-expand="false" space-extend="false"> @@ -162,6 +220,8 @@ export local mainui=' <hbox> <button tooltip-text="Accesories"> <label>Accesories</label> + <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=accesoriesui &</action> + <action signal="button-release-event">EXIT:ok</action> </button> <button tooltip-text="Games"> <label>Games</label> @@ -178,6 +238,8 @@ export local mainui=' <hbox> <button tooltip-text="Sound & Video"> <label>Sound & Video</label> + <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=multimediaui &</action> + <action signal="button-release-event">EXI:ok</action> </button> <button tooltip-text="Office"> <label>Office</label> |