[gnome-settings-daemon] media-keys: xscreensaver, really?
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: xscreensaver, really?
- Date: Tue, 13 Sep 2011 14:49:44 +0000 (UTC)
commit 36a30d37e128bb73fc6b83bbc2d9d5e811806319
Author: Bastien Nocera <hadess hadess net>
Date: Tue Sep 13 15:49:10 2011 +0100
media-keys: xscreensaver, really?
Yeah, we don't support that anymore, because it's 2011.
plugins/media-keys/gsd-media-keys-manager.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 4a83b75..b71c3af 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1469,13 +1469,7 @@ do_action (GsdMediaKeysManager *manager,
break;
case SCREENSAVER_KEY:
case SCREENSAVER2_KEY:
- if ((cmd = g_find_program_in_path ("gnome-screensaver-command"))) {
- execute (manager, "gnome-screensaver-command --lock", FALSE, FALSE);
- } else {
- execute (manager, "xscreensaver-command -lock", FALSE, FALSE);
- }
-
- g_free (cmd);
+ execute (manager, "gnome-screensaver-command --lock", FALSE, FALSE);
break;
case HELP_KEY:
do_url_action (manager, "ghelp", timestamp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]