aboutsummaryrefslogtreecommitdiff
path: root/src/prompt-box.vala
diff options
context:
space:
mode:
authorleigh123linux <leigh123linux@googlemail.com>2017-06-20 14:20:23 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-20 15:10:24 +0200
commit2fa9791d9802d5c34323d9bd99ad9fa608abdda6 (patch)
treecf4eb7443137558dd7b78ca4464408f6a83281c4 /src/prompt-box.vala
parent196464c582b53e91678bfe2870a3e5c20c677e0d (diff)
downloadarctica-greeter-2fa9791d9802d5c34323d9bd99ad9fa608abdda6.tar.gz
arctica-greeter-2fa9791d9802d5c34323d9bd99ad9fa608abdda6.tar.bz2
arctica-greeter-2fa9791d9802d5c34323d9bd99ad9fa608abdda6.zip
Work around GTK 3.20's new allocation logic. Ported from slick-greeter.
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r--src/prompt-box.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index 9901d4f..f6d8588 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -93,6 +93,9 @@ public class PromptBox : FadableBox
construct
{
+ // Hack to avoid gtk 3.20's new allocate logic, which messes us up.
+ resize_mode = Gtk.ResizeMode.QUEUE;
+
set_start_row ();
reset_last_row ();
expand = true;