* src/FamilyList.py: call family editor
* src/StartupDialog.py: pwm in try/except * src/gramps.py: don't fail on missing SIG_CHILD svn: r5724
This commit is contained in:
parent
30d59afd02
commit
696797281c
@ -1,4 +1,7 @@
|
|||||||
2006-01-11 Don Allingham <don@gramps-project.org>
|
2006-01-11 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/FamilyList.py: call family editor
|
||||||
|
* src/StartupDialog.py: pwm in try/except
|
||||||
|
* src/gramps.py: don't fail on missing SIG_CHILD
|
||||||
* src/EditPerson.py: removed unused variable
|
* src/EditPerson.py: removed unused variable
|
||||||
* src/EditFamily.py: start of the family editor
|
* src/EditFamily.py: start of the family editor
|
||||||
* src/FamilyView.py: call family editor
|
* src/FamilyView.py: call family editor
|
||||||
|
@ -34,7 +34,6 @@ import gtk.gdk
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import RelLib
|
import RelLib
|
||||||
import PageView
|
import PageView
|
||||||
#import EditPlace
|
|
||||||
import DisplayModels
|
import DisplayModels
|
||||||
import const
|
import const
|
||||||
import Utils
|
import Utils
|
||||||
@ -110,11 +109,18 @@ class FamilyListView(PageView.ListView):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def add(self,obj):
|
def add(self,obj):
|
||||||
return
|
import EditFamily
|
||||||
|
EditFamily.EditFamily(self.dbstate,self.uistate,[],None)
|
||||||
|
|
||||||
def remove(self,obj):
|
def remove(self,obj):
|
||||||
return
|
return
|
||||||
|
|
||||||
def edit(self,obj):
|
def edit(self,obj):
|
||||||
return
|
mlist = []
|
||||||
|
self.selection.selected_foreach(self.blist,mlist)
|
||||||
|
|
||||||
|
for handle in mlist:
|
||||||
|
import EditFamily
|
||||||
|
family = self.dbstate.db.get_family_from_handle(handle)
|
||||||
|
EditFamily.EditFamily(self.dbstate,self.uistate,[],family)
|
||||||
|
|
||||||
|
@ -192,10 +192,9 @@ class StartupDialog:
|
|||||||
|
|
||||||
name = GrampsKeys.get_researcher_name()
|
name = GrampsKeys.get_researcher_name()
|
||||||
if not name or name.strip() == "":
|
if not name or name.strip() == "":
|
||||||
import pwd
|
|
||||||
import os
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
import pwd
|
||||||
|
import os
|
||||||
name = pwd.getpwnam(os.environ['USER'])[4]
|
name = pwd.getpwnam(os.environ['USER'])[4]
|
||||||
except:
|
except:
|
||||||
name = ""
|
name = ""
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -84,7 +84,10 @@ gettext.install("gramps",loc,unicode=1)
|
|||||||
import gramps_main
|
import gramps_main
|
||||||
import gobject
|
import gobject
|
||||||
|
|
||||||
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
|
try:
|
||||||
|
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
args = sys.argv
|
args = sys.argv
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user