[Xfce4-commits] [panel-plugins/xfce4-xkb-plugin] 01/01: Improve spacing (Bug #14684)
noreply at xfce.org
noreply at xfce.org
Sat Sep 22 21:07:46 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-xkb-plugin.
commit 2d3801f908bd3e1e7ed99da48c5fc6fe889154e4
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Thu Sep 6 22:41:11 2018 -0400
Improve spacing (Bug #14684)
Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
panel-plugin/xkb-dialog.c | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/panel-plugin/xkb-dialog.c b/panel-plugin/xkb-dialog.c
index 926d4ff..b604407 100644
--- a/panel-plugin/xkb-dialog.c
+++ b/panel-plugin/xkb-dialog.c
@@ -107,23 +107,23 @@ xkb_dialog_configure_plugin (XfcePanelPlugin *plugin,
GTK_RESPONSE_OK, NULL);
gtk_window_set_icon_name (GTK_WINDOW (settings_dialog), "xfce4-settings");
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
gtk_box_set_homogeneous (GTK_BOX (vbox), FALSE);
- gtk_widget_set_margin_start (vbox, 8);
- gtk_widget_set_margin_end (vbox, 8);
- gtk_widget_set_margin_top (vbox, 8);
- gtk_widget_set_margin_bottom (vbox, 8);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), 10);
gtk_widget_show (vbox);
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (settings_dialog))), vbox);
grid_vertical = 0;
frame = xfce_gtk_frame_box_new (_("Appearance"), &bin);
- gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 2);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ gtk_alignment_set_padding (GTK_ALIGNMENT (bin), 6, 0, 12, 0);
+ G_GNUC_END_IGNORE_DEPRECATIONS
+ gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
grid = gtk_grid_new ();
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
- gtk_grid_set_column_spacing (GTK_GRID (grid), 18);
+ gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_homogeneous (GTK_GRID (grid), TRUE);
gtk_widget_set_size_request (grid, -1, -1);
gtk_container_add (GTK_CONTAINER (bin), grid);
@@ -193,11 +193,14 @@ xkb_dialog_configure_plugin (XfcePanelPlugin *plugin,
grid_vertical = 0;
frame = xfce_gtk_frame_box_new (_("Behavior"), &bin);
- gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 2);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ gtk_alignment_set_padding (GTK_ALIGNMENT (bin), 6, 0, 12, 0);
+ G_GNUC_END_IGNORE_DEPRECATIONS
+ gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
grid = gtk_grid_new ();
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
- gtk_grid_set_column_spacing (GTK_GRID (grid), 18);
+ gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
gtk_grid_set_row_homogeneous (GTK_GRID (grid), TRUE);
gtk_widget_set_size_request (grid, -1, -1);
gtk_container_add (GTK_CONTAINER (bin), grid);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list