cleanup (typos, docs, indentation)
svn: r12921
This commit is contained in:
parent
3f1f088b55
commit
eeac507a40
@ -62,9 +62,9 @@ class ExportPlugin(Plugin):
|
||||
|
||||
def get_export_function(self):
|
||||
"""
|
||||
Get the import function for this plugins.
|
||||
Get the export function for this plugin.
|
||||
|
||||
@return: the callable import_function passed into __init__
|
||||
@return: the callable export_function passed into __init__
|
||||
"""
|
||||
return self.__export_func
|
||||
|
||||
|
@ -1,14 +1,13 @@
|
||||
import gobject
|
||||
import gtk
|
||||
|
||||
class ValidatableMaskedEntry(gtk.Entry):
|
||||
__gtype_name__ = 'ValidatableMaskedEntry'
|
||||
__gtype_name__ = 'ValidatableMaskedEntry'
|
||||
|
||||
def __init__(self):
|
||||
gtk.Entry.__init__(self)
|
||||
def __init__(self):
|
||||
gtk.Entry.__init__(self)
|
||||
|
||||
class StyledTextEditor(gtk.TextView):
|
||||
__gtype_name__ = 'StyledTextEditor'
|
||||
__gtype_name__ = 'StyledTextEditor'
|
||||
|
||||
def __init__(self):
|
||||
gtk.Entry.__init__(self)
|
||||
def __init__(self):
|
||||
gtk.Entry.__init__(self)
|
||||
|
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2009 Gerald Britton <gerald.britton@gmail.com>
|
||||
|
@ -518,7 +518,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
return tmp
|
||||
# + self.get_sword_distaff(level, reltocommon, ' ')
|
||||
else:
|
||||
return t_inlaw + \
|
||||
return t_inlaw + \
|
||||
"przodek %s pokolenia" % (_level_name[level - 1])
|
||||
else:
|
||||
return t_inlaw +"przodek w %d pokoleniu" % level
|
||||
|
Loading…
Reference in New Issue
Block a user