Commit 36a30d37 authored by Bastien Nocera's avatar Bastien Nocera

media-keys: xscreensaver, really?

Yeah, we don't support that anymore, because it's 2011.
parent 39c5eff2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment