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):
|
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
|
return self.__export_func
|
||||||
|
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
import gobject
|
|
||||||
import gtk
|
import gtk
|
||||||
|
|
||||||
class ValidatableMaskedEntry(gtk.Entry):
|
class ValidatableMaskedEntry(gtk.Entry):
|
||||||
__gtype_name__ = 'ValidatableMaskedEntry'
|
__gtype_name__ = 'ValidatableMaskedEntry'
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
gtk.Entry.__init__(self)
|
gtk.Entry.__init__(self)
|
||||||
|
|
||||||
class StyledTextEditor(gtk.TextView):
|
class StyledTextEditor(gtk.TextView):
|
||||||
__gtype_name__ = 'StyledTextEditor'
|
__gtype_name__ = 'StyledTextEditor'
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
gtk.Entry.__init__(self)
|
gtk.Entry.__init__(self)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009 Gerald Britton <gerald.britton@gmail.com>
|
# Copyright (C) 2009 Gerald Britton <gerald.britton@gmail.com>
|
||||||
|
@ -518,7 +518,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
|||||||
return tmp
|
return tmp
|
||||||
# + self.get_sword_distaff(level, reltocommon, ' ')
|
# + self.get_sword_distaff(level, reltocommon, ' ')
|
||||||
else:
|
else:
|
||||||
return t_inlaw + \
|
return t_inlaw + \
|
||||||
"przodek %s pokolenia" % (_level_name[level - 1])
|
"przodek %s pokolenia" % (_level_name[level - 1])
|
||||||
else:
|
else:
|
||||||
return t_inlaw +"przodek w %d pokoleniu" % level
|
return t_inlaw +"przodek w %d pokoleniu" % level
|
||||||
|
Loading…
x
Reference in New Issue
Block a user