diff --git a/src/gnome-utils/dialog-utils.c b/src/gnome-utils/dialog-utils.c index ce5df659a0..4652547051 100644 --- a/src/gnome-utils/dialog-utils.c +++ b/src/gnome-utils/dialog-utils.c @@ -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; } /* diff --git a/src/gnome-utils/glade/transfer.glade b/src/gnome-utils/glade/transfer.glade index a2d5b4741a..21224e082f 100644 --- a/src/gnome-utils/glade/transfer.glade +++ b/src/gnome-utils/glade/transfer.glade @@ -668,7 +668,7 @@ - + True True GTK_POLICY_AUTOMATIC @@ -704,7 +704,7 @@ - + True True GTK_POLICY_AUTOMATIC