diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-29 20:43:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-29 20:43:21 +0000 |
commit | 23d626aa3e8bd88d32bc231381ed8ababb94c023 (patch) | |
tree | 69e8dd9bd635768cf558ce0abba80253e140c0f8 /perl-install/standalone/drakconnect | |
parent | ff02e0a32b91680db4816eae4b09b9402c1b3d5a (diff) | |
download | drakx-23d626aa3e8bd88d32bc231381ed8ababb94c023.tar drakx-23d626aa3e8bd88d32bc231381ed8ababb94c023.tar.gz drakx-23d626aa3e8bd88d32bc231381ed8ababb94c023.tar.bz2 drakx-23d626aa3e8bd88d32bc231381ed8ababb94c023.tar.xz drakx-23d626aa3e8bd88d32bc231381ed8ababb94c023.zip |
fix title when not embedded (print right number of network interfaces
instead of displaying a big random number)
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index f08ff6758..d5100538e 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -1,8 +1,11 @@ #!/usr/bin/perl -# DrakConnect +# DrakConnect $Id$ -# Copyright (C) 1999-2002 MandrakeSoft (damien@mandrakesoft.com) +# Copyright (C) 1999-2003 MandrakeSoft +# Damien "Dam's" Krotkine +# Damien "poulpy" Chaumette +# Thierry Vignaud <tvignaud@mandrakesoft.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -75,7 +78,7 @@ my $window1 = ugtk2->new('drakconnect'); $window1->{rwindow}->signal_connect(delete_event => sub { ugtk2->exit(0) }); unless ($::isEmbedded) { $window1->{rwindow}->set_position('center'); - $window1->{rwindow}->set_title(N("Network configuration (%d adapters)", @all_cards)); + $window1->{rwindow}->set_title(N("Network configuration (%d adapters)", scalar @all_cards)); $window1->{rwindow}->set_size_request(500, 400); } $window1->{rwindow}->set_border_width(10); |