* src/ArgHandler.py: Convert to new gconf usage.
* src/Report.py: Convert to new gconf usage. svn: r3275
This commit is contained in:
		| @@ -32,6 +32,8 @@ | ||||
| 	* src/plugins/Merge.py: Convert to new gconf usage. | ||||
| 	* src/plugins/RelCalc.py: Convert to new gconf usage. | ||||
| 	* src/plugins/WebPage.py: Convert to new gconf usage. | ||||
| 	* src/ArgHandler.py: Convert to new gconf usage. | ||||
| 	* src/Report.py: Convert to new gconf usage. | ||||
|  | ||||
| 2004-07-13  Alex Roitman  <shura@alex.neuro.umn.edu> | ||||
| 	* src/Exporter.py: Fix EXPAND/FILL state of the chooser widget. | ||||
|   | ||||
| @@ -283,8 +283,8 @@ class ArgHandler: | ||||
|  | ||||
|         if self.imports: | ||||
|             self.parent.import_tool_callback() | ||||
|         elif GrampsCfg.lastfile and GrampsCfg.autoload: | ||||
|             if self.parent.auto_save_load(GrampsCfg.lastfile) == 0: | ||||
|         elif GrampsCfg.get_lastfile() and GrampsCfg.get_autoload(): | ||||
|             if self.parent.auto_save_load(GrampsCfg.get_lastfile()) == 0: | ||||
|                 DbPrompter.DbPrompter(self.parent,0) | ||||
|         else: | ||||
| 	    DbPrompter.DbPrompter(self.parent,0) | ||||
|   | ||||
| @@ -839,7 +839,7 @@ class ReportDialog(BareReportDialog): | ||||
|         """Get the name of the directory to which the target dialog | ||||
|         box should default.  This value can be set in the preferences | ||||
|         panel.""" | ||||
|         return GrampsCfg.report_dir | ||||
|         return GrampsCfg.get_report_dir() | ||||
|  | ||||
|     def set_default_directory(self, value): | ||||
|         """Save the name of the current directory, so that any future | ||||
| @@ -849,7 +849,7 @@ class ReportDialog(BareReportDialog): | ||||
|         This means that the last directory used will only be | ||||
|         remembered for this session of gramps unless the user saves | ||||
|         his/her preferences.""" | ||||
|         GrampsCfg.report_dir = value | ||||
|         GrampsCfg.save_report_dir(value) | ||||
|  | ||||
|     #------------------------------------------------------------------------ | ||||
|     # | ||||
| @@ -1068,7 +1068,7 @@ class ReportDialog(BareReportDialog): | ||||
|         self.paper_table.attach(l,5,6,2,3,gtk.SHRINK|gtk.FILL) | ||||
|  | ||||
|         PaperMenu.make_paper_menu(self.papersize_menu, | ||||
|                                   self.option_store.get('paper',GrampsCfg.paper_preference)) | ||||
|                                   self.option_store.get('paper',GrampsCfg.get_paper_preference())) | ||||
|         PaperMenu.make_orientation_menu(self.orientation_menu, | ||||
|                                         self.option_store.get('orientation',BaseDoc.PAPER_PORTRAIT)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user