[Xfce4-commits] [apps/xfce4-screensaver] 270/425: Also look for gdm-binary process
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:51:57 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit 93acfd028369e921997e91e3d8b4e11c394fb783
Author: George Vlahavas <vlahavas at gmail.com>
Date: Wed Oct 19 23:42:13 2016 +0300
Also look for gdm-binary process
In some systems the gdm binary is actually called "gdm-binary", so we
need to check for that too.
---
src/gs-lock-plug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index d4b2a7b..09aa05c 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -231,7 +231,7 @@ do_user_switch (GSLockPlug *plug)
g_error_free (error);
}
}
- else if (process_is_running ("gdm") || process_is_running("gdm3"))
+ else if (process_is_running ("gdm") || process_is_running("gdm3") || process_is_running("gdm-binary"))
{
/* GDM */
command = g_strdup_printf ("%s %s",
@@ -1291,7 +1291,7 @@ gs_lock_plug_set_switch_enabled (GSLockPlug *plug,
/* MDM */
gtk_widget_show (plug->priv->auth_switch_button);
}
- else if (process_is_running ("gdm") || process_is_running("gdm3"))
+ else if (process_is_running ("gdm") || process_is_running("gdm3") || process_is_running("gdm-binary"))
{
/* GDM */
gtk_widget_show (plug->priv->auth_switch_button);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list