diff --git a/gnucash/gnome/dialog-sx-editor.c b/gnucash/gnome/dialog-sx-editor.c index 87b1d953d1..f37ad1c3cf 100644 --- a/gnucash/gnome/dialog-sx-editor.c +++ b/gnucash/gnome/dialog-sx-editor.c @@ -1359,6 +1359,8 @@ schedXact_editor_create_ledger (GncSxEditorDialog *sxed) /* Now create the register plugin page. */ sxed->plugin_page = gnc_plugin_page_register_new_ledger (sxed->ledger); + gnc_plugin_page_merge_actions (sxed->plugin_page); + gtk_widget_insert_action_group (GTK_WIDGET(sxed->embed_window), gnc_plugin_page_get_simple_action_group_name (sxed->plugin_page), G_ACTION_GROUP(gnc_plugin_page_get_action_group (sxed->plugin_page))); diff --git a/gnucash/gnome/gnc-plugin-page-register.c b/gnucash/gnome/gnc-plugin-page-register.c index 62fd703ff0..b4f35ff20f 100644 --- a/gnucash/gnome/gnc-plugin-page-register.c +++ b/gnucash/gnome/gnc-plugin-page-register.c @@ -928,9 +928,19 @@ gnc_plugin_page_register_ui_update (gpointer various, trans = gnc_split_register_get_current_trans (reg); if (cursor_class == CURSOR_CLASS_SPLIT) - gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "split"); + { + if (GNC_IS_MAIN_WINDOW(GNC_PLUGIN_PAGE(page)->window)) + gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "split"); + else + gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "split-sx"); + } else - gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "trans"); + { + if (GNC_IS_MAIN_WINDOW(GNC_PLUGIN_PAGE(page)->window)) + gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "trans"); + else + gnc_plugin_page_set_menu_popup_qualifier (GNC_PLUGIN_PAGE(page), "trans-sx"); + } /* If the register is not read only, make any modifying action active * to start with */ diff --git a/gnucash/ui/gnc-plugin-page-register.ui b/gnucash/ui/gnc-plugin-page-register.ui index a04df4cd5b..d7ff0def88 100644 --- a/gnucash/ui/gnc-plugin-page-register.ui +++ b/gnucash/ui/gnc-plugin-page-register.ui @@ -568,6 +568,85 @@ + +
+ + Dup_licate Transaction + GncPluginPageRegisterActions.DuplicateTransactionAction + Make a copy of the current transaction + + + _Delete Transaction + GncPluginPageRegisterActions.DeleteTransactionAction + Delete the current transaction + + + Remo_ve Other Splits + GncPluginPageRegisterActions.RemoveTransactionSplitsAction + Remove all splits in the current transaction + +
+
+ + _Enter Transaction + GncPluginPageRegisterActions.RecordTransactionAction + Record the current transaction + + + Ca_ncel Transaction + GncPluginPageRegisterActions.CancelTransactionAction + Cancel the current transaction + +
+
+ + _Blank Transaction + GncPluginPageRegisterActions.BlankTransactionAction + Move to the blank transaction at the bottom of the register + +
+
+ + +
+ + Dup_licate Split + GncPluginPageRegisterActions.DuplicateTransactionAction + Make a copy of the current split + + + _Delete Split + GncPluginPageRegisterActions.DeleteTransactionAction + Delete the current split + + + Remo_ve Other Splits + GncPluginPageRegisterActions.RemoveTransactionSplitsAction + Remove all splits in the current transaction + +
+
+ + _Enter Transaction + GncPluginPageRegisterActions.RecordTransactionAction + Record the current transaction + + + Ca_ncel Transaction + GncPluginPageRegisterActions.CancelTransactionAction + Cancel the current transaction + +
+
+ + _Blank Transaction + GncPluginPageRegisterActions.BlankTransactionAction + Move to the blank transaction at the bottom of the register + +
+
+ + True False