diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 20:50:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-01 20:50:26 +0000 |
commit | 73b3830330ebd3175ed358a448d1e91b31918916 (patch) | |
tree | 549a0a92a9ba6a0424699295d70fa935ededce78 /perl-install/standalone/drakbug | |
parent | 9becc48da70169c2a45f09f945dd7f4bd67a3fce (diff) | |
download | drakx-73b3830330ebd3175ed358a448d1e91b31918916.tar drakx-73b3830330ebd3175ed358a448d1e91b31918916.tar.gz drakx-73b3830330ebd3175ed358a448d1e91b31918916.tar.bz2 drakx-73b3830330ebd3175ed358a448d1e91b31918916.tar.xz drakx-73b3830330ebd3175ed358a448d1e91b31918916.zip |
fix crashing on unknown programs
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-x | perl-install/standalone/drakbug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index d2d3fd2a9..b8ba268f2 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -89,7 +89,7 @@ $table = create_packtable({ col_spacings => 5, row_spacings => 10 }, [ gtknew('Label_Left', text => N("Package: ")), $package = Gtk2::Entry->new_with_text("...") ], # complain on gtk-perl@ml [ gtknew('Label_Left', text => N("Kernel:")), gtkset_editable(Gtk2::Entry->new_with_text($kernel_release), 0) ] ); -$comb_app->set_popdown_strings("", sort(@generic_tool)); +$comb_app->set_popdown_strings("", uniq(sort(@generic_tool), if_($prog, $prog))); $comb_app->set_text(""); gtkadd($window->{window}, |