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 536407 - Add a nautilus context menu item to launch baobab
Add a nautilus context menu item to launch baobab
Status: RESOLVED WONTFIX
Product: baobab
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Baobab Maintainers
Baobab Maintainers
: 439900 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-06-03 11:16 UTC by Thomas Wood
Modified: 2012-07-31 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to implement the feature (6.83 KB, patch)
2008-06-03 11:17 UTC, Thomas Wood
none Details | Review
Updated patch with corrected strings (6.84 KB, patch)
2008-06-03 16:50 UTC, Thomas Wood
none Details | Review

Description Thomas Wood 2008-06-03 11:16:46 UTC
I'd like to be able to launch baobab from a context menu in nautilus when a folder is selected.
Comment 1 Thomas Wood 2008-06-03 11:17:47 UTC
Created attachment 112047 [details] [review]
Patch to implement the feature
Comment 2 Paolo Borelli 2008-06-03 12:24:01 UTC
Neat! at a quick glance the code looks good to me (modulo the fact that I'd prefer it to use the gnome codestyle of tabs for indentation).

Before merging it however, I'd like to hear some opinions since - given that baobab is installed by default and nautilus extensions can not be enabled/disabled - this means adding a menu item on every folder icon and I recall there were some complaints about the context menu beeing too cluttered.
Comment 3 Paolo Borelli 2008-06-03 12:25:28 UTC
Also, shouldn't it be "analyze" instead of "analyse"?
Comment 4 Fabio Marzocca 2008-06-03 13:28:56 UTC
Thomas,

thank you very much for the patch. I will run it lately tomorrow as I am out of home now. As Paolo said, we should discuss the "context menu cluttering" issue before merging.

Fabio
Comment 5 Thomas Wood 2008-06-03 16:50:08 UTC
Created attachment 112068 [details] [review]
Updated patch with corrected strings

Here's an updated patch with correct captialisation and en_US strings rather than en_GB.
Comment 6 Thomas Wood 2008-06-03 16:54:49 UTC
I agree about not wanting to add more clutter to the context menus. A simple solution to this might be to add a gconf key set by the preference window in Baobab. The nautilus extension would not create the menu item unless the gconf key is enabled.

With regards to indentation, I'm not aware of any official GNOME coding style, but feel free to run indent or uncrustify over my patches!
Comment 7 Sebastien Bacher 2008-06-10 22:07:35 UTC
wouldn't a button in the nautilus properties dialog be good option too?
Comment 8 André Klapper 2012-02-23 11:39:37 UTC
*** Bug 439900 has been marked as a duplicate of this bug. ***
Comment 9 Paolo Borelli 2012-07-31 11:31:44 UTC
I discussed a bit with the design team and it was decided that putting baobab in every folder context menu is too prominent