summaryrefslogtreecommitdiffstats
path: root/bin/drakconnect
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-10 10:09:10 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-10 10:09:10 +0000
commit40348a760c3b1d07924db2c7feefa14e2cc5bfae (patch)
treec34c2adcd72c268d41f58a60a7517137516542c8 /bin/drakconnect
parent30d3baad9e51c330ce3ce02640d851cd57d4bf79 (diff)
downloaddrakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar
drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.gz
drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.bz2
drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.tar.xz
drakx-net-40348a760c3b1d07924db2c7feefa14e2cc5bfae.zip
do not hardcode icon extension and path
Diffstat (limited to 'bin/drakconnect')
-rwxr-xr-xbin/drakconnect6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/drakconnect b/bin/drakconnect
index ece74c5..8318bcc 100755
--- a/bin/drakconnect
+++ b/bin/drakconnect
@@ -59,7 +59,7 @@ network::network::read_net_conf($net);
my $modules_conf = modules::any_conf->read;
$::Wizard_title = N("Network & Internet Configuration");
-$::Wizard_pix_up = "drakconnect.png";
+$::Wizard_pix_up = "drakconnect";
local $_ = join '', @ARGV;
/--skip-wizard/ and manage();
@@ -710,7 +710,7 @@ sub del_intf() {
require wizards;
my $wiz = wizards->new(
{
- defaultimage => "drakconnect.png",
+ defaultimage => "drakconnect",
name => N("Remove a network interface"),
pages => {
welcome => {
@@ -786,7 +786,7 @@ sub update_list {
}
foreach my $interface (@new_intf) {
my ($ip, $state) = get_intf_ip($interface);
- $tree_model->set($intf{$interface}, map_index { $::i => $_ } (gtkcreate_pixbuf("eth_card_mini2.png"), $interface, $ip , $net->{ifcfg}{$interface}{BOOTPROTO}, $new_intf{$interface}, $state));
+ $tree_model->set($intf{$interface}, map_index { $::i => $_ } (gtkcreate_pixbuf("eth_card_mini2"), $interface, $ip , $net->{ifcfg}{$interface}{BOOTPROTO}, $new_intf{$interface}, $state));
}
foreach my $i (difference2([ keys %intf ], \@new_intf)) {
$tree_model->remove($intf{$i});