diff options
author | Michael Webster <miketwebster@gmail.com> | 2017-06-20 11:20:35 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-20 11:20:35 +0200 |
commit | 552dd36c2c012642643cba5692cb90c2300e4dd2 (patch) | |
tree | e331b69f2bb8dec0373aeab5818992fe50f42880 /src | |
parent | 434484b5f0b14c797145666efaefff4c6602c5c5 (diff) | |
download | arctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.tar.gz arctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.tar.bz2 arctica-greeter-552dd36c2c012642643cba5692cb90c2300e4dd2.zip |
Fix prompt display in gtk3 > 3.20 (ported from slick-greeter)
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/greeter-list.vala | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 1fcefc7..ec75868 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,6 +51,7 @@ arctica_greeter_CFLAGS = \ logo_generator_CFLAGS = $(arctica_greeter_CFLAGS) arctica_greeter_VALAFLAGS = \ + $(AM_VALAFLAGS) \ --debug \ --pkg posix \ --pkg gtk+-3.0 \ diff --git a/src/greeter-list.vala b/src/greeter-list.vala index 4734ab1..17d80a8 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -626,6 +626,10 @@ public abstract class GreeterList : FadableBox focus_prompt (); entry_displayed_done (); mode = Mode.ENTRY; + +#if HAVE_GTK_3_20_0 + queue_allocate (); +#endif } protected void select_entry (PromptBox entry, double direction, bool do_scroll = true) |