Skip to content

Commit 8adca3d

Browse files
committed
Fix NoteGramplet to work with updated uimanager
1 parent bf2991c commit 8adca3d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

NoteGramplet/NoteGramplet.gpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
gramplet_title=_("Note"),
1111
detached_width = 500,
1212
detached_height = 400,
13-
version = '1.0.30',
13+
version = '1.0.31',
1414
gramps_target_version="5.1",
1515
help_url = "NoteGramplet",
1616
navtypes=["Person"],

NoteGramplet/NoteGramplet.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ def build_interface(self):
141141
vbox = Gtk.VBox()
142142
self.texteditor = StyledTextEditor()
143143
# create a formatting toolbar
144-
vbox.pack_start(self.texteditor.get_toolbar(),
145-
False, False, 0)
144+
toolbar, self.action_group = self.texteditor.create_toolbar(
145+
self.uistate.uimanager, self.uistate.window)
146+
vbox.pack_start(toolbar, False, False, 0)
146147
vbox.pack_start(self.texteditor, True, True, 0)
147148
self.flow_changed(False)
148149
return vbox

NoteGramplet/po/template.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-01-22 09:28-0600\n"
11+
"POT-Creation-Date: 2019-06-28 10:11-0500\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -45,10 +45,10 @@ msgstr ""
4545
msgid "Abandon"
4646
msgstr ""
4747

48-
#: NoteGramplet/NoteGramplet.py:173 NoteGramplet/NoteGramplet.py:256
48+
#: NoteGramplet/NoteGramplet.py:174 NoteGramplet/NoteGramplet.py:257
4949
msgid "Person Note"
5050
msgstr ""
5151

52-
#: NoteGramplet/NoteGramplet.py:254
52+
#: NoteGramplet/NoteGramplet.py:255
5353
msgid "Save Note"
5454
msgstr ""

0 commit comments

Comments
 (0)