[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 446/473: Adjust spacing of configuration dialog.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:16 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 5e6e5819dee72bed5908ac87e975f94237644cee
Author: Graeme Gott <graeme at gottcode.org>
Date:   Sun Feb 8 12:29:28 2015 -0500

    Adjust spacing of configuration dialog.
---
 panel-plugin/configuration-dialog.cpp |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/configuration-dialog.cpp b/panel-plugin/configuration-dialog.cpp
index 49356a9..6394aae 100644
--- a/panel-plugin/configuration-dialog.cpp
+++ b/panel-plugin/configuration-dialog.cpp
@@ -467,6 +467,7 @@ GtkWidget* ConfigurationDialog::init_appearance_tab()
 {
 	// Create page
 	GtkWidget* page = gtk_alignment_new(0, 0, 1, 0);
+	gtk_container_set_border_width(GTK_CONTAINER(page), 8);
 	GtkBox* contents_vbox = GTK_BOX(gtk_vbox_new(false, 0));
 	gtk_container_add(GTK_CONTAINER(page), GTK_WIDGET(contents_vbox));
 
@@ -474,8 +475,8 @@ GtkWidget* ConfigurationDialog::init_appearance_tab()
 	GtkSizeGroup* label_size_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
 	GtkBox* panel_vbox = GTK_BOX(gtk_vbox_new(false, 6));
 	GtkWidget* panel_frame = xfce_gtk_frame_box_new_with_content(_("Panel Button"), GTK_WIDGET(panel_vbox));
-	gtk_box_pack_start(contents_vbox, panel_frame, false, false, 0);
-	gtk_container_set_border_width(GTK_CONTAINER(panel_frame), 6);
+	gtk_box_pack_start(contents_vbox, panel_frame, false, false, 6);
+	gtk_container_set_border_width(GTK_CONTAINER(panel_frame), 0);
 
 	// Add button style selector
 	GtkBox* hbox = GTK_BOX(gtk_hbox_new(false, 12));
@@ -538,8 +539,8 @@ GtkWidget* ConfigurationDialog::init_appearance_tab()
 	label_size_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
 	GtkBox* appearance_vbox = GTK_BOX(gtk_vbox_new(false, 6));
 	GtkWidget* appearance_frame = xfce_gtk_frame_box_new_with_content(_("Menu"), GTK_WIDGET(appearance_vbox));
-	gtk_box_pack_start(contents_vbox, appearance_frame, false, false, 0);
-	gtk_container_set_border_width(GTK_CONTAINER(appearance_frame), 6);
+	gtk_box_pack_start(contents_vbox, appearance_frame, false, false, 6);
+	gtk_container_set_border_width(GTK_CONTAINER(appearance_frame), 0);
 
 	// Add option to use generic names
 	m_show_generic_names = gtk_check_button_new_with_mnemonic(_("Show generic application _names"));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list