* src/ColumnOrder.py: pychecker fixes
* src/DateParser.py: pychecker fixes * src/DisplayModels.py: pychecker fixes * src/gramps_main.py: pychecker fixes * src/dates/Date_fr.py: pychecker fixes * src/dates/Date_ru.py: pychecker fixes svn: r3738
This commit is contained in:
parent
a6a6c78782
commit
d09e2cdb5d
@ -1,4 +1,10 @@
|
|||||||
2004-11-18 Don Allingham <dallingham@users.sourceforge.net>
|
2004-11-18 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
|
* src/ColumnOrder.py: pychecker fixes
|
||||||
|
* src/DateParser.py: pychecker fixes
|
||||||
|
* src/DisplayModels.py: pychecker fixes
|
||||||
|
* src/gramps_main.py: pychecker fixes
|
||||||
|
* src/dates/Date_fr.py: pychecker fixes
|
||||||
|
* src/dates/Date_ru.py: pychecker fixes
|
||||||
* src/FamilyView.py: Handle reordering of spouses by drag
|
* src/FamilyView.py: Handle reordering of spouses by drag
|
||||||
and drop
|
and drop
|
||||||
* src/RelLib.py: Allow the family list to be set externally
|
* src/RelLib.py: Allow the family list to be set externally
|
||||||
|
@ -78,6 +78,5 @@ class ColumnOrder:
|
|||||||
|
|
||||||
def toggled(self, cell, path, model):
|
def toggled(self, cell, path, model):
|
||||||
node = model.get_iter((int(path),))
|
node = model.get_iter((int(path),))
|
||||||
value = model.get_value(node,0)
|
value = not model.get_value(node,0)
|
||||||
value = not value
|
|
||||||
model.set(node,0,value)
|
model.set(node,0,value)
|
||||||
|
@ -34,7 +34,6 @@ __version__ = "$Revision$"
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import re
|
import re
|
||||||
import time
|
|
||||||
import locale
|
import locale
|
||||||
import calendar
|
import calendar
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ import time
|
|||||||
import gobject
|
import gobject
|
||||||
import gtk
|
import gtk
|
||||||
|
|
||||||
|
from gettext import gettext as _
|
||||||
|
|
||||||
_GENDER = [ _(u'female'), _(u'male'), _(u'unknown') ]
|
_GENDER = [ _(u'female'), _(u'male'), _(u'unknown') ]
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -31,7 +31,6 @@ French-specific classes for parsing and displaying dates.
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import re
|
import re
|
||||||
import calendar
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -31,7 +31,6 @@ Russian-specific classes for parsing and displaying dates.
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import re
|
import re
|
||||||
import calendar
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
@ -72,6 +72,7 @@ import DbPrompter
|
|||||||
import TipOfDay
|
import TipOfDay
|
||||||
import ArgHandler
|
import ArgHandler
|
||||||
import Exporter
|
import Exporter
|
||||||
|
import RelImage
|
||||||
|
|
||||||
from QuestionDialog import *
|
from QuestionDialog import *
|
||||||
|
|
||||||
@ -1075,12 +1076,10 @@ class Gramps:
|
|||||||
return 1
|
return 1
|
||||||
|
|
||||||
def save_media(self,filename):
|
def save_media(self,filename):
|
||||||
import RelImage
|
|
||||||
missmedia_action = 0
|
missmedia_action = 0
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def remove_clicked():
|
def remove_clicked():
|
||||||
# File is lost => remove all references and the object itself
|
# File is lost => remove all references and the object itself
|
||||||
mobj = self.db.get_object_from_handle(ObjectId)
|
|
||||||
for p in self.db.get_family_handle_map().values():
|
for p in self.db.get_family_handle_map().values():
|
||||||
nl = p.get_media_list()
|
nl = p.get_media_list()
|
||||||
for o in nl:
|
for o in nl:
|
||||||
|
Loading…
Reference in New Issue
Block a user