[nautilus/gnome-3-20] Revert "Revert "nautilus-desktop-window: disable Alt+Home for desktop view""
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] Revert "Revert "nautilus-desktop-window: disable Alt+Home for desktop view""
- Date: Thu, 17 Mar 2016 13:13:52 +0000 (UTC)
commit 27f846ee5d00ddf3aa23ed2528c6978e66669fcc
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Mar 17 14:12:07 2016 +0100
Revert "Revert "nautilus-desktop-window: disable Alt+Home for desktop view""
My fault to say Alex to revert it. Let's make it into the release, since I think
it's important enough.
This reverts commit d4ebfafb39976157e0c10f9b65a72fcf82203a9f.
src/nautilus-desktop-window.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
index 910d150..e7f09f3 100644
--- a/src/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -92,6 +92,11 @@ nautilus_desktop_window_init_actions (NautilusDesktopWindow *window)
action = g_action_map_lookup_action (G_ACTION_MAP (window),
"new-tab");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
+
+ /* Don't allow switching to home dir on desktop */
+ action = g_action_map_lookup_action (G_ACTION_MAP (window),
+ "go-home");
+ g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]