[Gnucash-changes] r12005 - gnucash/trunk - Put the account tree
into a scrolled window so the dialog buttons
David Hampton
hampton at cvs.gnucash.org
Mon Nov 21 01:36:16 EST 2005
Author: hampton
Date: 2005-11-21 01:36:15 -0500 (Mon, 21 Nov 2005)
New Revision: 12005
Trac: http://svn.gnucash.org/trac/changeset/12005
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/import-export/generic-import.glade
gnucash/trunk/src/import-export/import-account-matcher.c
Log:
Put the account tree into a scrolled window so the dialog buttons
don't get pushed off-screen when you expand the accounts.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-21 04:54:24 UTC (rev 12004)
+++ gnucash/trunk/ChangeLog 2005-11-21 06:36:15 UTC (rev 12005)
@@ -1,5 +1,10 @@
2005-11-20 David Hampton <hampton at employees.org>
+ * src/import-export/import-account-matcher.c:
+ * src/import-export/generic-import.glade: Put the account tree
+ into a scrolled window so the dialog buttons don't get pushed
+ off-screen when you expand the accounts.
+
* src/gnome-utils/gnc-gui-query.[ch]: Remove unused functions.
* src/gnome/gnc-split-reg.c: Update dialogs to give them a Gtk2
Modified: gnucash/trunk/src/import-export/generic-import.glade
===================================================================
--- gnucash/trunk/src/import-export/generic-import.glade 2005-11-21 04:54:24 UTC (rev 12004)
+++ gnucash/trunk/src/import-export/generic-import.glade 2005-11-21 06:36:15 UTC (rev 12005)
@@ -123,22 +123,16 @@
</child>
<child>
- <widget class="GtkFrame" id="frame1">
+ <widget class="GtkScrolledWindow" id="account_tree_sw">
<property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="label_yalign">0.5</property>
- <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
- <widget class="GtkHBox" id="account_tree_box">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <placeholder/>
- </child>
- </widget>
+ <placeholder/>
</child>
</widget>
<packing>
Modified: gnucash/trunk/src/import-export/import-account-matcher.c
===================================================================
--- gnucash/trunk/src/import-export/import-account-matcher.c 2005-11-21 04:54:24 UTC (rev 12004)
+++ gnucash/trunk/src/import-export/import-account-matcher.c 2005-11-21 06:36:15 UTC (rev 12005)
@@ -50,7 +50,7 @@
struct _accountpickerdialog {
GtkWidget * dialog;
GncTreeViewAccount *account_tree;
- GtkWidget * account_tree_box;
+ GtkWidget * account_tree_sw;
const gchar * account_human_description;
gchar * account_online_id_value;
gnc_commodity * new_account_default_commodity;
@@ -77,7 +77,7 @@
gnc_tree_view_account_add_kvp_column (picker->account_tree,
_("Account ID"), "online_id");
- gtk_container_add(GTK_CONTAINER(picker->account_tree_box),
+ gtk_container_add(GTK_CONTAINER(picker->account_tree_sw),
GTK_WIDGET(picker->account_tree));
/* Configure the columns */
@@ -166,7 +166,7 @@
}
picker->dialog = glade_xml_get_widget (xml, "Generic Import Account Picker");
- picker->account_tree_box = glade_xml_get_widget (xml, "account_tree_box");
+ picker->account_tree_sw = glade_xml_get_widget (xml, "account_tree_sw");
online_id_label = glade_xml_get_widget (xml, "online_id_label");
button = glade_xml_get_widget (xml, "newbutton");
gtk_button_set_use_stock (GTK_BUTTON(button), TRUE);
More information about the gnucash-changes
mailing list