Skip to content
Snippets Groups Projects
Commit ca4e50aa authored by Sean Davis's avatar Sean Davis Committed by Andre Miranda
Browse files

Preferences: Apply 6/12/18 spacing

parent ee269587
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
Display
*/
label = gtk_label_new (_("Display"));
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
......@@ -280,7 +280,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -352,7 +353,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -376,7 +378,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -422,7 +425,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
Side Pane
*/
label = gtk_label_new (_("Side Pane"));
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
......@@ -439,7 +442,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -486,7 +490,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -526,7 +531,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
Behavior
*/
label = gtk_label_new (_("Behavior"));
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
......@@ -543,7 +548,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -556,8 +562,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
ibox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_widget_set_hexpand (ibox, TRUE);
gtk_widget_set_margin_start (ibox, 12);
gtk_widget_set_margin_bottom (ibox, 6);
gtk_widget_set_margin_start (ibox, 18);
exo_binding_new (G_OBJECT (button), "active", G_OBJECT (ibox), "sensitive");
gtk_widget_set_hexpand (ibox, TRUE);
gtk_grid_attach (GTK_GRID (grid), ibox, 0, 1, 1, 1);
......@@ -630,8 +636,9 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 2);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -651,7 +658,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
Advanced
*/
label = gtk_label_new (_("Advanced"));
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
......@@ -668,7 +675,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......@@ -702,7 +710,8 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_container_set_border_width (GTK_CONTAINER (grid), 12);
gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_widget_set_margin_start (GTK_WIDGET (grid), 12);
gtk_container_add (GTK_CONTAINER (frame), grid);
gtk_widget_show (grid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment