summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-16 03:20:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-16 03:20:14 +0000
commitc7f0d804205670f60e93bcb684470bae3f0d7525 (patch)
treeeba5dab0d5fa9521fd6d8a6bfd060da49ba5032c /perl-install
parent69705571009c7740c0ff89c837873ab035d03059 (diff)
downloaddrakx-c7f0d804205670f60e93bcb684470bae3f0d7525.tar
drakx-c7f0d804205670f60e93bcb684470bae3f0d7525.tar.gz
drakx-c7f0d804205670f60e93bcb684470bae3f0d7525.tar.bz2
drakx-c7f0d804205670f60e93bcb684470bae3f0d7525.tar.xz
drakx-c7f0d804205670f60e93bcb684470bae3f0d7525.zip
(_text_insert) append option was ignored when using simplified API
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 0ee3b7bc2..65221d0b2 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -825,7 +825,11 @@ sub _text_insert {
}
}
} else {
- $buffer->set_text($t);
+ if ($opts{append}) {
+ $buffer->insert($buffer->get_end_iter, $t);
+ } else {
+ $buffer->set_text($t);
+ }
}
#- the following line is needed to move the cursor to the beginning, so that if the
#- textview has a scrollbar, it will not scroll to the bottom when focusing (#3633)