tazpkg diff tazpkgbox @ rev 142

Rework Config files...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 29 08:53:01 2008 +0000 (2008-07-29)
parents ce9767408c1e
children db7e865c0a11
line diff
     1.1 --- a/tazpkgbox	Mon Jul 28 19:26:09 2008 +0000
     1.2 +++ b/tazpkgbox	Tue Jul 29 08:53:01 2008 +0000
     1.3 @@ -72,26 +72,30 @@
     1.4  </window>
     1.5  '
     1.6  
     1.7 -export LIST_CONFIG_FILES="
     1.8 -<window title=\"configuration files\" icon-name=\"system-file-manager\">
     1.9 +export LIST_CONFIG_FILES='
    1.10 +<window title="configuration files" icon-name="system-file-manager">
    1.11    <vbox>
    1.12  	<tree>
    1.13  		<width>630</width><height>160</height>
    1.14 -		<label>Access | User | Group | Size | Update Date | Name</label>
    1.15 +		<variable>CONF_FILE</variable>
    1.16 +		<label>Name | Update Date | Access | Size | User | Group</label>
    1.17  		<input>tazpkg list-config --box</input>
    1.18 +		<action>leafpad $CONF_FILE</action>
    1.19  	</tree>
    1.20  	<hbox>
    1.21 -		<text wrap=\"false\">
    1.22 -			<label>\"Only files with Update Date have been modified after package installation\"</label>
    1.23 +		<text wrap="false">
    1.24 +			<label>
    1.25 +"Only files with Update Date have been modified after package installation"
    1.26 +			</label>
    1.27  		</text>
    1.28  		<button>
    1.29 -			<input file icon=\"gtk-close\"></input>
    1.30 -			<action type=\"closewindow\">INSTALLED_PACKAGE_ACTIONS</action>
    1.31 +			<input file icon="gtk-close"></input>
    1.32 +			<action type="closewindow">INSTALLED_PACKAGE_ACTIONS</action>
    1.33  		</button>
    1.34  	</hbox>
    1.35    </vbox>
    1.36  </window>
    1.37 -"
    1.38 +'
    1.39  
    1.40  # Main dialog
    1.41  export TAZPKG_DIALOG='
    1.42 @@ -345,7 +349,7 @@
    1.43  				</button>
    1.44  			</hbox>
    1.45  		</frame>
    1.46 -		<frame Files path, configuration files and packages check>
    1.47 +		<frame Files path>
    1.48  			<hbox>
    1.49  				<text use-markup="true" width-chars="60">
    1.50  					<label>
    1.51 @@ -353,17 +357,24 @@
    1.52  					</label>
    1.53  				</text>
    1.54  			</hbox>
    1.55 -			<hbox>
    1.56 +		</frame>
    1.57 +		<hbox>
    1.58 +			<frame Configuration files>
    1.59 +				<hbox>
    1.60  				<button>
    1.61  					<label>Repack config</label>
    1.62  					<input file icon="edit-redo"></input>
    1.63 -					<action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Repack configs" -geometry 80x25+120+120 -e "tazpkg repack-config ; sleep 2" 2> /dev/null</action>
    1.64 +					<action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Repack configs" -geometry 80x25+120+120 -e "tazpkg repack-config ; sleep 5" 2> /dev/null</action>
    1.65  				</button>
    1.66  				<button>
    1.67  					<label>Config Files</label>
    1.68  					<input file icon="tazpkg"></input>
    1.69  					<action type="launch">LIST_CONFIG_FILES</action>
    1.70  				</button>
    1.71 +				</hbox>
    1.72 +			</frame>
    1.73 +			<frame Packages check>
    1.74 +			<hbox>
    1.75  				<button>
    1.76  					<label>Quick check</label>
    1.77  					<input file icon="go-next"></input>
    1.78 @@ -374,8 +385,9 @@
    1.79  					<input file icon="go-next"></input>
    1.80  					<action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check --full | less " 2> /dev/null</action>
    1.81  				</button>
    1.82 -			</hbox>
    1.83 -		</frame>
    1.84 +				</hbox>
    1.85 +			</frame>
    1.86 +		</hbox>
    1.87  	</vbox>
    1.88  
    1.89  	</notebook>