[nautilus] files-view: Remove duplicated setting of new-folder action
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] files-view: Remove duplicated setting of new-folder action
- Date: Tue, 23 Aug 2022 18:32:28 +0000 (UTC)
commit e5ea83a882a9434546fe22f02d83957a03f1a184
Author: Ignacy Kuchciński <ignacykuchcinski gmail com>
Date: Fri Aug 12 22:00:14 2022 +0200
files-view: Remove duplicated setting of new-folder action
src/nautilus-files-view.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index eaf3f44a6..554c69ab3 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -7610,10 +7610,6 @@ real_update_actions_state (NautilusFilesView *view)
(selection_contains_recent || selection_contains_search ||
selection_contains_starred));
- action = g_action_map_lookup_action (G_ACTION_MAP (view_action_group),
- "new-folder");
- g_simple_action_set_enabled (G_SIMPLE_ACTION (action), can_create_files);
-
item_opens_in_view = selection_count != 0;
for (l = selection; l != NULL; l = l->next)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]