mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 02:40:43 -06:00
* src/gnome/gnc-split-reg.c: add a handler for
exchange-rate menu items.. Partial fix for #100285 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7619 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9380dc52f0
commit
7ec2795267
@ -5,6 +5,9 @@
|
|||||||
move handle_exchange() API from -p.h to .h to export it
|
move handle_exchange() API from -p.h to .h to export it
|
||||||
for the menus to call.
|
for the menus to call.
|
||||||
|
|
||||||
|
* src/gnome/gnc-split-reg.c: add a handler for
|
||||||
|
exchange-rate menu items.. Partial fix for #100285
|
||||||
|
|
||||||
2002-12-03 Derek Atkins <derek@ihtfp.com>
|
2002-12-03 Derek Atkins <derek@ihtfp.com>
|
||||||
|
|
||||||
* src/register/ledger-core/split-register-control.c:
|
* src/register/ledger-core/split-register-control.c:
|
||||||
|
@ -187,6 +187,9 @@ void gnc_split_reg_size_allocate( GtkWidget *widget,
|
|||||||
GtkAllocation *allocation,
|
GtkAllocation *allocation,
|
||||||
gpointer user_data );
|
gpointer user_data );
|
||||||
|
|
||||||
|
|
||||||
|
void gnc_split_reg_handle_exchange_cb (GtkWidget *w, gpointer data);
|
||||||
|
|
||||||
static void gnc_split_reg_class_init( GNCSplitRegClass *class );
|
static void gnc_split_reg_class_init( GNCSplitRegClass *class );
|
||||||
static void gnc_split_reg_init( GNCSplitReg *gsr );
|
static void gnc_split_reg_init( GNCSplitReg *gsr );
|
||||||
static void gnc_split_reg_init2( GNCSplitReg *gsr );
|
static void gnc_split_reg_init2( GNCSplitReg *gsr );
|
||||||
@ -1593,6 +1596,16 @@ gnc_split_reg_sort_desc_cb(GtkWidget *w, gpointer data)
|
|||||||
gnc_split_reg_sort(gsr, BY_DESC);
|
gnc_split_reg_sort(gsr, BY_DESC);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gnc_split_reg_handle_exchange_cb (GtkWidget *w, gpointer data)
|
||||||
|
{
|
||||||
|
GNCSplitReg *gsr = data;
|
||||||
|
SplitRegister *reg = gnc_ledger_display_get_split_register (gsr->ledger);
|
||||||
|
|
||||||
|
/* XXX Ignore the return value -- we don't care if this succeeds */
|
||||||
|
(void)gnc_split_register_handle_exchange (reg, TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gnc_split_reg_record (GNCSplitReg *gsr)
|
gnc_split_reg_record (GNCSplitReg *gsr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user