diff options
-rwxr-xr-x | menus_launcher.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/menus_launcher.pl b/menus_launcher.pl index db933714..9c6782bb 100755 --- a/menus_launcher.pl +++ b/menus_launcher.pl @@ -36,7 +36,7 @@ my $combo = Gtk2::Combo->new; $combo->set_popdown_strings("root", sort(list_users())); $table->attach($combo, 2, 3, 1, 2, 'fill', 'fill', 0, 0); my $b2 = gtksignal_connect(Gtk2::Button->new(N("Configure...")), - clicked => sub { my $a = $combo->entry->get_text(); system($a eq "root" ? "$bindir/menudrake --usermenu &" : " su $a -c \"$bindir/menudrake &\"") }); + clicked => sub { my $a = $combo->entry->get_text(); system($a eq "root" ? "$bindir/menudrake --usermenu &" : " su $a -c \"$bindir/menudrake\" &") }); $table->attach($b2, 1, 2, 1, 2, 'fill', 'fill', 0, 0); $vbox->pack_start(Gtk2::HSeparator->new, 0, 0, 5); my $bbox = Gtk2::HButtonBox->new; |