mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix missing 'Business Linked Documents' menu action.
This commit is contained in:
@@ -275,7 +275,7 @@ static GtkActionEntry gnc_plugin_actions [] =
|
||||
|
||||
/* Other menu items */
|
||||
{
|
||||
"BusinessLinkOpenAction", NULL, N_("Business Links"), NULL,
|
||||
"BusinessLinkedDocsAction", NULL, N_("Business Linked Documents"), NULL,
|
||||
N_("View all Linked Business Documents"),
|
||||
G_CALLBACK (gnc_plugin_business_cmd_doclink)
|
||||
},
|
||||
|
||||
@@ -442,7 +442,7 @@ static action_toolbar_labels creditnote_action_tooltips[] = {
|
||||
{"BlankEntryAction", N_("Move to the blank entry at the bottom of the credit note")},
|
||||
{"ToolsProcessPaymentAction", N_("Enter a payment for the owner of this credit note") },
|
||||
{"ReportsCompanyReportAction", N_("Open a company report window for the owner of this credit note") },
|
||||
{"BusinessLinkAction", N_("_Manage Document Link...")},
|
||||
{"BusinessLinkAction", N_("Manage Document Link...")},
|
||||
{"BusinessLinkOpenAction", N_("Open Linked Document")},
|
||||
{NULL, NULL},
|
||||
};
|
||||
@@ -1376,13 +1376,12 @@ gnc_plugin_page_invoice_cmd_link (GtkAction *action,
|
||||
gtk_link_button_set_uri (GTK_LINK_BUTTON(doclink_button),
|
||||
display_uri);
|
||||
gtk_widget_show (GTK_WIDGET(doclink_button));
|
||||
has_uri = TRUE;
|
||||
g_free (display_uri);
|
||||
}
|
||||
}
|
||||
gncInvoiceSetDocLink (invoice, ret_uri);
|
||||
has_uri = TRUE;
|
||||
}
|
||||
|
||||
// update the menu actions
|
||||
update_doclink_actions (GNC_PLUGIN_PAGE(plugin_page), has_uri);
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<menuitem name="EmployeeProcessPayment" action="EmployeeProcessPaymentAction"/>
|
||||
</menu>
|
||||
|
||||
<menuitem name="BusinessLinkOpen" action="BusinessLinkOpenAction"/>
|
||||
<menuitem name="BusinessLinkOpen" action="BusinessLinkedDocsAction"/>
|
||||
|
||||
<placeholder name="BusinessPlaceholderTop"/>
|
||||
<separator name="Sep1"/>
|
||||
|
||||
Reference in New Issue
Block a user