Bug 885088 - There is no "ui" folder under /usr/share/nautilus/
Summary: There is no "ui" folder under /usr/share/nautilus/
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus
Version: 17
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-07 13:41 UTC by entropy
Modified: 2015-03-03 23:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-10 12:42:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description entropy 2012-12-07 13:41:29 UTC
Description of problem: There is no "ui" directory under "/usr/share/nautilus/" so I can't modify the arrangement of the items in the right-click desktop context-menu (which was made by editing the .xml file in the directory). 


Version-Release number of selected component (if applicable):
17


Steps to Reproduce:
There is no nautilus "ui" directory present.
  
Actual results:
I couldn't find /usr/share/nautilus/ui/ folder.

Expected results:
The presence of /usr/share/nautilus/ui folder and the required files for modifying the context menu.

Comment 1 Tomáš Bžatek 2012-12-07 13:52:19 UTC
(In reply to comment #0)
> Description of problem: There is no "ui" directory under
> "/usr/share/nautilus/"

Perhaps because none exists and is not needed? 

> (which was made by editing the .xml file in the directory)

When? Where? What xml file? Could you be more descriptive?

> Expected results:
> The presence of /usr/share/nautilus/ui folder and the required files for
> modifying the context menu.

I'm afraid you'd have to touch the code in order to do that. Glade files are not that widely used, most of the UI may be hardcoded in the sources or compiled in as a resource.

Comment 2 entropy 2012-12-07 20:42:00 UTC
Check this Ubuntu thread: http://ubuntuforums.org/showthread.php?t=1786591
especially jayboe's reply. 

And also this link: http://stackoverflow.com/questions/3326507/edit-original-nautilus-context-menu 

You will see that /usr/share/nautilus/ui/ was available (in the past) and unless that one is available, I can't modify the right-click desktop menu in gnome3 (maybe I want to switch the places of "Create New Folder" and "Create New Document". How can I do that?) Where are the "ui" xml files (you can see in the second link what xml files I'm pointing at)? 
Thank you.

Comment 3 entropy 2012-12-08 19:27:32 UTC
That's not really "OPEN SOURCE", is it??? You are limiting the users' ways of customization!

Comment 4 Tomáš Bžatek 2012-12-10 12:42:08 UTC
(In reply to comment #2)
> You will see that /usr/share/nautilus/ui/ was available (in the past) and
> unless that one is available, I can't modify the right-click desktop menu in
> gnome3 (maybe I want to switch the places of "Create New Folder" and "Create
> New Document".

While this was certainly nice feature to some users, the Gnome project is evolving rapidly and especially Nautilus ("Files") has undergone huge changes.

> How can I do that?) Where are the "ui" xml files (you can see
> in the second link what xml files I'm pointing at)? 

The only officially supported way of extending Nautilus was through the extensions, using libnautilus-extension library. Other way of customizations were just messing with application internals and generally discouraged. While the UI files were available previously, no one was supposed to touch them and given the recent changes, it is no more used.

(In reply to comment #3)
> That's not really "OPEN SOURCE", is it??? You are limiting the users' ways
> of customization!

Please don't put random meaning to well-known terms. Nautilus is open source, you can grab the source code and modify it for your needs (and even redistribute your changes etc.).

If you want to have a way to modify your context menu, please file a RFE bugreport in upstream bugzilla or start discussion on project mailing list. Closing from Fedora side.

Comment 5 Red Hat Bugzilla 2013-10-04 00:17:15 UTC
Removing external tracker bug with the id 'A23' as it is not valid for this tracker


Note You need to log in before you can comment on or make changes to this bug.