GNOME Bugzilla – Bug 763768
Wrong margin used for the sidebar separator
Last modified: 2016-04-14 09:47:07 UTC
Nautilus is adding separators itself before custom items in the GtkPlacesSideBar, the marging are different from the default widget ones though. Right click on the trash for an example That's because https://git.gnome.org/browse/nautilus/tree/src/nautilus-window.c#n1267 uses no left/right margings Where https://git.gnome.org/browse/gtk+/tree/gtk/gtkplacessidebar.c?h=gtk-3-18#n3349 has 12 pixels marging setting left/right margins to that value makes the UI consistant
Created attachment 324117 [details] [review] use the correct margins
Review of attachment 324117 [details] [review]: Thanks Sebastien for the patch! I talked with designers, and what we would like to do is to not set any margin, at least for now the start and end, both in gtk+ and nautilus, so themes can replace it easily. Would you like a patch on those two situations you pointed out?
Created attachment 324175 [details] [review] don't set margings from the code
Created attachment 324176 [details] [review] don't set margings from the code
Created attachment 324177 [details] [review] don't set margings from the code
Created attachment 324205 [details] [review] don't set margings from the code same as before but don't change top/bottom ones
Review of attachment 324177 [details] [review]: LGTM module the commit title missing a "set"
Review of attachment 324205 [details] [review]: LGTM module the commit title missing a "set". Thanks for these patches!