SF.net SVN: geany:[4350] trunk/src

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Oct 21 11:59:33 UTC 2009


Revision: 4350
          http://geany.svn.sourceforge.net/geany/?rev=4350&view=rev
Author:   ntrel
Date:     2009-10-21 11:59:33 +0000 (Wed, 21 Oct 2009)

Log Message:
-----------
Set border width for project properties build table.

Modified Paths:
--------------
    trunk/src/project.c
    trunk/src/ui_utils.c

Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c	2009-10-21 11:49:48 UTC (rev 4349)
+++ trunk/src/project.c	2009-10-21 11:59:33 UTC (rev 4350)
@@ -478,6 +478,7 @@
 
 	if (doc != NULL) ft = doc->file_type;
 	build_table = build_commands_table(doc, GEANY_BCS_PROJ, &(e->build_properties), ft);
+	gtk_container_set_border_width(GTK_CONTAINER(build_table), 6);
 	label = gtk_label_new(_("Build"));
 	notebook = ui_lookup_widget(e->dialog, "project_notebook");
 	gtk_notebook_insert_page(GTK_NOTEBOOK(notebook), build_table, label, 2);

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2009-10-21 11:49:48 UTC (rev 4349)
+++ trunk/src/ui_utils.c	2009-10-21 11:59:33 UTC (rev 4350)
@@ -1260,8 +1260,6 @@
 }
 
 
-const gint BUTTON_BOX_BORDER = 5;
-
 /** Convenience function for getting a fixed border for dialogs that doesn't
  * increase the button box border.
  * @param dialog The parent container for the @c GtkVBox.
@@ -1270,7 +1268,7 @@
 {
 	GtkWidget *vbox = gtk_vbox_new(FALSE, 12);	/* need child vbox to set a separate border. */
 
-	gtk_container_set_border_width(GTK_CONTAINER(vbox), BUTTON_BOX_BORDER);
+	gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
 	gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), vbox);
 	return vbox;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list