r16097 - gnucash/trunk/src/gnome-search - Deuglify the account selection dialog for the account search a little bit.

Andreas Köhler andi5 at cvs.gnucash.org
Fri May 18 11:14:03 EDT 2007


Author: andi5
Date: 2007-05-18 11:14:01 -0400 (Fri, 18 May 2007)
New Revision: 16097
Trac: http://svn.gnucash.org/trac/changeset/16097

Modified:
   gnucash/trunk/src/gnome-search/search-account.c
Log:
Deuglify the account selection dialog for the account search a little bit.


Modified: gnucash/trunk/src/gnome-search/search-account.c
===================================================================
--- gnucash/trunk/src/gnome-search/search-account.c	2007-05-18 14:54:24 UTC (rev 16096)
+++ gnucash/trunk/src/gnome-search/search-account.c	2007-05-18 15:14:01 UTC (rev 16097)
@@ -237,6 +237,8 @@
 
   /* Create the account scroller and put the tree in it */
   accounts_scroller = gtk_scrolled_window_new (NULL, NULL);
+  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW(accounts_scroller),
+				  GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
   gtk_container_add(GTK_CONTAINER(accounts_scroller), account_tree);
   gtk_widget_set_size_request(GTK_WIDGET(accounts_scroller), 300, 300);
 
@@ -254,7 +256,7 @@
 
   /* Put the dialog together */
   gtk_box_pack_start ((GtkBox *)dialog->vbox, label,
-		      TRUE, TRUE, 3);
+		      FALSE, FALSE, 3);
   gtk_box_pack_start ((GtkBox *)dialog->vbox, accounts_scroller,
 		      TRUE, TRUE, 3);
 



More information about the gnucash-changes mailing list