diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-07 17:43:25 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:15 +0100 |
commit | 99edef45e47724a65daafbe0c3b9ad367258f820 (patch) | |
tree | d676ea19f0764289c8247943520f637abbacb914 /perl-install | |
parent | a692fa79263096cdb2da1cbd7968058742abbc69 (diff) | |
download | drakx-99edef45e47724a65daafbe0c3b9ad367258f820.tar drakx-99edef45e47724a65daafbe0c3b9ad367258f820.tar.gz drakx-99edef45e47724a65daafbe0c3b9ad367258f820.tar.bz2 drakx-99edef45e47724a65daafbe0c3b9ad367258f820.tar.xz drakx-99edef45e47724a65daafbe0c3b9ad367258f820.zip |
perlish $adjustment->page_size => adjustment->get_property("page_size")
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mygtk3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 6e4c880d1..af2447722 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -1448,7 +1448,7 @@ sub _allow_scroll_TextView_to_bottom { sub { my ($o_force) = @_; my $adjustment = $scrolledWindow->get_vadjustment; - if ($o_force || $adjustment->page_size + $adjustment->value == $adjustment->upper) { + if ($o_force || $adjustment->get_property("page_size") + $adjustment->value == $adjustment->upper) { flush(); #- one must flush before scrolling to end, otherwise the text just added *may* not be taken into account correctly, and so it doesn't really scroll to end $textView->scroll_to_mark($textView->get_buffer->get_mark('end'), 0, 1, 0, 1); } |