aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
authorClement Lefebvre <clement.lefebvre@linuxmint.com>2023-01-17 11:12:07 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-06 12:08:33 +0100
commit395b2cadbf259ea93096676a271392278340c21e (patch)
treef893195de143b9f9d0cb1d4267675f5d75ce125f /src/main-window.vala
parent74ad7aca037b60b3d9aa7bf089e0ff9e55e2b72b (diff)
downloadarctica-greeter-395b2cadbf259ea93096676a271392278340c21e.tar.gz
arctica-greeter-395b2cadbf259ea93096676a271392278340c21e.tar.bz2
arctica-greeter-395b2cadbf259ea93096676a271392278340c21e.zip
keyboard navigation: Don't prevent left/right movement in Gtk.Entry.
The shutdown dialog Left/Right navigation works without this code anyway. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d9d47171d4c00a7004a5548f7e170355c2ba1618
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index a44ede0..614014d 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -418,16 +418,6 @@ public class MainWindow : Gtk.Window
if (login_box.sensitive)
top.scroll (GreeterList.ScrollTarget.DOWN);
return true;
- case Gdk.Key.Left:
- case Gdk.Key.KP_Left:
- if (shutdown_dialog != null)
- shutdown_dialog.focus_prev ();
- return true;
- case Gdk.Key.Right:
- case Gdk.Key.KP_Right:
- if (shutdown_dialog != null)
- shutdown_dialog.focus_next ();
- return true;
case Gdk.Key.F10:
if (login_box.sensitive)
menubar.select_first (false);