r17022 - gnucash/trunk/src/gnome-utils - In account selection widgets, use 2px spacing instead of padding around button.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Mar 9 17:00:54 EDT 2008


Author: andi5
Date: 2008-03-09 17:00:54 -0400 (Sun, 09 Mar 2008)
New Revision: 17022
Trac: http://svn.gnucash.org/trac/changeset/17022

Modified:
   gnucash/trunk/src/gnome-utils/gnc-account-sel.c
Log:
In account selection widgets, use 2px spacing instead of padding around button.


Modified: gnucash/trunk/src/gnome-utils/gnc-account-sel.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-account-sel.c	2008-03-09 20:38:42 UTC (rev 17021)
+++ gnucash/trunk/src/gnome-utils/gnc-account-sel.c	2008-03-09 21:00:54 UTC (rev 17022)
@@ -146,6 +146,8 @@
         gas->acctTypeFilters = FALSE;
         gas->newAccountButton = NULL;
 
+        g_object_set(gas, "spacing", 2, (gchar*)NULL);
+
 	gas->store = gtk_list_store_new(NUM_ACCT_COLS, G_TYPE_STRING, G_TYPE_POINTER);
         widget =
 	  gtk_combo_box_entry_new_with_model(GTK_TREE_MODEL(gas->store), ACCT_COL_NAME);
@@ -394,7 +396,7 @@
 			  G_CALLBACK( gas_new_account_click ),
 			  gas );
         gtk_box_pack_start( GTK_BOX(gas), gas->newAccountButton,
-                            FALSE, FALSE, 2 );
+                            FALSE, FALSE, 0 );
 }
 
 void



More information about the gnucash-changes mailing list