summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rwxr-xr-xperl-install/standalone/drakfont2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e1e9150eb..2c18a2f66 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakfont:
+ o fix a crash (mga#12057)
+
Version 16.16 - 16 December 2013
- fix a drakx crash (mga#6031)
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index c67041263..68e4c67eb 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -633,7 +633,7 @@ sub advanced_install() {
$list->get_selection->set_mode('browse');
$list->set_rules_hint(1);
$model->signal_connect("row-inserted" => sub { $button and $button->set_sensitive(1) });
- $model->signal_connect("row-deleted" => sub { $button and $button->set_sensitive($model->get_iter_first) });
+ $model->signal_connect("row-deleted" => sub { $button and $button->set_sensitive($model->get_iter_first || 0) });
dialog(N("Import fonts"),
[