After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 304386 - nautilus extensions should be able to created grouped menu items
nautilus extensions should be able to created grouped menu items
Status: RESOLVED DUPLICATE of bug 158748
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-16 17:29 UTC by Sidnei da Silva
Modified: 2005-05-16 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sidnei da Silva 2005-05-16 17:29:16 UTC
Should be possible to have a MenuItem with subitems, mainly to group operations.

Use-case: 

- Group similar operations under a single menu entry as not to bloat the context
menu

Example:

- For anyone that used TortoiseSVN, when you right-click a file inside a
directory that was checked out from SVN, you get a menu like:

  - SVN Add
  - SVN Commit
  - SVN Operations
    \- Remove 
    \- Check for Modifications
    \- Preferences
    \- ...     

If all the entries were top-level, the menu could easily end up with 30 menu
entries, no matter how smart your extension is to hide non-meaningful operations.

There are other cases where this would be useful:

A Zip menu, like WinZip, but using file-roller:

- Zip (some better name?)
  \- Add to existing archive
  \- Zip & Email
  \- Unzip to current folder
  \- Unzip to <dirname>

A virus scanner menu:

- Virus Scanner
  \- Check for viruses
  \- Clean viruses
  \- Quarantine

A Send-To menu:

- Send-To
 \- Email Recipient
 \- My Images Folder
 \- <folderish-target bookmarks from nautilus>
 \- Gaim Recipient

'campd' mentioned on #nautilus that now that the ui manager is being used, doing
this should be fairly simple.
Comment 1 Christian Neumair 2005-05-16 20:34:56 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of 158748 ***