[yast-commit] r49515 - /trunk/auditd/src/dialogs.ycp
Author: gs Date: Wed Jul 30 13:38:57 2008 New Revision: 49515 URL: http://svn.opensuse.org/viewcvs/yast?rev=49515&view=rev Log: add logfile settings Modified: trunk/auditd/src/dialogs.ycp Modified: trunk/auditd/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/auditd/src/dialogs.ycp?rev=49515&r1=49514&r2=49515&view=diff ============================================================================== --- trunk/auditd/src/dialogs.ycp (original) +++ trunk/auditd/src/dialogs.ycp Wed Jul 30 13:38:57 2008 @@ -24,7 +24,6 @@ * Summary: Dialogs definitions * Authors: Gabriele Mohr <gs@suse.de> * - * $Id: dialogs.ycp 27914 2006-02-13 14:32:08Z locilka $ */ { @@ -57,29 +56,72 @@ `VSquash( `HBox( + // Label for InputField `InputField(`id("log_file"), `opt(`hstretch), _("Logfile")), + `HSpacing(2.0), `VBox( `VSpacing(), + // Label for PushButton `Bottom(`PushButton(`id("select_file"), _("Select Fi&le"))) ) ) - ), - `Left(`ComboBox(`id("log_format"), _("Format"), - [ - `item(`id(`raw), "RAW", true ), - `item(`id(`nolog), "NOLOG" ) - ]) + ), + `VBox( + `HBox(`HWeight( 1,`ComboBox(`id("log_format"), _("Format"), + [ + `item(`id(`raw), "RAW", true ), + `item(`id(`nolog), "NOLOG" ) + ]) + ), + `HSpacing(2.0), + `HWeight( 1, `IntField(`id("num_logs"), _("Number of Logfiles"), 0, 99, 4) ) + ), + `HBox( + `HWeight( 1, `ComboBox(`id("flush"), _("Flush"), + [`item(`id("none"), "NONE" ), + `item(`id("incr"), "INCREMENTAL", true ), + `item(`id("data"), "DATA" ), + `item(`id("sync"), "SYNC" ) + ]) + ), + `HSpacing(2.0), + `HWeight( 1, `IntField(`id("freq"), _("Frequence"), 0, 10000, 20 )) + ) ) ) ), `Frame ( _("Size and Action"), - `VBox ( + `HBox ( /* A text entry */ - `Left(`InputField(`id("max_log_file"), _("Ma&ximum File Size"))), - `Left(`InputField(`id("max_log_file_action"), _("Action "))) + `HWeight( 1, `InputField(`id("max_log_file"), _("Ma&x File Size (MB)")) ), + `HSpacing(2.0), + `HWeight( 1, `ComboBox(`id("max_log_file_action"), _("Maximum File Size Action"), + [`item(`id("ignore"), "IGNORE" ), + `item(`id("syslog"), "SYSLOG", true ), + `item(`id("suspend"), "SUSPEND" ), + `item(`id("rotate"), "ROTATE" ), + `item(`id("keep"), "KEEP_LOGS" ) + ] ) + ), + `HSpacing(2.0), + `HWeight( 1, `InputField(`id("action_mail_acct"), _("Action Mail Account"))) ) ), + `Frame( + _("Computer Names"), + `HBox( + `HWeight( 1, `ComboBox(`id("name_format"), _("Computer Name Format"), + [`item(`id("none"), "NONE" ), + `item(`id("incr"), "HOSTNAME", true ), + `item(`id("data"), "FQD" ), + `item(`id("sync"), "USER" ) + ]) + ), + `HSpacing(2.0), + `HWeight( 1, `InputField(`id("name"), _("User Defined Name") )) + ) + ), `VStretch() ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org