Re: Location of bookmark-popup-menu in code files
Selspam via nautilus-list <[email protected]> Sun, 9 May 2021 13:21:08 +0000
| Newsgroups | gmane.comp.gnome.nautilus |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1095393727794802785== Content-Type: multipart/alternative; boundary="------------DF6FE8BD077CE072AC8E81C4" Content-Language: de-DE This is a multi-part message in MIME format. --------------DF6FE8BD077CE072AC8E81C4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Ah, that's a good idea, thanks, I'll try it out! Am 06.05.21 um 12:51 schrieb António Fernandes: > 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 <[email protected] > <mailto:[email protected]>> 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 >> <[email protected] <mailto:[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] <mailto:[email protected]> >> https://mail.gnome.org/mailman/listinfo/nautilus-list >> <https://mail.gnome.org/mailman/listinfo/nautilus-list> >> --------------DF6FE8BD077CE072AC8E81C4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Ah, that's a good idea, thanks, I'll try it out!</p> <p><br> </p> <div class="moz-cite-prefix">Am 06.05.21 um 12:51 schrieb António Fernandes:<br> </div> <blockquote type="cite" cite="mid:CAJa6Smfox8XYy7As8AoeVjNhscpqnS_iH=hamK155N3RaHjbjg@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="auto">If you just want to make cosmetic change, you may be able to do something with CSS.</div> <br> <div class="gmail_quote"> <div dir="ltr" class="gmail_attr">A quarta, 5/05/2021, 23:14, Selspam <<a href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>> escreveu:<br> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div> <p>Hello again,</p> <p>thanks for your answer! I see, so it's not going to be as easy as I thought.</p> <p>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. <br> </p> <p>Anyways, thanks again. I think I'll go annoy the people on the gtk-mailinglist ;)</p> <p>Best regards<br> </p> <p><br> </p> <div>Am 04.05.21 um 22:49 schrieb António Fernandes:<br> </div> <blockquote type="cite"> <div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Hi.</span> <div dir="auto" style="font-family:sans-serif;font-size:12.8px"><br> </div> <div dir="auto" style="font-family:sans-serif;font-size:12.8px">The sidebar is a GTK widget: GtkPlacesSidebar. So, you would need to patch GTK for that.</div> <div dir="auto" style="font-family:sans-serif;font-size:12.8px"><br> </div> <div dir="auto" style="font-family:sans-serif;font-size:12.8px">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.</div> </div> <br> <div class="gmail_quote"> <div dir="ltr" class="gmail_attr">A terça, 4/05/2021, 19:34, Selspam via nautilus-list <<a href="mailto:[email protected]" target="_blank" rel="noreferrer" moz-do-not-send="true">[email protected]</a>> escreveu:<br> </div> <blockquote class="gmail_quote" style="margin: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 False <br> didn't help, so I wanted to take a look at the popup-menu directly. Does <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="mailto:[email protected]" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">[email protected]</a><br> <a href="https://mail.gnome.org/mailman/listinfo/nautilus-list" rel="noreferrer noreferrer noreferrer" target="_blank" moz-do-not-send="true">https://mail.gnome.org/mailman/listinfo/nautilus-list</a><br> </blockquote> </div> </blockquote> </div> </blockquote> </div> </blockquote> </body> </html> --------------DF6FE8BD077CE072AC8E81C4-- --===============1095393727794802785== 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 --===============1095393727794802785==--