diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-07 17:48:16 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:15 +0100 |
commit | f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a (patch) | |
tree | 10aa643c634bc87d5075bd42dfa93818e8fcbc62 /perl-install/mygtk3.pm | |
parent | 99edef45e47724a65daafbe0c3b9ad367258f820 (diff) | |
download | drakx-f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a.tar drakx-f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a.tar.gz drakx-f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a.tar.bz2 drakx-f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a.tar.xz drakx-f72cb6d8b4ee6aad7af88e5cb8fc14518d034e7a.zip |
perlish $adjustment->value => adjustment->get_value
Diffstat (limited to 'perl-install/mygtk3.pm')
-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 af2447722..aa91f5217 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->get_property("page_size") + $adjustment->value == $adjustment->upper) { + if ($o_force || $adjustment->get_property("page_size") + $adjustment->get_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); } |