summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 9ecfccee4..bf0fa6c1f 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -744,7 +744,7 @@ sub file_ok_sel {
sub list_remove() { #- TODO : multi-selection
my ($treeStore, $iter) = $list->get_selection->get_selected;
- my $to_remove = $treeStore->_get($iter, 0);
+ my $to_remove = $treeStore->get($iter, 0);
my ($index) = map_index { if_($_ eq $to_remove, $::i) } @install;
splice @install, $index, 1;
$treeStore->remove($iter);
@@ -783,7 +783,7 @@ sub list_to_remove() {
#my @files_path = grep(!/fonts/, all($current_path)); garbage ?
gtkflush();
my ($tree, @tux) = $left_list->get_selection->get_selected_rows(); #- get tree & paths
- foreach (@tux) { my $iter = $tree->get_iter($_); push @uninstall, $tree->_get($iter, 0) }
+ push @uninstall, $tree->get($tree->get_iter($_), 0) foreach @tux;
#push @uninstall, $current_path . "/" . $files_path[$_] foreach @number_to_remove; garbage ?
$$central_widget->destroy();
show_list_to_remove();
@@ -911,10 +911,7 @@ sub import_status_uninstall() {
sub progress {
my ($progressbar, $incr, $label_text) = @_;
- my ($new_val) = $progressbar->fraction;
- $new_val += $incr;
- if ($new_val > 1) { $new_val = 1 }
- $progressbar->fraction($new_val);
+ $progressbar->set_fraction(min(1, $progressbar->get_fraction + $incr));
$progressbar->set_text($label_text);
gtkflush();
}
ated pot filePablo Saratxaga2003-08-112-128/+101 * updated pot filePablo Saratxaga2003-08-082-87/+233 * updated pot filePablo Saratxaga2003-08-042-72/+226 * updated pot filePablo Saratxaga2003-07-312-634/+219 * updated pot filePablo Saratxaga2003-07-292-90/+67 * updated pot filePablo Saratxaga2003-07-252-787/+757 * Added Uzbek cyrillic filePablo Saratxaga2003-07-231-0/+18251 * updated pot filePablo Saratxaga2003-07-211-51/+117 * updated pot filePablo Saratxaga2003-07-141-138/+418 * changed "Country" . " / Region" to "Country / Region" and fixed Chinese po'sPablo Saratxaga2003-07-121-12/+7 * updated pot filePablo Saratxaga2003-07-101-95/+129 * updated pot filePablo Saratxaga2003-07-092-10998/+11474 * Moved Bokmaal file to nb.poPablo Saratxaga2003-06-281-21449/+0 * Fixed typos; updated Ukrainian po filePablo Saratxaga2003-06-272-33/+33 * updated pot filePablo Saratxaga2003-06-272-498/+721 * updated pot filePablo Saratxaga2003-06-162-458/+572 * change a bit how strings are passed to advertising systemGuillaume Cottenceau2003-06-123-1137/+1545 * updated Estonien, Japanese, Albanian and Vietnamese po filesPablo Saratxaga2003-06-033-3301/+3539 * UpdateArkadiusz Lipiec2003-06-021-195/+308 * updated Spanish translationsFabián Mandelbaum2003-06-021-154/+271 * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-3147-6454/+11245 * updated Vietnamese filePablo Saratxaga2003-05-302-67/+68 * updated Albanian filePablo Saratxaga2003-05-281-5/+46 * updated pot filePablo Saratxaga2003-05-261-3/+43 * updated pot filePablo Saratxaga2003-05-222-75/+134 * updated pot filePablo Saratxaga2003-05-202-98/+147 * updated German, Estonian and Finnish filesPablo Saratxaga2003-05-203-1420/+1964 * update french translationThierry Vignaud2003-05-201-67/+54 * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 * updated pot filePablo Saratxaga2003-05-16