Re: How to remove menu items (where has /usr/share/nautilus/ui gone) ?



Hi Emmanuele,

On 12/06/2012 09:04, Emmanuele Bassi wrote:
hi;

On 12 June 2012 08:32, garethl<garethl hmgcc gsi gov uk>  wrote:
Just so that I am clear, are you saying that relying on modified
UI/GtkBuilder files at runtime is no longer possible?

it *never* was. the UI definitions are part of the application:
modifying them is the equivalent of modifying the binary on disk.

You might well be correct that it was not a good idea, but it certainly was possible to customize Nautilus in this way.

If it is still
possible (even if not recommended), do you have any suggestions on how I can
use this technique?

you *really* shouldn't.

In which case, do you have any suggestions on how to remove menu items (without rebuilding Nautilus), please?

if you think Nautilus's UI should be modified, file a bug with a patch
and a rationale for the change.

I am not saying that I have found any bugs, just that I (and according to Google, several other people) have a particular need to remove some menu items (to limit the functionality available/visible to a user) - but I cannot see how to do this at application startup, if modifying the UI/GtkBuilder is not an option.

Regards,
Gareth

The information contained in this message (and any attachments) may
be confidential and is intended for the sole use of the named addressee.
Access, copying, alteration or re-use of the e-mail by anyone other
than the intended recipient is unauthorised. If you are not the intended
recipient please advise the sender immediately by returning the e-mail
and deleting it from your system.

This information may be exempt from disclosure under Freedom Of Information Act 2000 and may be subject to exemption under other UK information legislation. Refer disclosure requests to the Information Officer.


The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless Worldwide in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]