summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-19 05:08:42 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-19 09:33:31 -0400
commitaed58076b2046bebcca2b96a68656921ee7558ad (patch)
tree48a73fa39a881b9e89c4fd9411a0e0114d0e0952
parent7e16a699f26a79e467630a1960fdf0da92968d78 (diff)
downloaddrakx-aed58076b2046bebcca2b96a68656921ee7558ad.tar
drakx-aed58076b2046bebcca2b96a68656921ee7558ad.tar.gz
drakx-aed58076b2046bebcca2b96a68656921ee7558ad.tar.bz2
drakx-aed58076b2046bebcca2b96a68656921ee7558ad.tar.xz
drakx-aed58076b2046bebcca2b96a68656921ee7558ad.zip
fix crash (mga#13627)
-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 9ea357c82..24536588a 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakfont:
+ o fix crash (mga#13627)
+
Version 16.97 - 18 May 2015
- library (for draklive-install):
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index ba9e17ab0..ade0d51c5 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -661,7 +661,7 @@ sub advanced_install() {
sub list_to_remove() {
#my @files_path = grep(!/fonts/, all($current_path)); garbage ?
gtkflush();
- my ($indices) = $selection->get_selected_rows;
+ my ($indices) = $left_list->get_selection->get_selected_rows;
my (@tux) = @$indices; #- get tree & paths
push @uninstall, map { $left_model->get($left_model->get_iter($_), 0) } @tux;
#push @uninstall, $current_path . "/" . $files_path[$_] foreach @number_to_remove; garbage ?