summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/ugtk3.pm3
2 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ddd9cec1e..aadb2e923 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -2,6 +2,8 @@
o do not offer to switch to OSS
o do not offer to switch to another driver if there's none
o do not offer to pick a random driver when we've a default one
+- ugtk3 layer:
+ o make shrinking window work again (eg: draknfs)
Version 16.1 - 28 November 2013
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