mirror of
https://github.com/gramps-project/gramps
synced 2025-10-05 23:52:46 +02:00
Fix typo in Navigator action/section id
This commit is contained in:
committed by
Nick Hall
parent
5d37c269ba
commit
863701bff1
@@ -215,7 +215,7 @@ UIDEFAULT = (
|
||||
<attribute name="label" translatable="yes">F_ull Screen</attribute>
|
||||
</item>
|
||||
</section>
|
||||
<section id="ViewsInCatagory">
|
||||
<section id="ViewsInCategory">
|
||||
</section>
|
||||
</submenu>
|
||||
<submenu id="m5" groups='RO'>
|
||||
|
@@ -45,7 +45,7 @@ from .uimanager import ActionGroup
|
||||
# Constants
|
||||
#
|
||||
# -------------------------------------------------------------------------
|
||||
UICATEGORY = """ <section id="ViewsInCatagory">
|
||||
UICATEGORY = """ <section id="ViewsInCategory">
|
||||
%s
|
||||
</section>
|
||||
"""
|
||||
@@ -131,7 +131,7 @@ class Navigator:
|
||||
"""
|
||||
menuitem = """
|
||||
<item>
|
||||
<attribute name="action">win.ViewInCatagory</attribute>
|
||||
<attribute name="action">win.ViewInCategory</attribute>
|
||||
<attribute name="label" translatable="yes">%s</attribute>
|
||||
<attribute name="target">%d %d</attribute>
|
||||
</item>
|
||||
@@ -139,7 +139,7 @@ class Navigator:
|
||||
baritem = """
|
||||
<child>
|
||||
<object class="GtkToggleToolButton" id="bar%d">
|
||||
<property name="action-name">win.ViewInCatagory</property>
|
||||
<property name="action-name">win.ViewInCategory</property>
|
||||
<property name="action-target">'%d %d'</property>
|
||||
<property name="icon-name">%s</property>
|
||||
<property name="tooltip_text" translatable="yes">%s</property>
|
||||
@@ -178,7 +178,7 @@ class Navigator:
|
||||
if view_num < 9:
|
||||
accel = "<PRIMARY><ALT>%d" % ((view_num % 9) + 1)
|
||||
self.viewmanager.uimanager.app.set_accels_for_action(
|
||||
"win.ViewInCatagory('%d %d')" % (cat_num, view_num), [accel]
|
||||
"win.ViewInCategory('%d %d')" % (cat_num, view_num), [accel]
|
||||
)
|
||||
uimenuitems += menuitem % (page[0].name, cat_num, view_num)
|
||||
|
||||
@@ -258,7 +258,7 @@ class Navigator:
|
||||
|
||||
if cat_num in self.ui_category:
|
||||
action = (
|
||||
"ViewInCatagory",
|
||||
"ViewInCategory",
|
||||
self.cb_view_clicked,
|
||||
"",
|
||||
str(cat_num) + " " + str(view_num),
|
||||
|
@@ -59,7 +59,7 @@
|
||||
# "win.TipOfDay": "",
|
||||
# "win.Undo": "<Primary>z",
|
||||
# "win.Redo": "<Primary><Shift>z",
|
||||
# "win.ViewInCatagory": "",
|
||||
# "win.ViewInCategory": "",
|
||||
# "win.HomePerson": "<Alt>Home",
|
||||
# "win.ExportTab": "",
|
||||
# "win.Edit": "<Primary>Return",
|
||||
|
Reference in New Issue
Block a user