slitaz-tools rev 814

Bold msg on logout and clean-up
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 02 13:23:43 2014 +0100 (2014-01-02)
parents e232f0e1413a
children df9ac89c94f9
files tazbox/tazbox
line diff
     1.1 --- a/tazbox/tazbox	Mon Sep 09 03:27:04 2013 +0300
     1.2 +++ b/tazbox/tazbox	Thu Jan 02 13:23:43 2014 +0100
     1.3 @@ -107,23 +107,12 @@
     1.4  	yad --title="$(_n 'SliTaz Logout')" --window-icon=$icon \
     1.5  		--on-top --center \
     1.6  		--image=$icon --image-on-top \
     1.7 -		--text="$(_n 'Please choose an action:')" \
     1.8 +		--text="<b>$(_n 'Please choose an action:')</b>" \
     1.9  		--always-print-result \
    1.10  		--button "$(_n 'Close X session'):4" \
    1.11  		--button "$(_n 'Reboot system'):3" \
    1.12  		--button "$(_n 'Shutdown system'):2"
    1.13  }
    1.14 -logout_oldstyle() {
    1.15 -	icon=/usr/share/pixmaps/slitaz-icon.png
    1.16 -	yad --title="$(_n 'SliTaz Logout')" --window-icon=$icon \
    1.17 -		--on-top --center --width=440 --height=140 \
    1.18 -		--image=$icon --image-on-top \
    1.19 -		--text="<b>$(_n 'SliTaz Logout').</b> $(_n 'Please choose an action:')" \
    1.20 -		--entry --entry-text \
    1.21 -		"$(_n 'Close X session'): exit" \
    1.22 -		"$(_n 'Reboot system'): reboot" \
    1.23 -		"$(_n 'Shutdown system'): halt"
    1.24 -}
    1.25  
    1.26  # generate keymap list
    1.27  gen_kmap_list() {