summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-08-24 11:06:23 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-08-24 11:06:23 +0000
commitf59b95b9e56f59b0ce4cf696f82430bf480c1405 (patch)
treee9da20b70a2924115e3d989ee7ff474a246c8cfc /perl-install/standalone
parentf97ba1f0db7041622571bf416b49aad2e78b69e3 (diff)
downloaddrakx-f59b95b9e56f59b0ce4cf696f82430bf480c1405.tar
drakx-f59b95b9e56f59b0ce4cf696f82430bf480c1405.tar.gz
drakx-f59b95b9e56f59b0ce4cf696f82430bf480c1405.tar.bz2
drakx-f59b95b9e56f59b0ce4cf696f82430bf480c1405.tar.xz
drakx-f59b95b9e56f59b0ce4cf696f82430bf480c1405.zip
cosmetics fix
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksambashare5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare
index d5eebf27d..3820c5a47 100755
--- a/perl-install/standalone/draksambashare
+++ b/perl-install/standalone/draksambashare
@@ -241,8 +241,7 @@ sub modify_entry {
my $button = Gtk2::Button->new_from_stock('gtk-open');
$button->signal_connect(clicked => sub { $file_dialog->show });
- my $w = ugtk2->new(N("DrakSamba entry"),
- icon => "/usr/lib/libDrakX/icons/drakfirewall.png");
+ my $w = ugtk2->new(N("DrakSamba entry"));
$iter = $selection->get_selected;
$iter or info_dialog(N("Error"), N("Please add a Samba share to be able to modify it.")) and return;
@@ -438,8 +437,6 @@ $treeview->signal_connect(button_press_event => sub {
my $selection = $treeview->get_selection;
my $iter = $selection->get_selected;
if ($iter) {
- my $path = $model->get_path($iter);
- my $i = ($path->get_indices)[0];
modify_entry($model, $treeview) if $event->type eq '2button-press';
}
});