Skip to content

Commit 659362f

Browse files
committed
nemo-view.c: Update context menu item visibility from preferences
after updating the menu items from any extensions. The reset_extension_actions_menu call ends up resetting item visibility according to each item's 'action appearance' - we need to re-hide those that the user doesn't want there. We end up having to call this at the end of real_update_menus (which updates all menu items except extensions and actions), and need to continue doing so, as this is called when the selection changes, and removing it causes menu size issues when right-clicking a previously-unselected item. Fixes linuxmint/mint20.2-beta#25. Fixes linuxmint/mint20.2-beta#22.
1 parent 531a388 commit 659362f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nemo-view.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10053,6 +10053,7 @@ nemo_view_update_actions_and_extensions (NemoView *view)
1005310053

1005410054
update_actions_visibility (view, selection);
1005510055
reset_extension_actions_menu (view, selection);
10056+
update_configurable_context_menu_items (view);
1005610057

1005710058
nemo_file_list_free (selection);
1005810059
}

0 commit comments

Comments
 (0)