mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Rename the scheduled edit/new/delete menus
There is a conflict when updating the tooltip menu entries for the scheduled transaction 'edit' menu. To find the appropriate menu entry, the list of menu entries is searched by name and this entry conflicts with the main 'edit' menu which has no tooltip and so the scheduled 'edit' menu entry does not get the correct tooltip. To fix this just change the entries to 'Edit Schedule'/'New Schedule' and 'Delete Schedule', this also changes them to the same format as the account menu options.
This commit is contained in:
parent
6315098723
commit
46e47d44a0
@ -390,19 +390,19 @@ treeview_popup (GtkTreeView *treeview, GdkEvent *event, GncPluginPageSxList *pag
|
||||
|
||||
menu = gtk_menu_new();
|
||||
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_New"));
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_New Schedule"));
|
||||
full_action_name = g_strconcat (group_name, ".SxListNewAction", NULL);
|
||||
gtk_actionable_set_action_name (GTK_ACTIONABLE(menuitem), full_action_name);
|
||||
g_free (full_action_name);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL(menu), menuitem);
|
||||
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_Edit"));
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_Edit Schedule"));
|
||||
full_action_name = g_strconcat (group_name, ".SxListEditAction", NULL);
|
||||
gtk_actionable_set_action_name (GTK_ACTIONABLE(menuitem), full_action_name);
|
||||
g_free (full_action_name);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL(menu), menuitem);
|
||||
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_Delete"));
|
||||
menuitem = gtk_menu_item_new_with_mnemonic (_("_Delete Schedule"));
|
||||
full_action_name = g_strconcat (group_name, ".SxListDeleteAction", NULL);
|
||||
gtk_actionable_set_action_name (GTK_ACTIONABLE(menuitem), full_action_name);
|
||||
g_free (full_action_name);
|
||||
|
@ -44,19 +44,19 @@
|
||||
|
||||
<menu id="SchedulePlaceholder0">
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_New</attribute>
|
||||
<attribute name="label" translatable="yes">_New Schedule</attribute>
|
||||
<attribute name="action">GncPluginPageSxListActions.SxListNewAction</attribute>
|
||||
<attribute name="tooltip" translatable="yes">Create a new scheduled transaction</attribute>
|
||||
<attribute name="temp" translatable="no">yes</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Edit</attribute>
|
||||
<attribute name="label" translatable="yes">_Edit Schedule</attribute>
|
||||
<attribute name="action">GncPluginPageSxListActions.SxListEditAction</attribute>
|
||||
<attribute name="tooltip" translatable="yes">Edit the selected scheduled transaction</attribute>
|
||||
<attribute name="temp" translatable="no">yes</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">_Delete</attribute>
|
||||
<attribute name="label" translatable="yes">_Delete Schedule</attribute>
|
||||
<attribute name="action">GncPluginPageSxListActions.SxListDeleteAction</attribute>
|
||||
<attribute name="tooltip" translatable="yes">Delete the selected scheduled transaction</attribute>
|
||||
<attribute name="temp" translatable="no">yes</attribute>
|
||||
|
Loading…
Reference in New Issue
Block a user