[Gnucash-changes] r13274 - gnucash/trunk - Andreas Kohler's patch
to not scroll the tree view headers in the new-account
hierarchy druid. Bug#330850.
Joshua Sled
jsled at cvs.gnucash.org
Wed Feb 15 22:56:04 EST 2006
Author: jsled
Date: 2006-02-15 22:56:03 -0500 (Wed, 15 Feb 2006)
New Revision: 13274
Trac: http://svn.gnucash.org/trac/changeset/13274
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome/druid-hierarchy.c
gnucash/trunk/src/gnome/glade/account.glade
Log:
Andreas Kohler's patch to not scroll the tree view headers in the new-account hierarchy druid. Bug#330850.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-02-16 03:34:59 UTC (rev 13273)
+++ gnucash/trunk/ChangeLog 2006-02-16 03:56:03 UTC (rev 13274)
@@ -4,6 +4,11 @@
g_types before we can expect gconf (via the gnc file backend) to
work, as per the gconf API docs.
+ * src/gnome/dialog-hierarchy.c:
+ * src/gnome/glade/account.glade: Andreas Köhler's patch to not
+ scroll the tree view headers in the new-account hierarchy druid.
+ Bug#330850.
+
2006-02-15 Derek Atkins <derek at ihtfp.com>
* src/business/business-core/business-core.scm:
Modified: gnucash/trunk/src/gnome/druid-hierarchy.c
===================================================================
--- gnucash/trunk/src/gnome/druid-hierarchy.c 2006-02-16 03:34:59 UTC (rev 13273)
+++ gnucash/trunk/src/gnome/druid-hierarchy.c 2006-02-16 03:56:03 UTC (rev 13274)
@@ -74,12 +74,12 @@
GtkTreeView *categories_tree;
GtkTextView *category_description;
- GtkBox *category_accounts_box;
+ GtkWidget *category_accounts_container;
GtkTreeView *category_accounts_tree;
gboolean category_set_changed;
GncTreeViewAccount *final_account_tree;
- GtkWidget *final_account_tree_box;
+ GtkWidget *final_account_tree_container;
Account *selected_account;
/** Map<Account*,gnc_numeric*> **/
GHashTable *balance_hash;
@@ -390,7 +390,7 @@
data->category_accounts_tree = tree_view;
gtk_tree_view_expand_all (tree_view);
- gtk_container_add(GTK_CONTAINER(data->category_accounts_box), GTK_WIDGET(tree_view));
+ gtk_container_add(GTK_CONTAINER(data->category_accounts_container), GTK_WIDGET(tree_view));
gtk_widget_show(GTK_WIDGET(tree_view));
}
}
@@ -763,7 +763,7 @@
{
GList *renderers;
column = gnc_tree_view_add_text_column(GNC_TREE_VIEW(tree_view),
- _("use existing"),
+ _("Use Existing"),
NULL,
NULL,
"yes",
@@ -777,7 +777,7 @@
g_list_free(renderers);
}
- gtk_container_add(GTK_CONTAINER(data->final_account_tree_box),
+ gtk_container_add(GTK_CONTAINER(data->final_account_tree_container),
GTK_WIDGET(data->final_account_tree));
/* Expand the entire tree */
@@ -917,13 +917,13 @@
gtk_tree_selection_set_mode (gtk_tree_view_get_selection (tree_view), GTK_SELECTION_SINGLE);
data->categories_tree = tree_view;
- data->category_accounts_box = GTK_BOX(glade_xml_get_widget (xml, "accounts_in_category"));
+ data->category_accounts_container = glade_xml_get_widget (xml, "accounts_in_category");
data->category_description = GTK_TEXT_VIEW(glade_xml_get_widget (xml, "account_types_description"));
color = &GNOME_DRUID_PAGE_EDGE(start_page)->textbox_color;
gtk_widget_modify_base(GTK_WIDGET(data->category_description), GTK_STATE_INSENSITIVE, color);
/* Final Accounts Page */
- data->final_account_tree_box = glade_xml_get_widget (xml, "final_account_tree_box");
+ data->final_account_tree_container = glade_xml_get_widget (xml, "final_account_tree_box");
data->final_account_tree = NULL;
data->balance_hash = g_hash_table_new(NULL, NULL);
Modified: gnucash/trunk/src/gnome/glade/account.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/account.glade 2006-02-16 03:34:59 UTC (rev 13273)
+++ gnucash/trunk/src/gnome/glade/account.glade 2006-02-16 03:56:03 UTC (rev 13274)
@@ -1469,7 +1469,7 @@
<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="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
@@ -1555,30 +1555,15 @@
<property name="right_padding">0</property>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow3">
+ <widget class="GtkScrolledWindow" id="accounts_in_category">
<property name="visible">True</property>
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
- <widget class="GtkViewport" id="viewport2">
- <property name="visible">True</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
-
- <child>
- <widget class="GtkHBox" id="accounts_in_category">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
+ <placeholder/>
</child>
</widget>
</child>
@@ -1646,7 +1631,7 @@
</child>
<child>
- <widget class="GtkScrolledWindow" id="scrolledwindow4">
+ <widget class="GtkScrolledWindow" id="final_account_tree_box">
<property name="visible">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
@@ -1654,22 +1639,7 @@
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
- <widget class="GtkViewport" id="viewport3">
- <property name="visible">True</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
-
- <child>
- <widget class="GtkHBox" id="final_account_tree_box">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
+ <placeholder/>
</child>
</widget>
<packing>
More information about the gnucash-changes
mailing list