[Gnucash-changes] r12032 - gnucash/trunk - Show widget by default
when its created for a glade dialog.
David Hampton
hampton at cvs.gnucash.org
Fri Nov 25 22:03:48 EST 2005
Author: hampton
Date: 2005-11-25 22:03:47 -0500 (Fri, 25 Nov 2005)
New Revision: 12032
Trac: http://svn.gnucash.org/trac/changeset/12032
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/gnome-utils/gnc-date-edit.c
Log:
Show widget by default when its created for a glade dialog.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-26 03:02:05 UTC (rev 12031)
+++ gnucash/trunk/ChangeLog 2005-11-26 03:03:47 UTC (rev 12032)
@@ -1,5 +1,8 @@
2005-11-25 David Hampton <hampton at employees.org>
+ * src/gnome-utils/gnc-date-edit.c: Show widget by default when its
+ created for a glade dialog.
+
* src/gnome-utils/gnc-file.c: Shouldn't still be calling the old
save state functions.
Modified: gnucash/trunk/src/gnome-utils/gnc-date-edit.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-date-edit.c 2005-11-26 03:02:05 UTC (rev 12031)
+++ gnucash/trunk/src/gnome-utils/gnc-date-edit.c 2005-11-26 03:03:47 UTC (rev 12032)
@@ -745,8 +745,12 @@
gchar *string1, gchar *string2,
gint int1, gint int2)
{
+ GtkWidget *widget;
+
/* None of the standard glade arguments are used. */
- return gnc_date_edit_new(time(NULL), FALSE, FALSE);
+ widget = gnc_date_edit_new(time(NULL), FALSE, FALSE);
+ gtk_widget_show(widget);
+ return widget;
}
More information about the gnucash-changes
mailing list