Blob Blame History Raw
From 6f6a8771afdaa27208d3aea63525f62cafe787cf Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@fedoraproject.org>
Date: Sun, 25 Sep 2022 16:46:47 -0400
Subject: [PATCH] containmentactions/contextmenu: Enable lock/logout
 actions by default

Fedora users expect these items to exist in the desktop context menu
by default unless they've been manually disabled or removed via the
Kiosk mode.
---
 containmentactions/contextmenu/menu.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/containmentactions/contextmenu/menu.cpp b/containmentactions/contextmenu/menu.cpp
index 4392d50f5..80769e615 100644
--- a/containmentactions/contextmenu/menu.cpp
+++ b/containmentactions/contextmenu/menu.cpp
@@ -78,8 +78,6 @@ void ContextMenu::restore(const KConfigGroup &config)
         disabled.insert(QStringLiteral("configure shortcuts"));
         disabled.insert(QStringLiteral("_run_command"));
         disabled.insert(QStringLiteral("run associated application"));
-        disabled.insert(QStringLiteral("_lock_screen"));
-        disabled.insert(QStringLiteral("_logout"));
     }
     // clang-format on
 
-- 
2.36.1