diff --git a/gramps/gui/widgets/grampletpane.py b/gramps/gui/widgets/grampletpane.py index 712295438..a32160bbd 100644 --- a/gramps/gui/widgets/grampletpane.py +++ b/gramps/gui/widgets/grampletpane.py @@ -197,7 +197,7 @@ class LinkTag(Gtk.TextTag): #obtaining the theme link color once. Restart needed on theme change! linkcolor = Gtk.Label(label='test') #needed to avoid label destroyed to early linkcolor = get_link_color(linkcolor.get_style_context()) - + def __init__(self, buffer): LinkTag.lid += 1 Gtk.TextTag.__init__(self, name=str(LinkTag.lid)) diff --git a/gramps/gui/widgets/shadebox.py b/gramps/gui/widgets/shadebox.py index b576f4364..f839e1665 100644 --- a/gramps/gui/widgets/shadebox.py +++ b/gramps/gui/widgets/shadebox.py @@ -8,7 +8,7 @@ # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details.