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 19:32:37 +0200
commit6303663c376676ec4e4fdd005ed07165bdefa382 (patch)
treefcee86924bca957434166aabc203a74daff10f71
parent8e56349c75323cea265a0d1dde5d79235390acf5 (diff)
downloaddrakx-6303663c376676ec4e4fdd005ed07165bdefa382.tar
drakx-6303663c376676ec4e4fdd005ed07165bdefa382.tar.gz
drakx-6303663c376676ec4e4fdd005ed07165bdefa382.tar.bz2
drakx-6303663c376676ec4e4fdd005ed07165bdefa382.tar.xz
drakx-6303663c376676ec4e4fdd005ed07165bdefa382.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 79d8c327a..aff912053 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakfont:
+ o fix crash (mga#13627)
+
Version 16.26.13 - 14 May 2015
- drakboot:
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 ?