summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draknet
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-02-02 04:15:58 +0000
committerdamien <damien@mandriva.com>2001-02-02 04:15:58 +0000
commit5dc7525463fc6989825282f577970b2508d51807 (patch)
treec6a2547cbc2d0e51911f08afd3d1b432ac48af5f /perl-install/standalone/draknet
parentc10c75413f135fa2759366d7d9a64ba47e0f4030 (diff)
downloaddrakx-backup-do-not-use-5dc7525463fc6989825282f577970b2508d51807.tar
drakx-backup-do-not-use-5dc7525463fc6989825282f577970b2508d51807.tar.gz
drakx-backup-do-not-use-5dc7525463fc6989825282f577970b2508d51807.tar.bz2
drakx-backup-do-not-use-5dc7525463fc6989825282f577970b2508d51807.tar.xz
drakx-backup-do-not-use-5dc7525463fc6989825282f577970b2508d51807.zip
recoded wizard mode
corrected some stuff. trying not to break draknet for cooker snapshot
Diffstat (limited to 'perl-install/standalone/draknet')
-rwxr-xr-xperl-install/standalone/draknet6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet
index 5698c54c5..174481d9a 100755
--- a/perl-install/standalone/draknet
+++ b/perl-install/standalone/draknet
@@ -56,7 +56,7 @@ $::wizard_xpm = "/usr/share/pixmaps/internet.xpm";
my $in = vnew interactive('su');
-#goto dd;
+goto dd;
my $window1 = new Gtk::Window -toplevel;
$window1->signal_connect ( delete_event => sub { Gtk->exit(0); });
$window1->set_position(1);
@@ -75,7 +75,8 @@ $hbox1->pack_start($combo1,0,0,0);
my $hbox2 = new Gtk::HBox(0,0);
$vbox1->pack_start($hbox2,1,1,0);
$hbox2->pack_start(new Gtk::Label(_("Hostname: ")),0,0,0);
-$hbox2->pack_start(new Gtk::Label("petite.mandrakesoft.com"),0,0,0);
+chop (my $hostname = `hostname`);
+$hbox2->pack_start(new Gtk::Label($hostname),0,0,0);
$vbox1->pack_start(new Gtk::HSeparator,1,1,5);
@@ -107,7 +108,6 @@ $button1->signal_connect( 'clicked', \&configure_net );
my $button2 = new Gtk::Button(_("Connect..."));
$table1->attach($button2, 2, 3, 2, 3, 'fill', 'fill',0,0);
-
my $separator2 = new Gtk::HSeparator;
$vbox1->pack_start($separator2,1,1,5);