summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/adduserdrake
blob: b449ef52b9a5478802a9a4c1652fe1afa59b1d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/perl

use lib qw(/usr/lib/libDrakX);

use standalone;     #- warning, standalone must be loaded very first, for 'explanations'

use common;
use interactive;
use security::level;
use authentication;
use any;

my $users = []; 
my $in;

if (my @l = grep { ! /^-/ } @ARGV) {
    $users = [ map { { name => $_, realname => $_ } } @l ];
} else {
    $in = 'interactive'->vnew('su');
    any::ask_user($in, $users, security::level::get(), needauser => 1);
}

any::add_users($users, authentication::get());

$in->exit(0) if $in;
ion value='2'>stat only
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-02 08:33:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-02 08:33:43 +0000
commitf9d46fda06d15169d1a3bee1fe0e935931c2fe1e (patch)
tree75edc2604f29e40d2826032312af99570129a977 /perl-install/standalone/drakboot
parentae728969f2c0c4d6e4d0c6845f434bdead7c22df (diff)
downloaddrakx-f9d46fda06d15169d1a3bee1fe0e935931c2fe1e.tar
drakx-f9d46fda06d15169d1a3bee1fe0e935931c2fe1e.tar.gz
drakx-f9d46fda06d15169d1a3bee1fe0e935931c2fe1e.tar.bz2
drakx-f9d46fda06d15169d1a3bee1fe0e935931c2fe1e.tar.xz
drakx-f9d46fda06d15169d1a3bee1fe0e935931c2fe1e.zip
fix boot style layout
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 4229be543..0e5857940 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -138,14 +138,15 @@ sub splash_choice() {
}
$splash_box->set_sensitive($theme->{enabled});
}),
- 1, gtkpack(gtkset_sensitive($splash_box = Gtk2::HBox->new(0, 0), $theme->{enabled}),
- gtkpack__(Gtk2::VBox->new(0, 5),
- N("Theme"),
+ 0, gtkpack(gtkset_sensitive($splash_box = Gtk2::HBox->new(0, 0), $theme->{enabled}),
+ gtkadd(gtkcreate_frame(N("Theme")),
+ gtkpack__(Gtk2::VBox->new(0, 5),
$theme_combo,
gtksignal_connect(gtkset_active(Gtk2::CheckButton->new(N("Display theme\nunder console")),
$theme->{keep_logo}),
clicked => sub { invbool(\$theme->{keep_logo}) })
),
+ ),
Gtk2::VSeparator->new,
gtkpack__(Gtk2::VBox->new(0, 5), $boot_pic))
),