diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-16 03:20:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-16 03:20:14 +0000 |
commit | c7f0d804205670f60e93bcb684470bae3f0d7525 (patch) | |
tree | eba5dab0d5fa9521fd6d8a6bfd060da49ba5032c /perl-install | |
parent | 69705571009c7740c0ff89c837873ab035d03059 (diff) | |
download | drakx-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.pm | 6 |
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) |