* 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>
|
||||
* 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/EditFamily.py: start of the family editor
|
||||
* src/FamilyView.py: call family editor
|
||||
|
@ -34,7 +34,6 @@ import gtk.gdk
|
||||
#-------------------------------------------------------------------------
|
||||
import RelLib
|
||||
import PageView
|
||||
#import EditPlace
|
||||
import DisplayModels
|
||||
import const
|
||||
import Utils
|
||||
@ -110,11 +109,18 @@ class FamilyListView(PageView.ListView):
|
||||
return
|
||||
|
||||
def add(self,obj):
|
||||
return
|
||||
import EditFamily
|
||||
EditFamily.EditFamily(self.dbstate,self.uistate,[],None)
|
||||
|
||||
def remove(self,obj):
|
||||
return
|
||||
|
||||
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()
|
||||
if not name or name.strip() == "":
|
||||
try:
|
||||
import pwd
|
||||
import os
|
||||
|
||||
try:
|
||||
name = pwd.getpwnam(os.environ['USER'])[4]
|
||||
except:
|
||||
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 gobject
|
||||
|
||||
try:
|
||||
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
|
||||
except:
|
||||
pass
|
||||
|
||||
args = sys.argv
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user