Update function name to match its g2 implementation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12036 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2005-11-26 07:01:03 +00:00
parent 061dc52771
commit bcfe8adfcb
5 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,10 @@
2005-11-25 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-date-edit.[ch]:
* src/gnome/window-reconcile.c:
* src/gnome-search/search-date.c: Update function name to match
its g2 implementation.
* src/gnome-utils/dialog-commodity.c: Consistently use the string
"currency" in the commodity picker window instead of the string
ISO4217. Previous behavior wasn't consistent. Fixes 167388.

View File

@ -253,7 +253,7 @@ editable_enters (GNCSearchCoreType *fe)
priv = _PRIVATE(fi);
if (priv->entry)
gnc_date_editable_enters (GNC_DATE_EDIT (priv->entry), TRUE);
gnc_date_activates_default (GNC_DATE_EDIT (priv->entry), TRUE);
}
static GtkWidget *

View File

@ -980,7 +980,7 @@ gnc_date_edit_get_flags (GNCDateEdit *gde)
* clicking the button that has the default.
**/
void
gnc_date_editable_enters (GNCDateEdit *gde, gboolean state)
gnc_date_activates_default (GNCDateEdit *gde, gboolean state)
{
if (!gde)
return;

View File

@ -128,5 +128,5 @@ void gnc_date_edit_set_flags (GNCDateEdit *gde,
GNCDateEditFlags flags);
int gnc_date_edit_get_flags (GNCDateEdit *gde);
void gnc_date_editable_enters (GNCDateEdit *gde, gboolean state);
void gnc_date_activates_default (GNCDateEdit *gde, gboolean state);
#endif

View File

@ -689,7 +689,7 @@ startRecnWindow(GtkWidget *parent, Account *account,
/* need to get a callback on date changes to update the recn balance */
g_signal_connect ( G_OBJECT (date_value), "date_changed",
G_CALLBACK (gnc_start_recn_date_changed), (gpointer) &data );
gnc_date_editable_enters(GNC_DATE_EDIT(date_value), TRUE);
gnc_date_activates_default(GNC_DATE_EDIT(date_value), TRUE);
print_info.use_symbol = 0;
gnc_amount_edit_set_print_info (GNC_AMOUNT_EDIT (end_value), print_info);