mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-29 04:04:07 -06:00
Show widget by default when its created for a glade dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12032 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
40ee07bb7d
commit
5f85820cd7
@ -1,5 +1,8 @@
|
||||
2005-11-25 David Hampton <hampton@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.
|
||||
|
||||
|
@ -745,8 +745,12 @@ gnc_date_edit_new_glade (gchar *widget_name,
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user