slitaz-tools diff tinyutils/tazx @ rev 939

tazbox: fix subox icon when ~/.local/share/applications is absent; fix working with freegeoip; write full list of icons used; all other files: 2015 and insert blank lines.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 17 07:35:02 2015 +0300 (2015-04-17)
parents e5d5980ecf4e
children 3be081525506
line diff
     1.1 --- a/tinyutils/tazx	Mon Jan 12 01:19:06 2015 +0200
     1.2 +++ b/tinyutils/tazx	Fri Apr 17 07:35:02 2015 +0300
     1.3 @@ -4,7 +4,7 @@
     1.4  # This tinyutil is part of slitaz-tools. Tazx can configure Xorg with
     1.5  # several Window Managers. The GTK interface to configure X is in tazbox.
     1.6  #
     1.7 -# (c) 2011-2014 SliTaz GNU/Linux - GNU GPL v3.
     1.8 +# (c) 2011-2015 SliTaz GNU/Linux - GNU GPL v3.
     1.9  # Authors: Christophe Lincoln <pankso@slitaz.org>
    1.10  #          Pascal Bellard <pascal.bellard@slitaz.org>
    1.11  #
    1.12 @@ -20,6 +20,7 @@
    1.13  export TEXTDOMAIN='slitaz-tools' #i18n
    1.14  : ${DIALOG=dialog --timeout 60}
    1.15  
    1.16 +
    1.17  # Default user for config files in Live mode, id is 1000 since it is
    1.18  # created by /etc/init.d/bootopts.sh.
    1.19  
    1.20 @@ -492,6 +493,7 @@
    1.21  
    1.22  
    1.23  # Handle live options: screen= video=
    1.24 +
    1.25  proc_cmdline()
    1.26  {
    1.27  	if grep -qs 'screen=' /proc/cmdline ; then
    1.28 @@ -507,6 +509,7 @@
    1.29  	fi
    1.30  }
    1.31  
    1.32 +
    1.33  set_depth()
    1.34  {
    1.35  	case "$1" in