slitaz-tools rev 341
Add favorite File manager (erapper, box and confg)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 04 23:22:57 2009 +0200 (2009-05-04) |
parents | ba541e2168a6 |
children | 620f0f76f6ad |
files | rootfs/etc/slitaz/applications.conf tinyutils/desktopbox |
line diff
1.1 --- a/rootfs/etc/slitaz/applications.conf Mon May 04 23:12:18 2009 +0200 1.2 +++ b/rootfs/etc/slitaz/applications.conf Mon May 04 23:22:57 2009 +0200 1.3 @@ -2,6 +2,9 @@ 1.4 # started throught wrappers: browser, editor and terminal. 1.5 # 1.6 1.7 +# File manager. 1.8 +FILE_MANAGER="pcmanfm" 1.9 + 1.10 # Web browser. 1.11 BROWSER="firefox" 1.12
2.1 --- a/tinyutils/desktopbox Mon May 04 23:12:18 2009 +0200 2.2 +++ b/tinyutils/desktopbox Mon May 04 23:22:57 2009 +0200 2.3 @@ -236,7 +236,7 @@ 2.4 DESKTOP_DIALOG=" 2.5 <window title=\"$ADD_ICON_LABEL\" icon-name=\"document-new\"> 2.6 <vbox> 2.7 - <text use-markup=\"true\" width-chars=\"40\"> 2.8 + <text width-chars=\"40\"> 2.9 <label>\" 2.10 <b>$ADD_ICON_LABEL</b> 2.11 \" 2.12 @@ -423,14 +423,28 @@ 2.13 <window title="SliTaz default applications" icon-name="preferences-desktop"> 2.14 <vbox> 2.15 <vbox> 2.16 - <text wrap="false" width-chars="54"> 2.17 + <text use-markup="true" width-chars="54"> 2.18 <label>" 2.19 -SliTaz default applications configuration 2.20 +<b>SliTaz default applications configuration</b> 2.21 "</label> 2.22 </text> 2.23 </vbox> 2.24 <hbox> 2.25 <text wrap="false"> 2.26 + <label>"File manager: "</label> 2.27 + </text> 2.28 + <entry> 2.29 + <input>. $CONFIG; echo $FILE_MANAGER</input> 2.30 + <variable>FILE_MANAGER</variable> 2.31 + </entry> 2.32 + <button> 2.33 + <label>Change</label> 2.34 + <input file icon="forward"></input> 2.35 + <action>sed -i s/"FILE_MANAGER=.*"/"FILE_MANAGER=\"$FILE_MANAGER\""/ $CONFIG</action> 2.36 + </button> 2.37 + </hbox> 2.38 + <hbox> 2.39 + <text wrap="false"> 2.40 <label>"Web browser: "</label> 2.41 </text> 2.42 <entry>