diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 13:34:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 13:34:03 +0000 |
commit | 0d382496ba9d75f7abdb8f949987754c5a6cfe44 (patch) | |
tree | 32fa52cb530bdda0f70e4729dac7220a25d63892 | |
parent | 30c36941463904a2dd18888c6682771b8d646497 (diff) | |
download | rpmdrake-0d382496ba9d75f7abdb8f949987754c5a6cfe44.tar rpmdrake-0d382496ba9d75f7abdb8f949987754c5a6cfe44.tar.gz rpmdrake-0d382496ba9d75f7abdb8f949987754c5a6cfe44.tar.bz2 rpmdrake-0d382496ba9d75f7abdb8f949987754c5a6cfe44.tar.xz rpmdrake-0d382496ba9d75f7abdb8f949987754c5a6cfe44.zip |
(Gtk2::Mdv::TextView->new) connect to "size_allocate" signal rather
than to "size_request", thus enabling to actually see the TextView
being shrinked
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -614,7 +614,7 @@ sub new { my $w = Gtk2::TextView->new; my $time if 0; require Time::HiRes; - $w->signal_connect(size_request => sub { + $w->signal_connect(size_allocate => sub { my ($w, $requisition) = @_; return if !ref($w->{anchors}); return if Time::HiRes::clock_gettime() - $time < 0.200; |