aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-18 13:34:03 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-18 13:34:03 +0000
commit0d382496ba9d75f7abdb8f949987754c5a6cfe44 (patch)
tree32fa52cb530bdda0f70e4729dac7220a25d63892
parent30c36941463904a2dd18888c6682771b8d646497 (diff)
downloadrpmdrake-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-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 5bb6b7c8..7585207c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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;