mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
places-sidebar: Refine the spacing
Based on a patch by Yosef Or Boczko, https://bugzilla.gnome.org/show_bug.cgi?id=731443
This commit is contained in:
parent
f561ee34d2
commit
40b50083ee
@ -97,8 +97,8 @@
|
||||
* location.
|
||||
*/
|
||||
|
||||
#define EJECT_BUTTON_XPAD 6
|
||||
#define ICON_CELL_XPAD 6
|
||||
#define EJECT_BUTTON_XPAD 8
|
||||
#define ICON_CELL_XPAD 8
|
||||
#define TIMEOUT_EXPAND 500
|
||||
|
||||
/* These are used when a destination-side DND operation is taking place.
|
||||
@ -3751,6 +3751,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
|
||||
/* tree view */
|
||||
tree_view = GTK_TREE_VIEW (gtk_tree_view_new ());
|
||||
gtk_tree_view_set_headers_visible (tree_view, FALSE);
|
||||
gtk_widget_set_margin_top (GTK_WIDGET (tree_view), 4);
|
||||
|
||||
gtk_tree_view_set_row_separator_func (tree_view,
|
||||
row_separator_func,
|
||||
@ -3763,7 +3764,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
|
||||
cell = gtk_cell_renderer_pixbuf_new ();
|
||||
g_object_set (cell,
|
||||
"xpad", 10,
|
||||
"ypad", 6,
|
||||
"ypad", 8,
|
||||
"follow-state", TRUE,
|
||||
NULL);
|
||||
gtk_tree_view_column_pack_start (col, cell, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user