mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add register combo auto-pop configuration back in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2991 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5e0e0fb18d
commit
04c6dbf141
@ -78,8 +78,8 @@ static void gnc_configure_register_borders(void);
|
||||
static void gnc_configure_reverse_balance_cb(void *);
|
||||
static void gnc_configure_reverse_balance(void);
|
||||
static void gnc_configure_sr_label_callbacks(void);
|
||||
static void gnc_configure_auto_raise_cb(void * foo) { }
|
||||
static void gnc_configure_auto_raise(void) { }
|
||||
static void gnc_configure_auto_raise_cb(void *);
|
||||
static void gnc_configure_auto_raise(void);
|
||||
static void gnc_configure_auto_decimal_cb(void *);
|
||||
static void gnc_configure_auto_decimal(void);
|
||||
static void gnc_configure_auto_decimal_places_cb(void *);
|
||||
@ -680,6 +680,35 @@ gnc_configure_register_borders(void)
|
||||
gnucash_style_set_register_borders (reg_borders);
|
||||
}
|
||||
|
||||
/* gnc_configure_auto_raise_cb
|
||||
* Callback called when options change - sets
|
||||
* auto-raise status of combocell class
|
||||
*
|
||||
* Args: Nothing
|
||||
* Returns: Nothing
|
||||
*/
|
||||
static void
|
||||
gnc_configure_auto_raise_cb(void *data)
|
||||
{
|
||||
gnc_configure_auto_raise();
|
||||
}
|
||||
|
||||
/* gnc_configure_auto_raise
|
||||
* sets combocell auto raise status
|
||||
*
|
||||
* Args: Nothing
|
||||
* Returns: Nothing
|
||||
*/
|
||||
static void
|
||||
gnc_configure_auto_raise(void)
|
||||
{
|
||||
gboolean auto_pop;
|
||||
|
||||
auto_pop = gnc_lookup_boolean_option("Register", "Auto-Raise Lists", TRUE);
|
||||
|
||||
xaccComboCellSetAutoPop(auto_pop);
|
||||
}
|
||||
|
||||
/* gnc_configure_reverse_balance_cb
|
||||
* Callback called when options change - sets
|
||||
* reverse balance info for the callback
|
||||
|
Loading…
Reference in New Issue
Block a user