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

Emmanuele Bassi <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CALnHYQF2JSKH8rEvtn+iprket84Zqk3L_Tph5cSD4Qr01bu-QQ@mail.gmail.com>
hi;

On 12 June 2012 14:48, garethl <[email protected]> wrote:
>> you don't - that's what I've been trying to tell you. the UI
>> definition file is *code*; its contents and structure are part of the
>> Nautilus code base as much as the C files. changing the contents of
>> the UI definition without corresponding changes inside the C source
>> code is the equivalent of poking at random bytes in the binary file.
>
>
> Thanks you for your reply Emmanuele.
>
> I completely "get" what you're saying - that this method was likely to
> result in a catastrophe, and should never, ever, ever be contemplated.
> However, what I would like confirmed is that this method, which definitely
> used to be *possible* (because I have seen it with my own eyes), is now *not
> possible*.

yes, it's not possible because now (in the interest of relocatability
of the application, and to improve the startup time) the UI
description file is "compiled" inside the binary itself; the UI
description file is only available in the Git repository, and every
change requires recompiling Nautilus.

given that editing the UI file once installed was never a supported
action for the reasons I pointed out in this thread, this is not a
break in functionality.

what you want to achieve cannot be done with the current, or any
future, version of Nautilus; the only way to do it is to actually
modify Nautilus so that it can do what you want.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/
-- 
nautilus-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/nautilus-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.