2001-05-26 Dave Peticolas <dave@krondo.com>

* src/gnome/dialog-fincalc.c: Kevin Foss's bug fix

	* src/engine/sql/kvp-sql.h: add /* */ around #endif comment

	* src/gnc-component-manager.c (gnc_cm_event_handler): ignore
	price events


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4304 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2001-05-27 04:55:38 +00:00
parent 9dba5d58a8
commit 421ca22c65
4 changed files with 15 additions and 8 deletions

View File

@@ -1,3 +1,12 @@
2001-05-26 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-fincalc.c: Kevin Foss's bug fix
* src/engine/sql/kvp-sql.h: add /* */ around #endif comment
* src/gnc-component-manager.c (gnc_cm_event_handler): ignore
price events
2001-05-26 James LewisMoss <jimdres@mindspring.com>
* src/gnome/new-user-funs.c (gnc_new_user_dialog_is_new_user): new

View File

@@ -45,4 +45,4 @@ void pgendKVPDeleteStr (PGBackend *, const char *guid_string);
kvp_frame * pgendKVPFetch (PGBackend *, const GUID *, kvp_frame *);
#endif __KVP_SQL_H__
#endif /* __KVP_SQL_H__ */

View File

@@ -244,6 +244,10 @@ gnc_cm_event_handler (GUID *entity,
changes.account_event_mask |= event_type;
break;
case GNC_ID_PRICE:
/* Price events not currently handled by CM */
break;
case GNC_ID_NONE:
break;

View File

@@ -287,12 +287,6 @@ close_button_clicked(GtkButton *button, FinCalcDialog *fcd)
gnc_close_gui_component_by_data (DIALOG_FINCALC_CM_CLASS, fcd);
}
static void
fincalc_entry_clear_clicked(GtkButton *button, GtkEntry *entry)
{
gtk_entry_set_text(GTK_ENTRY(entry), "");
}
static void
fincalc_amount_clear_clicked(GtkButton *button, GNCAmountEdit *edit)
{
@@ -630,7 +624,7 @@ gnc_ui_fincalc_dialog_create(void)
button = lookup_widget (fcd->dialog, "payment_periods_clear_button");
gtk_signal_connect(GTK_OBJECT(button), "clicked",
GTK_SIGNAL_FUNC(fincalc_entry_clear_clicked),
GTK_SIGNAL_FUNC(fincalc_amount_clear_clicked),
fcd->amounts[PAYMENT_PERIODS]);
button = lookup_widget (fcd->dialog, "interest_rate_clear_button");