# HG changeset patch # User Christophe Lincoln # Date 1308336703 -7200 # Node ID 418b6f4dcb2787fa981cdf71f2c76fb0bae09ea1 # Parent 04f34d2e09306ba3d0c2725578dccd775d5de7db tazbox: add command all-apps to display all installed application diff -r 04f34d2e0930 -r 418b6f4dcb27 tazbox/tazbox --- a/tazbox/tazbox Fri Jun 17 20:30:23 2011 +0200 +++ b/tazbox/tazbox Fri Jun 17 20:51:43 2011 +0200 @@ -45,6 +45,7 @@ tz $(gettext "Configure system timezone (root)") setup $(gettext "System initial setup (locale, keymap & timezone)") new-file $(gettext "Create a new file or folder on the desktop") + all-apps $(gettext "Icons of all installed applications.") EOT } @@ -245,6 +246,14 @@ esac } +# All applications +all_apps() { + yad --icons --title="$(gettext "All Applications")" \ + --compact --read-dir=/usr/share/applications \ + --window-icon=$icon --width=400 --height=400 \ + --button="gtk-close:0" +} + # # Commands # @@ -317,6 +326,8 @@ killall Xorg 2>/dev/null ;; new-file) newfile ;; + all-apps) + all_apps ;; *) usage ;; esac