[gnome-panel/wip/muktupavels/shutdown-applet: 1/2] action-button: fix copy/paste errors



commit 4cabb29673344306876712546fdbec975ccd5a67
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 16 23:42:48 2020 +0300

    action-button: fix copy/paste errors

 modules/action-button/gp-lock-screen-applet.c | 2 +-
 modules/action-button/gp-logout-applet.c      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/action-button/gp-lock-screen-applet.c b/modules/action-button/gp-lock-screen-applet.c
index 517d94805..c6e55c0a6 100644
--- a/modules/action-button/gp-lock-screen-applet.c
+++ b/modules/action-button/gp-lock-screen-applet.c
@@ -436,5 +436,5 @@ gp_lock_screen_applet_is_disabled (GpLockdownFlags   flags,
                           "“org.gnome.desktop.lockdown” GSettings schema is "
                           "set to true."));
 
-  return FALSE;
+  return TRUE;
 }
diff --git a/modules/action-button/gp-logout-applet.c b/modules/action-button/gp-logout-applet.c
index a26fcb74e..459170171 100644
--- a/modules/action-button/gp-logout-applet.c
+++ b/modules/action-button/gp-logout-applet.c
@@ -169,7 +169,7 @@ gp_logout_applet_clicked (GpActionButtonApplet *applet)
 
   if (!self->session_manager)
     {
-      g_warning ("Screensaver service not available.");
+      g_warning ("Session manager service not available.");
       return;
     }
 
@@ -224,5 +224,5 @@ gp_logout_applet_is_disabled (GpLockdownFlags   flags,
                           "“org.gnome.desktop.lockdown” GSettings schema is "
                           "set to true."));
 
-  return FALSE;
+  return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]