Skip to content

Commit 77090c4

Browse files
committed
preferences: Add some spacing between rows of the actions and
templates lists.
1 parent 3a67205 commit 77090c4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/nemo-action-config-widget.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@ refresh_widget (NemoActionConfigWidget *widget)
301301
gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 2);
302302

303303
GtkWidget *row = gtk_list_box_row_new ();
304+
g_object_set(G_OBJECT (row),
305+
"margin-top", 4,
306+
"margin-bottom", 4,
307+
NULL);
304308
gtk_container_add (GTK_CONTAINER (row), box);
305309

306310
gtk_widget_show_all (row);

src/nemo-template-config-widget.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ refresh_widget (NemoTemplateConfigWidget *widget)
267267
gtk_box_pack_start (GTK_BOX (box), w, TRUE, TRUE, 0);
268268

269269
GtkWidget *row = gtk_list_box_row_new ();
270+
g_object_set(G_OBJECT (row),
271+
"margin-top", 4,
272+
"margin-bottom", 4,
273+
NULL);
274+
270275
gtk_container_add (GTK_CONTAINER (row), box);
271276

272277
g_object_set_data (G_OBJECT (row), "template-info", info);

0 commit comments

Comments
 (0)