mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Restore some widget names that were lost in r9938 but still used by
dialog-transfer.c. Added a warning to find more bugs like this one. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13607 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5d58c5ce49
commit
37d086196d
@ -839,13 +839,18 @@ GtkWidget *
|
||||
gnc_glade_lookup_widget (GtkWidget *widget, const char *name)
|
||||
{
|
||||
GladeXML *xml;
|
||||
GtkWidget *wid;
|
||||
|
||||
if (!widget || !name) return NULL;
|
||||
|
||||
xml = glade_get_widget_tree (widget);
|
||||
if (!xml) return NULL;
|
||||
|
||||
wid = glade_xml_get_widget (xml, name);
|
||||
if (!wid)
|
||||
PWARN("I know nothing of this '%s' whom you seek.", name);
|
||||
|
||||
return glade_xml_get_widget (xml, name);
|
||||
return wid;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -668,7 +668,7 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkScrolledWindow" id="swindow">
|
||||
<widget class="GtkScrolledWindow" id="right_trans_window">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
@ -704,7 +704,7 @@
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkScrolledWindow" id="swindow">
|
||||
<widget class="GtkScrolledWindow" id="left_trans_window">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
|
Loading…
Reference in New Issue
Block a user