Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement submenus for actions #3353

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

mtwebster
Copy link
Member

@mtwebster mtwebster commented Jan 22, 2024

  • allow submenus, separators
  • allow nested menus
  • menu editor
    • drag-and-drop
    • allow submenus to have icons
    • allow overriding action labels, icons
    • enable/disable actions

todo:

  • refactor layout loading machinery currently in nemo-view.c, to
    be useable elsewhere.
  • implement for sidebars and the 'empty' desktop window. These
    are handled differently from the main view popups and menubar. - places sidebar and blank desktop done
  • Improve DND in the tree editor.
  • Make the editor accessible and part of the build (once we decide how we want to do it).

You can currently launch the editor in the actions-organizer directory and running python3 nemo-actions-organizer.py
image

@mtwebster mtwebster marked this pull request as draft January 22, 2024 19:22
@mtwebster mtwebster force-pushed the action-org branch 4 times, most recently from d7f712f to 416d841 Compare January 30, 2024 23:58
- allow submenus, separators
- allow nested menus
- menu editor
  - drag-and-drop
  - allow submenus to have icons
  - allow overriding action labels, icons
  - enable/disable actions
- refactor blank-desktop-view, treeview-sidebar and places-
  sidebar to utilize GtkActions
- refactor action manager to work everywhere, not just the primary
  view
- refactor nemo-actions.c to clean up, reduce code.
These allow filename and glob matching against the selection's files
or their parent:

- Glob patterns (*.foo) can be used against filenames (not paths).
- Exact filenames as well as full paths can be used for exact matches.

See sample action for more behavior info.
@mtwebster mtwebster marked this pull request as ready for review February 5, 2024 13:53
@mtwebster mtwebster merged commit 7be3fbf into linuxmint:master Feb 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant