diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-09-21 17:33:33 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-09-21 19:40:03 +0200 |
commit | 72ff799b774500d38b1835761738eb52eb972944 (patch) | |
tree | dbfa7f5ad3d39aaaf90a020c80820054ceccdb24 /src/prompt-box.vala | |
parent | 88523096d08e7bd400ce0b6f53857a2afe1647bc (diff) | |
download | arctica-greeter-72ff799b774500d38b1835761738eb52eb972944.tar.gz arctica-greeter-72ff799b774500d38b1835761738eb52eb972944.tar.bz2 arctica-greeter-72ff799b774500d38b1835761738eb52eb972944.zip |
Support alt+super+s for enabling screen reader to match Unity shell keybinding.
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r-- | src/prompt-box.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala index 50c46d1..075a6ba 100644 --- a/src/prompt-box.vala +++ b/src/prompt-box.vala @@ -283,6 +283,9 @@ public class PromptBox : FadableBox base.get_preferred_height (out min, out nat); min = round_to_grid (min + GreeterList.BORDER * 2) - GreeterList.BORDER * 2; nat = round_to_grid (nat + GreeterList.BORDER * 2) - GreeterList.BORDER * 2; + + if (position <= -1 || position >= 1) + min = nat = grid_size; } public void set_zone (Gtk.Widget zone) |