Re: Location of bookmark-popup-menu in code files



If you just want to make cosmetic change, you may be able to do something with CSS.

A quarta, 5/05/2021, 23:14, Selspam <selspam posteo de> escreveu:

Hello again,

thanks for your answer! I see, so it's not going to be as easy as I thought.

Thanks for the hint with the xdg-user-dirs. I've already stumbled upon that solution in some forums, but tbh I think this should only be a quick-and-dirty solution. I don't want to de-register the default directories completely (since other applications may need to know them). I just don't want them to take away the precious place in the sidebar.

Anyways, thanks again. I think I'll go annoy the people on the gtk-mailinglist ;)

Best regards


Am 04.05.21 um 22:49 schrieb António Fernandes:
Hi.

The sidebar is a GTK widget: GtkPlacesSidebar. So, you would need to patch GTK for that.

Alternatively, you can modify ~/.config/userdirs.dirs by setting to $HOME/ the special dirs you don't want. But this may not be what you want.

A terça, 4/05/2021, 19:34, Selspam via nautilus-list <nautilus-list gnome org> escreveu:
Dear all,

I've been browsing through the code trying to find a way to patch
nautilus in such a way that I can remove the default-bookmarks (withou
modifying my xdg-files in the home directory). Changing
'nautilus_bookmark_get_is_builtin' in bookmark.c to return always False
didn't help, so I wanted to take a look at the popup-menu directly. Does
anyone know where to find it?

Thank you and kind regard,
Selspam

(PS: I was playing around with the 3.30.5 version (Debian...), so if
this feature is already somehow implemented and I just don't know about
it, sorry.)

--
nautilus-list mailing list
nautilus-list gnome org
https://mail.gnome.org/mailman/listinfo/nautilus-list


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