Re: Location of bookmark-popup-menu in code files
António Fernandes via nautilus-list <[email protected]> Tue, 4 May 2021 21:49:16 +0100
| Newsgroups | gmane.comp.gnome.nautilus |
|---|---|
| Message-ID | <CAJa6SmcaAEw4=mYOrHGNvgqO=Q94YU5NfeYf3aeRejoyv8NMsA@mail.gmail.com> |
--===============4947745269758740895== Content-Type: multipart/alternative; boundary="000000000000cb7e2b05c187367a" --000000000000cb7e2b05c187367a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A7a, 4/05/2021, 19:34, Selspam via nautilus-list < [email protected]> 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 > [email protected] > https://mail.gnome.org/mailman/listinfo/nautilus-list > --000000000000cb7e2b05c187367a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><span style=3D"font-family:sans-serif;font-size:12.8px">H= i.</span><div dir=3D"auto" style=3D"font-family:sans-serif;font-size:12.8px= "><br></div><div dir=3D"auto" style=3D"font-family:sans-serif;font-size:12.= 8px">The sidebar is a GTK widget: GtkPlacesSidebar. So, you would need to p= atch GTK for that.</div><div dir=3D"auto" style=3D"font-family:sans-serif;f= ont-size:12.8px"><br></div><div dir=3D"auto" style=3D"font-family:sans-seri= f;font-size:12.8px">Alternatively, you can modify ~/.config/userdirs.dirs b= y setting to $HOME/ the special dirs you don't want. But this may not b= e what you want.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"= class=3D"gmail_attr">A ter=C3=A7a, 4/05/2021, 19:34, Selspam via nautilus-= list <<a href=3D"mailto:[email protected]">[email protected]= </a>> escreveu:<br></div><blockquote class=3D"gmail_quote" style=3D"marg= in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br> <br> I've been browsing through the code trying to find a way to patch <br> nautilus in such a way that I can remove the default-bookmarks (withou <br> modifying my xdg-files in the home directory). Changing <br> 'nautilus_bookmark_get_is_builtin' in bookmark.c to return always F= alse <br> didn't help, so I wanted to take a look at the popup-menu directly. Doe= s <br> anyone know where to find it?<br> <br> Thank you and kind regard,<br> Selspam<br> <br> (PS: I was playing around with the 3.30.5 version (Debian...), so if <br> this feature is already somehow implemented and I just don't know about= <br> it, sorry.)<br> <br> -- <br> nautilus-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"norefer= rer">[email protected]</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/nautilus-list" rel=3D"no= referrer noreferrer" target=3D"_blank">https://mail.gnome.org/mailman/listi= nfo/nautilus-list</a><br> </blockquote></div> --000000000000cb7e2b05c187367a-- --===============4947745269758740895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- nautilus-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/nautilus-list --===============4947745269758740895==--