Bug 798872 - Reload inoperative for reports

Missed a adding the refresh action to the view menu when a report is in
focus.
This commit is contained in:
Robert Fewell 2023-04-17 14:31:19 +01:00
parent 1697e53610
commit b1cf200ad0
4 changed files with 39 additions and 1 deletions

View File

@ -212,7 +212,10 @@ static const gchar *gnc_plugin_load_ui_items [] =
"FilePlaceholder3",
"FilePlaceholder4",
"FilePlaceholder5",
"EditPlaceholder3",
"EditPlaceholder5",
"EditPlaceholder6",
"ViewPlaceholder4",
"ReportsPlaceholder1",
NULL,
};

View File

@ -267,12 +267,14 @@
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1" "")
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2" "")
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/VoidTransactionAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/EditTaxOptionsAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/FilePrintAction" "<Primary>p")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/FilePrintPDFAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportExportAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportOptionsAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportSaveAction" "<Primary><Alt>s")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportSaveAsAction" "<Primary><Alt><Shift>s")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ViewRefreshAction" "<Primary>r")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/EditTaxOptionsAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/SxListDeleteAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/SxListEditAction" "")

View File

@ -267,12 +267,14 @@
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1" "")
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2" "")
; (gtk_accel_path "<Actions>/GncPluginPageRegisterActions/VoidTransactionAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/EditTaxOptionsAction" "")
(gtk_accel_path "<Actions>/GncPluginPageReportActions/FilePrintAction" "<Meta>p")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/FilePrintPDFAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportExportAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportOptionsAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportSaveAction" "<Primary><Alt>s")
; (gtk_accel_path "<Actions>/GncPluginPageReportActions/ReportSaveAsAction" "<Primary><Alt><Shift>s")
(gtk_accel_path "<Actions>/GncPluginPageReportActions/ViewRefreshAction" "<Meta>r")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/EditTaxOptionsAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/SxListDeleteAction" "")
; (gtk_accel_path "<Actions>/GncPluginPageSxListActions/SxListEditAction" "")

View File

@ -11,7 +11,17 @@
</item>
</menu>
<menu id="EditPlaceholder6">
<menu id="EditPlaceholder3">
<item>
<attribute name="label" translatable="yes">_Find…</attribute>
<attribute name="action">gnc-plugin-basic-commands-actions.EditFindTransactionsAction</attribute>
<attribute name="accel">&lt;Primary&gt;f</attribute>
<attribute name="tooltip" translatable="yes">Find transactions with a search</attribute>
<attribute name="temp" translatable="no">yes</attribute>
</item>
</menu>
<menu id="EditPlaceholder5">
<item>
<attribute name="label" translatable="yes">_Report Options</attribute>
<attribute name="action">GncPluginPageReportActions.ReportOptionsAction</attribute>
@ -20,6 +30,27 @@
</item>
</menu>
<menu id="EditPlaceholder6">
<item>
<!-- Translators: remember to reuse this translation in dialog-account.glade -->
<attribute name="label" translatable="yes">Ta_x Report Options</attribute>
<attribute name="action">GncPluginPageReportActions.EditTaxOptionsAction</attribute>
<!-- Translators: currently implemented are, US: income tax and DE: VAT, So adjust this string -->
<attribute name="tooltip" translatable="yes">Setup relevant accounts for tax reports, e.g. US income tax</attribute>
<attribute name="temp" translatable="no">yes</attribute>
</item>
</menu>
<menu id="ViewPlaceholder4">
<item>
<attribute name="label" translatable="yes">_Refresh</attribute>
<attribute name="action">GncPluginPageReportActions.ViewRefreshAction</attribute>
<attribute name="accel">&lt;Primary&gt;r</attribute>
<attribute name="tooltip" translatable="yes">Refresh this window</attribute>
<attribute name="temp" translatable="no">yes</attribute>
</item>
</menu>
<menu id="FilePlaceholder4">
<item>
<attribute name="label" translatable="yes">Export as P_DF…</attribute>