Default report directory added
svn: r195
This commit is contained in:
parent
794ea65fa4
commit
09e647e4cf
@ -26,6 +26,7 @@ import const
|
|||||||
import os
|
import os
|
||||||
import string
|
import string
|
||||||
import utils
|
import utils
|
||||||
|
import Config
|
||||||
|
|
||||||
from FontScale import string_width
|
from FontScale import string_width
|
||||||
|
|
||||||
@ -277,6 +278,7 @@ def report(database,person):
|
|||||||
base = os.path.dirname(__file__)
|
base = os.path.dirname(__file__)
|
||||||
glade_file = base + os.sep + "ancestorchart.glade"
|
glade_file = base + os.sep + "ancestorchart.glade"
|
||||||
topDialog = GladeXML(glade_file,"dialog1")
|
topDialog = GladeXML(glade_file,"dialog1")
|
||||||
|
topDialog.get_widget("fileentry1").set_default_path(Config.report_dir)
|
||||||
|
|
||||||
name = person.getPrimaryName().getRegularName()
|
name = person.getPrimaryName().getRegularName()
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ import re
|
|||||||
import sort
|
import sort
|
||||||
import string
|
import string
|
||||||
import utils
|
import utils
|
||||||
|
import Config
|
||||||
import intl
|
import intl
|
||||||
|
|
||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
@ -289,6 +290,7 @@ def report(database,person):
|
|||||||
base = os.path.dirname(__file__)
|
base = os.path.dirname(__file__)
|
||||||
glade_file = base + os.sep + "ancestorreport.glade"
|
glade_file = base + os.sep + "ancestorreport.glade"
|
||||||
topDialog = GladeXML(glade_file,"dialog1")
|
topDialog = GladeXML(glade_file,"dialog1")
|
||||||
|
topDialog.get_widget("fileentry1").set_default_path(Config.report_dir)
|
||||||
|
|
||||||
name = person.getPrimaryName().getRegularName()
|
name = person.getPrimaryName().getRegularName()
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ _ = intl.gettext
|
|||||||
|
|
||||||
import RelLib
|
import RelLib
|
||||||
import const
|
import const
|
||||||
|
import Config
|
||||||
import utils
|
import utils
|
||||||
import const
|
import const
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
@ -133,6 +134,7 @@ class DesReportWindow:
|
|||||||
|
|
||||||
glade_file = os.path.dirname(__file__) + os.sep + "desreport.glade"
|
glade_file = os.path.dirname(__file__) + os.sep + "desreport.glade"
|
||||||
self.top = GladeXML(glade_file,"dialog1")
|
self.top = GladeXML(glade_file,"dialog1")
|
||||||
|
self.top.get_widget("fileentry1").set_default_path(Config.report_dir)
|
||||||
self.top.signal_autoconnect({
|
self.top.signal_autoconnect({
|
||||||
"destroy_passed_object" : utils.destroy_passed_object,
|
"destroy_passed_object" : utils.destroy_passed_object,
|
||||||
"on_style_edit_clicked" : on_style_edit_clicked,
|
"on_style_edit_clicked" : on_style_edit_clicked,
|
||||||
|
@ -29,6 +29,7 @@ import string
|
|||||||
import FindDoc
|
import FindDoc
|
||||||
import utils
|
import utils
|
||||||
import intl
|
import intl
|
||||||
|
import Config
|
||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
|
|
||||||
from TextDoc import *
|
from TextDoc import *
|
||||||
@ -357,6 +358,7 @@ def report(database,person):
|
|||||||
base = os.path.dirname(__file__)
|
base = os.path.dirname(__file__)
|
||||||
glade_file = base + os.sep + "familygroup.glade"
|
glade_file = base + os.sep + "familygroup.glade"
|
||||||
topDialog = GladeXML(glade_file,"dialog1")
|
topDialog = GladeXML(glade_file,"dialog1")
|
||||||
|
topDialog.get_widget("fileentry1").set_default_path(Config.report_dir)
|
||||||
|
|
||||||
name = person.getPrimaryName().getRegularName()
|
name = person.getPrimaryName().getRegularName()
|
||||||
family_list = person.getFamilyList()
|
family_list = person.getFamilyList()
|
||||||
|
@ -27,6 +27,7 @@ import re
|
|||||||
import sort
|
import sort
|
||||||
import string
|
import string
|
||||||
import utils
|
import utils
|
||||||
|
import Config
|
||||||
import intl
|
import intl
|
||||||
|
|
||||||
_ = intl.gettext
|
_ = intl.gettext
|
||||||
@ -346,6 +347,7 @@ def report(database,person):
|
|||||||
base = os.path.dirname(__file__)
|
base = os.path.dirname(__file__)
|
||||||
glade_file = base + os.sep + "indsum.glade"
|
glade_file = base + os.sep + "indsum.glade"
|
||||||
topDialog = GladeXML(glade_file,"dialog1")
|
topDialog = GladeXML(glade_file,"dialog1")
|
||||||
|
topDialog.get_widget("fileentry1").set_default_path(Config.report_dir)
|
||||||
|
|
||||||
name = person.getPrimaryName().getRegularName()
|
name = person.getPrimaryName().getRegularName()
|
||||||
label = topDialog.get_widget("labelTitle")
|
label = topDialog.get_widget("labelTitle")
|
||||||
|
Loading…
Reference in New Issue
Block a user