From 73abc9de673dc297f36680538fa0f9abe8d7e4aa Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 28 Apr 2023 15:29:29 -0700 Subject: [PATCH] Drop KDE branch of start_with_launcher Since 022865ab we do not use start_with_launcher on KDE any more. The needle for it has since got lost in an unused needle cleanup. Let's just drop this branch for now; we can add it back if we ever need it again. Signed-off-by: Adam Williamson --- lib/utils.pm | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index dec187b1..eafc6813 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1088,28 +1088,8 @@ sub start_with_launcher { assert_and_click $launcher; wait_still_screen 5; } - elsif ($desktop eq 'kde') { - # Click on the KDE launcher icon - assert_and_click 'kde_menu_launcher'; - wait_still_screen 2; - - # Select the appropriate submenu - assert_and_click $submenu; - wait_still_screen 2; - - # Select the appropriate menu subgroup where real launchers - # are placed, but only if requested - if ($group) { - send_key_until_needlematch($group, 'down', 20, 3); - send_key 'ret'; - #assert_and_click $group; - wait_still_screen 2; - } - - # Find and click on the menu item to start the application - send_key_until_needlematch($launcher, 'down', 40, 3); - send_key 'ret'; - wait_still_screen 5; + else { + die "start_with_launcher is currently only implemented on GNOME!"; } }