diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-07-02 13:07:25 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-07-02 13:07:25 +0000 |
commit | db579fa938e59f24bcb4a5c6f50554ac0b2f3e74 (patch) | |
tree | 051cbf0484cdb6a16f3fde6cb37da7482bce96c8 | |
parent | c19333ad958343d8cd22436e41db4ede4f69996e (diff) | |
download | userdrake-db579fa938e59f24bcb4a5c6f50554ac0b2f3e74.tar userdrake-db579fa938e59f24bcb4a5c6f50554ac0b2f3e74.tar.gz userdrake-db579fa938e59f24bcb4a5c6f50554ac0b2f3e74.tar.bz2 userdrake-db579fa938e59f24bcb4a5c6f50554ac0b2f3e74.tar.xz userdrake-db579fa938e59f24bcb4a5c6f50554ac0b2f3e74.zip |
- cosmetics fixes
-rwxr-xr-x | userdrake | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -472,9 +472,9 @@ sub GtkEntryHidePass { $e } sub GtkEntrySized { - my $i = shift; + my ($i, $spac) = @_; my $e = Gtk2::Entry->new_with_max_length($i); - $e->set_size_request(30, 20); + $e->set_size_request($spac, 20); $e } sub BuildUui { @@ -527,9 +527,9 @@ sub Edit { 0, $us->{o}->{acheckexpire} = Gtk2::CheckButton->new(N("Enable account expiration")), 0, gtkpack__(my $h = Gtk2::HBox->new(0, 10), 0, Gtk2::Label->new(N("Account expires MM/DD/YYYY :")), - 0, map { my $s = $_->[0]; my $t = $_->[1]; - $us->{o}->{$s} = GtkEntrySized($t), - } (['expm', 2], ['expd', 2], ['expy', 4]), + 0, map { my $s = $_->[0]; my $t = $_->[1]; my $s = $_->[2]; + $us->{o}->{$s} = GtkEntrySized($t, $s), + } (['expm', 2, 25], ['expd', 2, 25], ['expy', 4, 40]), ), 0, Gtk2::HSeparator->new, 0, $us->{o}->{lockuser} = Gtk2::CheckButton->new(N("Lock User Account")) |