Finish moving preferences to an "Advanced" panel. References to these

preferences also need to be changed to reference the new panel name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7454 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2002-11-08 01:39:58 +00:00
parent 245d5e4461
commit c9de06c292
8 changed files with 21 additions and 14 deletions
+7
View File
@@ -1,3 +1,10 @@
2002-11-07 David Hampton <hampton@employees.org>
* src/engine/iso-4217-currencies.scm: Added a bunch of currencies. #95405
* various: Update references to preferences to read the new
"Advanced" settings. #97614
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'
+3 -3
View File
@@ -325,7 +325,7 @@ gnc_get_toolbar_style(void)
GnomeMDIMode
gnc_get_mdi_mode(void) {
GnomeMDIMode mode = GNOME_MDI_DEFAULT_MODE;
char * mode_string = gnc_lookup_multichoice_option("General",
char * mode_string = gnc_lookup_multichoice_option("_+Advanced",
"Application MDI mode",
"");
if(!safe_strcmp(mode_string, "mdi-notebook")) {
@@ -418,7 +418,7 @@ gnc_get_window_size(const char *prefix, int *width, int *height)
int w, h;
char *name;
if (gnc_lookup_boolean_option("General", "Save Window Geometry", TRUE))
if (gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", TRUE))
{
name = g_strconcat(prefix, "_width", NULL);
w = gnc_lookup_number_option("__gui", name, 0.0);
@@ -458,7 +458,7 @@ gnc_save_window_size(const char *prefix, int width, int height)
char *name;
gboolean save;
save = gnc_lookup_boolean_option("General", "Save Window Geometry", FALSE);
save = gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", FALSE);
name = g_strconcat(prefix, "_width", NULL);
if (save)
+1 -1
View File
@@ -915,7 +915,7 @@ gnc_mdi_new (const char *app_name,
gnc_mdi->mdi_change_callback_id =
gnc_register_option_change_callback (gnc_mdi_configure_mdi_cb,
gnc_mdi,
"General", "Application MDI mode");
"_+Advanced", "Application MDI mode");
gnome_mdi_set_mode (gnc_mdi->mdi, gnc_get_mdi_mode ());
+1 -1
View File
@@ -335,7 +335,7 @@ gnc_split_reg_init( GNCSplitReg *gsr )
gsr->width = -1;
gsr->height = -1;
gsr->disallowedCaps = 0;
gsr->numRows = (guint) gnc_lookup_number_option ( "Register",
gsr->numRows = (guint) gnc_lookup_number_option ( "_+Advanced",
"Number of Rows", 20.0 );
gsr->read_only = FALSE;
+4 -4
View File
@@ -348,7 +348,7 @@ gnc_gui_init (SCM command_line)
gnc_configure_auto_raise();
auto_raise_callback_id =
gnc_register_option_change_callback(gnc_configure_auto_raise_cb,
NULL, "Register",
NULL, "_+Advanced",
"Auto-Raise Lists");
gnc_configure_negative_color();
@@ -712,12 +712,12 @@ gnc_configure_register_borders (void)
gboolean use_vertical_lines;
gboolean use_horizontal_lines;
use_vertical_lines = gnc_lookup_boolean_option("Register",
use_vertical_lines = gnc_lookup_boolean_option("_+Advanced",
"Show Vertical Borders",
FALSE);
use_horizontal_lines = gnc_lookup_boolean_option("Register",
use_horizontal_lines = gnc_lookup_boolean_option("_+Advanced",
"Show Horizontal Borders",
FALSE);
@@ -749,7 +749,7 @@ gnc_configure_auto_raise (void)
{
gboolean auto_pop;
auto_pop = gnc_lookup_boolean_option("Register", "Auto-Raise Lists", TRUE);
auto_pop = gnc_lookup_boolean_option("_+Advanced", "Auto-Raise Lists", TRUE);
gnc_combo_cell_set_autopop (auto_pop);
}
+2 -2
View File
@@ -807,7 +807,7 @@ regWindowLedger( GNCLedgerDisplay *ledger )
gnc_glade_autoconnect_full_func,
regData );
numRows = (guint)gnc_lookup_number_option ( "Register",
numRows = (guint)gnc_lookup_number_option ( "_+Advanced",
"Number of Rows", 20.0 );
gsr = gnc_split_reg_new( ledger, GTK_WINDOW(register_window), numRows,
@@ -826,7 +826,7 @@ regWindowLedger( GNCLedgerDisplay *ledger )
gnc_reg_set_window_name( regData );
show_all = gnc_lookup_boolean_option( "Register",
show_all = gnc_lookup_boolean_option( "_+Advanced",
"Show All Transactions",
TRUE );
@@ -748,7 +748,7 @@ gnc_ledger_display_internal (Account *lead_account, Query *q,
ld->get_parent = NULL;
ld->user_data = NULL;
show_all = gnc_lookup_boolean_option ("Register",
show_all = gnc_lookup_boolean_option ("_+Advanced",
"Show All Transactions",
TRUE);
+2 -2
View File
@@ -73,7 +73,7 @@ gnc_table_save_state (Table *table)
gnucash_sheet_get_header_widths (sheet, widths);
alist = SCM_EOL;
if (gnc_lookup_boolean_option("General", "Save Window Geometry", TRUE))
if (gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", TRUE))
{
GList *node = gnc_table_layout_get_cells (table->layout);
@@ -165,7 +165,7 @@ gnc_table_init_gui (gncUIWidget widget, void *data)
widths = gnc_header_widths_new ();
if (gnc_lookup_boolean_option("General", "Save Window Geometry", TRUE))
if (gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", TRUE))
alist = gnc_lookup_option ("__gui", "reg_column_widths",
SCM_EOL);
else