diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 12:39:32 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 12:39:32 +0000 |
commit | 6b0e2abab8e6a9985f044d4c89051d932a3277f2 (patch) | |
tree | 9ff5406635341f25b75790b2b0967ff1d3e0c805 /perl-install/ugtk2.pm | |
parent | 00fb105b32567a0f77bc7b001b73a54fda725987 (diff) | |
download | drakx-6b0e2abab8e6a9985f044d4c89051d932a3277f2.tar drakx-6b0e2abab8e6a9985f044d4c89051d932a3277f2.tar.gz drakx-6b0e2abab8e6a9985f044d4c89051d932a3277f2.tar.bz2 drakx-6b0e2abab8e6a9985f044d4c89051d932a3277f2.tar.xz drakx-6b0e2abab8e6a9985f044d4c89051d932a3277f2.zip |
shrink_topwindow: add (force gtk to recompute size of topwindow, when some child widgets got destroyed or shrinked)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 09ebdf566..b6e638611 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -989,6 +989,10 @@ sub sync { flush(); } sub flush() { gtkflush() } +sub shrink_topwindow { + my ($o) = @_; + $o->{rwindow}->signal_emit('size_allocate', Gtk2::Allocation->new(-1, -1, -1, -1)); +} sub exit { gtkset_mousecursor_normal(); #- for restoring a normal in any case flush(); |