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 | |
parent | 9becc48da70169c2a45f09f945dd7f4bd67a3fce (diff) | |
download | drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.gz drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.bz2 drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.tar.xz drakx-backup-do-not-use-73b3830330ebd3175ed358a448d1e91b31918916.zip |
fix crashing on unknown programs
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rwxr-xr-x | perl-install/standalone/drakbug | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 1165c3576..ec171453c 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - drakbug: o add --error option in order to provide a backtrace + o fix crashing on unknown programs o fix passing several options o prefill description too and hint the reporter to provide usefull data - report ordinary crash (unhandled exceptions, not seg faults) on bugzilla too 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}, |