Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files

svn: r9713
This commit is contained in:
Brian Matherly 2008-01-05 20:10:26 +00:00
parent aa8288eddd
commit bf3900f043
57 changed files with 499 additions and 440 deletions

View File

@ -1,3 +1,64 @@
2008-01-05 Raphael Ackermann <raphael.ackermann@gmail.com>
2008-01-05 Brian Matherly <brian@gramps-project.org>
* src/DataViews/PedigreeView.py:
* src/Config/__init__.py:
* src/gen/utils/longop.py:
* src/Editors/_EditLocation.py:
* src/DisplayTabs/_TextTab.py:
* src/plugins/WebCal.py:
* src/plugins/NarrativeWeb.py:
* src/plugins/rel_sv.py:
* src/plugins/rel_de.py:
* src/plugins/MarkerReport.py:
* src/plugins/FindDupes.py:
* src/plugins/DescendChart.py:
* src/plugins/PHPGedViewConnector.py:
* src/plugins/rel_pl.py:
* src/plugins/FamilyGroup.py:
* src/plugins/GVRelGraph.py:
* src/plugins/StatisticsChart.py:
* src/plugins/WriteGeneWeb.py:
* src/ObjectSelector/_FilterFrameBase.py:
* src/ObjectSelector/_FamilyPreviewFrame.py:
* src/ObjectSelector/_ObjectSelectorWindow.py:
* src/ObjectSelector/_PersonTreeFrame.py:
* src/ObjectSelector/_FamilyFilterFrame.py:
* src/ObjectSelector/_FamilyTreeFrame.py:
* src/ObjectSelector/_PersonPreviewFrame.py:
* src/ObjectSelector/_PersonFilterFrame.py:
* src/GrampsWidgets.py:
* src/DbManager.py:
* src/Models/_ListCursor.py:
* src/Models/_PathCursor.py:
* src/GrampsLogger/_GtkHandler.py:
* src/DisplayModels/_BaseModel.py:
* src/AutoComp.py:
* src/UndoHistory.py:
* src/GrampsDbUtils/_GedcomUtils.py:
* src/docgen/HtmlDoc.py:
* src/docgen/SpreadSheetDoc.py:
* src/docgen/ODFDoc.py:
* src/docgen/LaTeXDoc.py:
* src/docgen/ODSDoc.py:
* src/docgen/ODSTab.py:
* src/docgen/PSDrawDoc.py:
* src/Filters/_FilterMenu.py:
* src/Filters/_FilterList.py:
* src/Filters/SideBar/_MediaSidebarFilter.py:
* src/Filters/SideBar/_SourceSidebarFilter.py:
* src/Filters/SideBar/_EventSidebarFilter.py:
* src/Filters/SideBar/_NoteSidebarFilter.py:
* src/Filters/SideBar/_RepoSidebarFilter.py:
* src/Filters/Rules/Person/_IsLessThanNthGenerationAncestorOfDefaultPerson.py:
* src/Filters/Rules/Person/_RelationshipPathBetweenBookmarks.py:
* src/Filters/Rules/Person/_IsLessThanNthGenerationAncestorOfBookmarked.py:
* src/Filters/Rules/_MatchesFilterBase.py:
* src/DateHandler/_DateParser.py:
* src/DateHandler/_Date_fi.py:
* src/DateHandler/_Date_fr.py:
Patch from Raphael Ackermann
Fix 0001538: tabs and spaces are mixed in some source files
2008-01-05 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/Verify.py: Remove a line of redundant code added yesterday.

View File

@ -232,3 +232,4 @@ class StandardCustomSelector:
return True
return False

View File

@ -117,3 +117,4 @@ class EditLocation(EditSecondary):
self.callback(self.obj)
self.close()

View File

@ -147,7 +147,7 @@ class RelationshipPathBetweenBookmarks(Rule):
Map = {}
pathmap = {}
bmarks = {}
#
# Handle having fewer than 2 bookmarks, or unrelated people.
nb = 0
for handle in self.bookmarks:
@ -174,3 +174,4 @@ class RelationshipPathBetweenBookmarks(Rule):
def apply(self,db,person):
return self.map.has_key(person.handle)

View File

@ -174,3 +174,4 @@ class ListCursor(object):
return self.lookup(path[0])

View File

@ -322,3 +322,4 @@ class PathCursor(object):
return ret

View File

@ -42,9 +42,7 @@ class FamilyPreviewFrame(PreviewFrameBase):
def __init__(self,dbstate,label="Preview"):
PreviewFrameBase.__init__(self,label)
self._dbstate = dbstate
align = gtk.Alignment()
# Image
@ -70,7 +68,6 @@ class FamilyPreviewFrame(PreviewFrameBase):
box.pack_start(image_box,False,False)
box.pack_start(label)
# align
align.add(box)
@ -81,7 +78,6 @@ class FamilyPreviewFrame(PreviewFrameBase):
align.set(0.5,0.5,
1.0,1.0)
self.add(align)
self.clear_object()

View File

@ -235,3 +235,4 @@ class FilterFrameBase(gtk.Frame):
if gtk.pygtk_version < (2,8,0):
gobject.type_register(FilterFrameBase)

View File

@ -345,3 +345,4 @@ class ObjectSelectorWindow(gtk.Window,ManagedWindow):
if gtk.pygtk_version < (2,8,0):
gobject.type_register(ObjectSelectorWindow)

View File

@ -54,9 +54,7 @@ class PersonPreviewFrame(PreviewFrameBase):
def __init__(self,dbstate,label="Preview"):
PreviewFrameBase.__init__(self,label)
self._dbstate = dbstate
align = gtk.Alignment()
# Image
@ -77,9 +75,7 @@ class PersonPreviewFrame(PreviewFrameBase):
box.pack_start(self._image,False,False)
box.pack_start(label)
# align
align.add(box)
align.set_padding(self.__class__.__default_border_width,
self.__class__.__default_border_width,
@ -88,9 +84,7 @@ class PersonPreviewFrame(PreviewFrameBase):
align.set(0.5,0.5,
1.0,1.0)
self.add(align)
self._label = label
def _get_text_preview(self,person):

View File

@ -512,3 +512,4 @@ register_report(
author_email ="brian@gramps-project.org"
)