mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-30 08:08:15 -05:00
* gnome/gnc-split-reg: export jump_to_* functions
* gnome/window-reconcile.c: re-enable the 'jump to blank' * gnome/window-register.c: re-enable the 'jump to blank' by calling into the split-reg's implementation. fixes bug #97680 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7451 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2002-11-06 Derek Atkins <derek@ihtfp.com>
|
||||
* gnome/gnc-split-reg: export jump_to_* functions
|
||||
* gnome/window-reconcile.c: re-enable the 'jump to blank'
|
||||
* gnome/window-register.c: re-enable the 'jump to blank' by calling into
|
||||
the split-reg's implementation.
|
||||
fixes bug #97680
|
||||
|
||||
2002-11-06 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* po/de.po: Completed German translation. Some typo fixed
|
||||
|
||||
@@ -191,10 +191,6 @@ static void gnc_split_reg_class_init( GNCSplitRegClass *class );
|
||||
static void gnc_split_reg_init( GNCSplitReg *gsr );
|
||||
static void gnc_split_reg_init2( GNCSplitReg *gsr );
|
||||
|
||||
void gnc_split_reg_jump_to_split(GNCSplitReg *gsr, Split *split);
|
||||
void gnc_split_reg_jump_to_split_amount(GNCSplitReg *gsr, Split *split);
|
||||
void gnc_split_reg_jump_to_blank (GNCSplitReg *gsr);
|
||||
|
||||
void gnc_split_register_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation,
|
||||
gpointer user_data);
|
||||
|
||||
@@ -274,4 +274,11 @@ GtkWidget *gnc_split_reg_get_popup_extended( GNCSplitReg *gsr );
|
||||
|
||||
gboolean gnc_split_reg_check_close( GNCSplitReg *gsr );
|
||||
|
||||
/*
|
||||
* Function to jump to various places in the register
|
||||
*/
|
||||
void gnc_split_reg_jump_to_blank (GNCSplitReg *gsr);
|
||||
void gnc_split_reg_jump_to_split(GNCSplitReg *gsr, Split *split);
|
||||
void gnc_split_reg_jump_to_split_amount(GNCSplitReg *gsr, Split *split);
|
||||
|
||||
#endif /* GNC_SPLIT_REG_H */
|
||||
|
||||
@@ -1043,7 +1043,7 @@ gnc_ui_reconcile_window_new_cb(GtkButton *button, gpointer data)
|
||||
return;
|
||||
|
||||
gnc_register_raise (regData);
|
||||
/* gnc_register_jump_to_blank (regData); */
|
||||
gnc_register_jump_to_blank (regData);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -1551,6 +1551,13 @@ gnc_register_help_cb (GtkWidget *widget, gpointer data)
|
||||
helpWindow (NULL, NULL, HH_REGWIN);
|
||||
}
|
||||
|
||||
void gnc_register_jump_to_blank(RegWindow *regData)
|
||||
{
|
||||
if (!regData) return;
|
||||
if (!regData->gsr) return;
|
||||
gnc_split_reg_jump_to_blank (regData->gsr);
|
||||
}
|
||||
|
||||
/********************************************************************\
|
||||
* gnc_register_jump_to_split *
|
||||
* move the cursor to the split, if present in register *
|
||||
|
||||
@@ -41,7 +41,7 @@ gpointer gnc_RegWindow_get_pcd (RegWindow *data);
|
||||
void gnc_RegWindow_set_pcd (RegWindow *data, gpointer);
|
||||
|
||||
void gnc_register_raise(RegWindow *regData);
|
||||
/* void gnc_register_jump_to_blank(RegWindow *regData); */
|
||||
void gnc_register_jump_to_blank(RegWindow *regData);
|
||||
void gnc_register_jump_to_split(RegWindow *regData, Split *split);
|
||||
void gnc_register_jump_to_split_amount(RegWindow *regData, Split *split);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user