mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-01 04:59:29 -06:00
Put the account tree into a scrolled window so the dialog buttons
don't get pushed off-screen when you expand the accounts. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12005 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6c187d9544
commit
800f10dc81
@ -1,5 +1,10 @@
|
||||
2005-11-20 David Hampton <hampton@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
|
||||
|
@ -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>
|
||||
|
@ -50,7 +50,7 @@ static QofLogModule log_module = GNC_MOD_IMPORT;
|
||||
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 @@ build_acct_tree(struct _accountpickerdialog * picker)
|
||||
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 @@ Account * gnc_import_select_account(char * account_online_id_value,
|
||||
}
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user