diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-23 09:02:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-23 09:02:47 +0000 |
commit | 105e43a7dd004a4bd0a89a5702a7a7d7c3f0248b (patch) | |
tree | bbe36fc2badf20d724f5dd4cea646c176ab16b78 /libsisyphus | |
parent | 6ce977d2cdf08ed21cdb433324cfc9388ba325d3 (diff) |
only keep one UI active at a time, and link them together so one can navigate back and forward
Diffstat (limited to 'libsisyphus')
-rwxr-xr-x | libsisyphus | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libsisyphus b/libsisyphus index 90d7a8f..95b19ee 100755 --- a/libsisyphus +++ b/libsisyphus @@ -41,6 +41,15 @@ export local gamesui=' <label>Uninstall package</label> <action>epkg autoremove $game|$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> @@ -124,7 +133,8 @@ export local mainui=' </button> <button tooltip-text="Games"> <label>Games</label> - <action>gtkdialog --space-expand=true --space-fill=true --program=gamesui</action> + <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=gamesui &</action> + <action signal="button-release-event">EXIT:ok</action> </button> <button tooltip-text="Graphics"> <label>Graphics</label> |