From 395b2cadbf259ea93096676a271392278340c21e Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 17 Jan 2023 11:12:07 +0000 Subject: 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 --- src/main-window.vala | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/main-window.vala') 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); -- cgit v1.2.3