diff --git a/ChangeLog b/ChangeLog index 4629ae7292..ae68617a31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2005-11-02 David Hampton + * src/import-export/qif-import/qif.glade: + * src/import-export/generic-import.glade: + * src/import-export/hbci/glade/hbciprefs.glade: + * src/gnome-utils/preferences.glade: + * src/gnome-utils/gnc-main-window.c: + * src/gnome/gnc-plugin-page-register.c: + * src/gnome/glade/sched-xact.glade: Fix items from round two of + Volker Englisch's review of the preferences dialog. + + * src/gnome-utils/gnc-plugin.c: Null terminate code properly. + * README.svn: Update from README.cvs for switchover. * src/gnome-utils/gnc-splash.c: Use a dynamically allocated string diff --git a/src/gnome-utils/gnc-main-window.c b/src/gnome-utils/gnc-main-window.c index 311e7398fd..4c7cb61fb5 100644 --- a/src/gnome-utils/gnc-main-window.c +++ b/src/gnome-utils/gnc-main-window.c @@ -257,6 +257,11 @@ static GtkRadioActionEntry radio_entries [] = static guint n_radio_entries = G_N_ELEMENTS (radio_entries); +static const gchar *gnc_menu_important_actions[] = { + "FileCloseAction", + NULL, +}; + /** The following are in the main window so they will always be * present in the menu structure, but they are never sensitive. * These actions should be overridden in child windows where they @@ -1637,6 +1642,8 @@ gnc_main_window_setup_window (GncMainWindow *window) gnc_plugin_update_actions(window->priv->action_group, always_insensitive_actions, "sensitive", FALSE); + gnc_plugin_set_important_actions (window->priv->action_group, + gnc_menu_important_actions); gtk_ui_manager_insert_action_group (window->ui_merge, priv->action_group, 0); g_signal_connect (G_OBJECT (window->ui_merge), "add_widget", diff --git a/src/gnome-utils/preferences.glade b/src/gnome-utils/preferences.glade index 3679933a63..3f678b2a0b 100644 --- a/src/gnome-utils/preferences.glade +++ b/src/gnome-utils/preferences.glade @@ -345,7 +345,7 @@ True Sign reverse balances on the following: Credit Card, Payable, Liability, Equity, and Income. True - Credit _accounts + C_redit accounts True GTK_RELIEF_NORMAL True @@ -666,7 +666,7 @@ True Use the system locale currency for all newly created accounts. True - Locale: + Loc_ale: True GTK_RELIEF_NORMAL True @@ -703,7 +703,7 @@ True Use the specified currency for all newly created accounts. True - Choose: + Ch_oose: True GTK_RELIEF_NORMAL True @@ -1029,7 +1029,7 @@ True Use the date format specified by the system locale. True - _Locale: + Loc_ale: True GTK_RELIEF_NORMAL True @@ -1126,7 +1126,7 @@ True Use a 24 hour (instead of a 12 hour) time format. True - Use 24-hour _clock + U_se 24-hour clock True GTK_RELIEF_NORMAL True @@ -1533,7 +1533,7 @@ True Display negative amounts in red True - Display _negative amounts in red + Display ne_gative amounts in red True GTK_RELIEF_NORMAL True @@ -1663,8 +1663,8 @@ True - New search limit: - False + New search _limit: + True False GTK_JUSTIFY_LEFT False @@ -1673,6 +1673,7 @@ 0.5 0 0 + gconf/dialogs/search/new_search_limit @@ -1820,7 +1821,7 @@ True Automatically raise the list of accounts or actions during input. True - _Auto-raise Lists + _Auto-raise lists True GTK_RELIEF_NORMAL True @@ -2499,7 +2500,7 @@ True Use the specified currency for all newly created reports. True - Choose: + Ch_oose: True GTK_RELIEF_NORMAL True @@ -2536,7 +2537,7 @@ True Use the system locale currency for all newly created reports. True - Locale: + Loc_ale: True GTK_RELIEF_NORMAL True @@ -2716,7 +2717,7 @@ True Show a grand total of all accounts converted to the default report currency. True - Include grand total + Include _grand total True GTK_RELIEF_NORMAL True @@ -2740,7 +2741,7 @@ True If checked, non-currency commodities will be shown in the summary bar. If clear, only currencies will be shown. True - Include non currency totals + Include _non-currency totals True GTK_RELIEF_NORMAL True @@ -2812,7 +2813,7 @@ True Use the specified relative starting date for profit/loss calculations. True - Relative: + _Relative: True GTK_RELIEF_NORMAL True @@ -2836,7 +2837,7 @@ True Use the specified absolute starting date for profit/loss calculations. True - Absolute: + _Absolute: True GTK_RELIEF_NORMAL True @@ -2861,7 +2862,7 @@ True Use the specified relative ending date for profit/loss calculations. Also use this date for net assets calculations. True - Relative: + Re_lative: True GTK_RELIEF_NORMAL True @@ -2885,7 +2886,7 @@ True Use the specified absolute ending date for profit/loss calculations. Also use this date for net assets calculations. True - Absolute: + Ab_solute: True GTK_RELIEF_NORMAL True diff --git a/src/gnome/glade/sched-xact.glade b/src/gnome/glade/sched-xact.glade index af0b8adf9b..bae09ee58f 100644 --- a/src/gnome/glade/sched-xact.glade +++ b/src/gnome/glade/sched-xact.glade @@ -8882,7 +8882,7 @@ the created Scheduled Transactions directly. True - _Create in advance, days: + Crea_te in advance, days: True False GTK_JUSTIFY_LEFT diff --git a/src/gnome/gnc-plugin-page-register.c b/src/gnome/gnc-plugin-page-register.c index 0420ab8ba5..2e61ea5cb2 100644 --- a/src/gnome/gnc-plugin-page-register.c +++ b/src/gnome/gnc-plugin-page-register.c @@ -250,6 +250,11 @@ static GtkRadioActionEntry radio_entries_2 [] = }; static guint n_radio_entries_2 = G_N_ELEMENTS (radio_entries_2); +static const gchar *important_actions[] = { + "SplitTransactionAction", + NULL, +}; + static const gchar *actions_requiring_account[] = { "EditEditAccountAction", "ActionsReconcileAction", @@ -477,6 +482,7 @@ gnc_plugin_page_register_init (GncPluginPageRegister *plugin_page) plugin_page); gnc_plugin_init_short_names (action_group, short_labels); + gnc_plugin_set_important_actions (action_group, important_actions); priv->lines_opt_section = DEFAULT_LINES_OPTION_SECTION; priv->lines_opt_name = DEFAULT_LINES_OPTION_NAME; diff --git a/src/import-export/generic-import.glade b/src/import-export/generic-import.glade index 55eee797ab..d0c67ea9d2 100644 --- a/src/import-export/generic-import.glade +++ b/src/import-export/generic-import.glade @@ -1403,8 +1403,8 @@ click "Ok". True - Commercial atm fees threshold - False + Commercial ATM _fees threshold + True False GTK_JUSTIFY_LEFT False @@ -1413,6 +1413,7 @@ click "Ok". 0.5 0 0 + gconf/dialogs/import/generic_matcher/atm_fee_threshold 0 @@ -1428,8 +1429,8 @@ click "Ok". True - Auto-clear threshold - False + Auto-c_lear threshold + True False GTK_JUSTIFY_LEFT False @@ -1438,6 +1439,7 @@ click "Ok". 0.5 0 0 + gconf/dialogs/import/generic_matcher/auto_clear_threshold 0 @@ -1507,7 +1509,7 @@ click "Ok". True Use bayesian algorithms to match new transactions with existing accounts. True - Use bayesian matching + Use _bayesian matching True GTK_RELIEF_NORMAL True diff --git a/src/import-export/hbci/glade/hbciprefs.glade b/src/import-export/hbci/glade/hbciprefs.glade index 428ff6cb61..f2ece54905 100644 --- a/src/import-export/hbci/glade/hbciprefs.glade +++ b/src/import-export/hbci/glade/hbciprefs.glade @@ -79,7 +79,7 @@ True Activate verbose debug messages for HBCI Online Banking. True - Verbose _debug messages + _Verbose debug messages True GTK_RELIEF_NORMAL True diff --git a/src/import-export/qif-import/qif.glade b/src/import-export/qif-import/qif.glade index 66862b93fe..948238751f 100644 --- a/src/import-export/qif-import/qif.glade +++ b/src/import-export/qif-import/qif.glade @@ -301,7 +301,7 @@ worry if your data is in multiple files. 0 True - * + * False @@ -402,7 +402,7 @@ US QIF files are likely to be "m-d-y" or month-year-day. 0 True - * + * False @@ -547,7 +547,7 @@ in that program. 0 True - * + * False @@ -1283,7 +1283,7 @@ Select the currency to use for transactions imported from your QIF files: 0 True - * + * False @@ -1783,7 +1783,7 @@ Click "Cancel" to abort the QIF import process. True Show some documentation-only pages in QIF Import druid. True - Show documentation + _Show documentation True GTK_RELIEF_NORMAL True