summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-29 12:41:58 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-29 12:41:58 +0100
commit265ce1285a10e4da33853758197a5fb7b02778dd (patch)
tree3145c6fe5e9787a96d52d41a330b73261c3fab7e /perl-install/ugtk3.pm
parent8daa5c273bb87486f9efe587b47f4751c8c095fc (diff)
downloaddrakx-265ce1285a10e4da33853758197a5fb7b02778dd.tar
drakx-265ce1285a10e4da33853758197a5fb7b02778dd.tar.gz
drakx-265ce1285a10e4da33853758197a5fb7b02778dd.tar.bz2
drakx-265ce1285a10e4da33853758197a5fb7b02778dd.tar.xz
drakx-265ce1285a10e4da33853758197a5fb7b02778dd.zip
make shrinking window work again (eg: draknfs)
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r--perl-install/ugtk3.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index 8f8fdcc21..445c50780 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -765,8 +765,7 @@ sub sync {
sub flush() { gtkflush() }
sub shrink_topwindow {
my ($o) = @_;
- warn "NOT IMPLEMENTED !!!!\n"; return;
- $o->{real_window}->signal_emit('size_allocate', Gtk3::Gdk::Rectangle->new(-1, -1, -1, -1));
+ $o->{real_window}->resize(1, 1);
}
sub exit {
gtkset_mousecursor_normal(); #- for restoring a normal in any case