Commit Graph

373 Commits

Author SHA1 Message Date
Don Allingham
2b3c82d592 * src/EditPerson.py: saving grouping name, instead of surname for
updating of the person list
* src/ReadGedcom.py: save person and source as soon as created
* src/gramps_main.py: compare updates based off grouping name
instead of surname


svn: r3641
2004-10-17 23:17:30 +00:00
Don Allingham
3984b9b056 * src/PeopleView.py: handle changing of surnames if the surname
needs to be removed from the list


svn: r3636
2004-10-16 21:03:38 +00:00
Don Allingham
e474fa97b9 * src/ReadGedcom.py: allow default when selecting override, add
the place properly on import
* src/gedcomimport.glade: allow default when selecting override
* src/gramps_main.py: don't lose track of active person after
a cancelled Add Person


svn: r3635
2004-10-16 17:26:04 +00:00
Don Allingham
92ab997d17 * src/DisplayModels.py: fix source display
* src/GrampsBSDDB.py: add abort_changes task
* src/GrampsDbBase.py: add abort_changes task
* src/GrampsInMemDB.py: add abort_changes task
* src/Makefile.am: Add target to build documentation using epydoc
* src/gramps.glade: Add abandon changes menu item. Not fully implemented yet
* src/gramps_main.py: add exit_and_undo


svn: r3623
2004-10-13 03:51:27 +00:00
Don Allingham
e4616ff14a * src/docgen/PdfDoc.py: fixed register_book_doc call
* src/AddrEdit.py: pychecker fixes
* src/AttrEdit.py: pychecker fixes
* src/AutoComp.py: pychecker fixes
* src/ChooseParents.py: pychecker fixes
* src/DbPrompter.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/EventEdit.py: pychecker fixes
* src/FamilyView.py: pychecker fixes
* src/Filter.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/GrampsGconfKeys.py: pychecker fixes
* src/ImgManip.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/ReadGedcom.py: pychecker fixes
* src/ReadXML.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/Sort.py: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/Witness.py: pychecker fixes
* src/WriteGedcom.py: pychecker fixes
* src/WriteXML.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r3599
2004-10-06 03:42:54 +00:00
Don Allingham
9db7068e7e * src/EditPerson.py: enhanced update/delete/add of person view
* src/PeopleModel.py: enhanced update/delete/add of person view
* src/PeopleView.py: enhanced update/delete/add of person view
* src/gramps_main.py: enhanced update/delete/add of person view


svn: r3592
2004-10-01 02:38:23 +00:00
Don Allingham
d3eb420f52 * src/DisplayModels.py: change 0 to False
* src/EditPerson.py: copy current name info to name editor when invoking
* src/GrampsBSDDB.py: provide default name to group mapping
* src/GrampsDbBase.py: provide default name to group mapping
* src/GrampsInMemDB.py: provide default name to group mapping
* src/NameEdit.py: prompt for making name mapping override the default
or purely for the active name
* src/PeopleModel.py: handle name grouping
* src/PeopleView.py: handle name grouping
* src/QuestionDialog.py: Add QuestionDialog2 to allow two answers to
a dialog (instead of one being cancel)
* src/RelLib.py: grouping documentation
* src/gramps.glade: move button on EditPerson dialog
* src/gramps_main.py: goto active person after a redisplay


svn: r3591
2004-09-30 18:32:56 +00:00
Don Allingham
b86b2b0cd0 * src/const.py.in: remove calendar directory
* src/gramps_main.py: remove calendar directory
* configure.in: remove calendar directory


svn: r3574
2004-09-25 20:52:38 +00:00
Alex Roitman
983b5a248e * src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
2004-09-25 05:12:15 +00:00
Alex Roitman
7b09866289 * src/gramps_main.py: Remov unused module.
* src/DateDisplay.py (verify_format): Correct check.
* src/Date.py (is_regular): Add method to detect exact single
non-empty dates; (set): Add text string as an optional argument.
* src/DateEdit.py: Use DateHandler instead of low-level DateDisplay;
(check): Display yellow LED for anything other than regular dates.


svn: r3562
2004-09-21 00:58:39 +00:00
Don Allingham
bd16bbd244 * src/Calendar.py: removed
* src/Gregorian.py: removed
* src/Hebrew.py: removed
* src/Julian.py: removed
* src/calendars/Islamic.py: removed
* src/calendars/Persian.py: removed
* src/calendars/Makefile.am: removed
* src/Date.py: New, simpler date structure
* src/DateHandler.py: Start of a class to abstract and select
parser and display functions based off locale
* src/DateParser.py: base date parsing class (US English)
* src/DateDisplay.py: base date display class (US English)
* src/DateEdit.py: handle new date method
* src/EditPerson.py: handle new date method
* src/EventEdit.py: handle new date method
* src/GrampsCfg.py: removed redundant options due to new date class
* src/StartupDialog.py: removed redundant options due to new date class
* src/Makefile.am: handle file changes
* src/Sort.py: handle new date method
* src/ReadGedcom.py: handle new date method
* src/ReadXML.py: handle new date method
* src/WriteGedcom.py: handle new date method
* src/WriteXML.py: handle new date method
* src/RelLib.py: handle new date method
* src/gramps_main.py: handle new date method
* src/gramps.glade: handle new date method


svn: r3546
2004-09-17 03:30:04 +00:00
Don Allingham
8ce99f9853 * src/DbPrompter.py: cleanup dialogs
* src/EditPerson.py: update screen properly
* src/PeopleModel.py: handle stored maps correctly
* src/PeopleView.py: handle stored maps correctly
* src/gramps_main.py: eliminate unnecessary rebuilds, display
loading dialog
* src/gramp.glade: loading dialog


svn: r3519
2004-08-29 05:45:40 +00:00
Don Allingham
e27c787955 * src/EditPerson.py: make a distiction between adding a person
and editing a person.
* src/PeopleView.py: drop unused goto_active_person parameter
* srcgramps_main.py: drop unused goto_active_person parameter


svn: r3517
2004-08-28 19:49:34 +00:00
Don Allingham
e3f151a7a8 * src/gramps_main.py: update properly after an edit
* src/Utils.py: generate correct path name, using gramps id
instead of handle
* src/ImageSelect.py: select correct path name for thumbnail

* src/PeopleModel.py: move to a table driven format for
handling columns


svn: r3513
2004-08-26 04:03:11 +00:00
Alex Roitman
e818e09ac0 * src/data/gramps.schemas: Add /apps/gramps/interface/size-checked key.
* src/GrampsCfg.py (get_screen_size_checked,
save_screen_size_checked): Add functions.
* src/gramps_main.py: Enable sidebar depending on the screen
if the screen size has not been checked yet.


svn: r3458
2004-08-21 04:05:51 +00:00
Don Allingham
06ec9ff7ee * src/gramps_main.py: update family display after EditPerson
* src/EditPerson.py: fix callback


svn: r3456
2004-08-21 03:36:00 +00:00
Don Allingham
79f7ff0cad * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Tim Waugh
27eaa233ab 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (import_tool_callback): Set home person.


svn: r3438
2004-08-19 16:35:07 +00:00
Tim Waugh
9b461526c0 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (__init__): Update display after initialization.
        This fixes a display problem when family view is the default.


svn: r3409
2004-08-16 13:31:35 +00:00
Don Allingham
d05a83ecd1 * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
fa4fe6d391 * src/RelLib.py: rework of the API
* src/*.py: rework of the api


svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
4fd3c41ceb * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
99ffd9cd52 * src/AddSpouse.py: fix gender selection
* src/DbPrompter.py: support other DB formats
* src/GrampsBSDDB.py: BSDDB format, derived from GrampsDbBase
* src/GrampsDbBase.py: base class for database classes
* src/GrampsGEDDB.py: GEDCOM format, derived from GrampsDbBase
* src/GrampsXMLDB.py: XML format, derived from GrampsDbBase
* src/PeopleModel.py: handle rebuilds better
* src/RelLib.py: use try_to_find_person_from_handle
* src/WriteXML.py: use gramps ids instead of handles
* src/const.py.in: handle family relations correctly
* src/gramps_main.py: remove prefix settings
* src/data/gnome-mime-application-x-gramps-xml.png: new icon
* src/data/gramps.applications: support for x-gramps-xml
* src/data/gramps.keys: support for x-gramps-xml
* src/data/gramps.mime: support for x-gramps-xml
* src/data/gramps.schemas: added event format
* src/data/gramps.xml: support for x-gramps-xml
* src/plugins/ReadGedcom.py: start of GEDDB support
* src/plugins/WriteGedcom.py: start of GEDDB support


svn: r3306
2004-08-01 04:21:31 +00:00
Don Allingham
da1ab5eef0 * src/GrampsBSDDB.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/RelLib.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/AddSpouse.py: better support for gay unions
* src/ChooseParents.py: better support for gay unions
* src/FamilyView.py: better support for gay unions
* src/Marriage.py: better support for gay unions
* src/ReadXML.py: better support for gay unions
* src/gramps.glade: better support for gay unions
* src/gramps_main.py: better support for gay unions
* src/Check.py: better support for gay unions
* src/ReadGedcom.py: better support for gay unions


svn: r3302
2004-07-30 18:56:49 +00:00
Don Allingham
8df3fd12d4 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
2e1bdee01b * src/GrampsCfg.py: More re-work of gconf usage.
* src/StartupDialog.py: Access keys through GrampsCfg methods.
* src/TipOfDay.py: Access keys through GrampsCfg methods.
* src/gramps_main.py: More re-work of gconf usage.
* src/data/gramps.schemas: More re-work of gconf usage.
* src/gramps.glade: Hotkey corrections.


svn: r3278
2004-07-20 02:27:55 +00:00
Alex Roitman
f719ae6edb * src/data/gramps.schemas: Cleanup.
* src/data/Makefile.am: Clen up install rule. Add uninstall rule.
* src/StartupDialog.py: Correct use of keys.
* src/GrampsCfg.py: Correct usage of gconf.
* src/DbPrompter.py: Remove unused module.
* src/SelectChild.py: Remove unused module.
* src/SelectObject.py: Remove unused module.
* src/WriteXML.py: Remove unused module.
* src/gramps_main.py: Convert to new gconf usage.
* src/FamilyView.py: Convert to new gconf usage.
* src/AddSpouse.py: Convert to new gconf usage.
* src/ChooseParents.py: Convert to new gconf usage.
* src/EditPerson.py: Convert to new gconf usage.
* src/EditPlace.py: Convert to new gconf usage.
* src/EditSource.py: Convert to new gconf usage.
* src/EventEdit.py: Convert to new gconf usage.
* src/ImageSelect.py: Convert to new gconf usage.
* src/Marriage.py: Convert to new gconf usage.
* src/MediaView.py: Convert to new gconf usage.
* src/MergeData.py: Convert to new gconf usage.
* src/PedView.py: Convert to new gconf usage.
* src/Plugins.py: Convert to new gconf usage.
* src/RelLib.py: Convert to new gconf usage.
* src/TipOfDay.py: Convert to new gconf usage.
* src/plugins/AncestorChart2.py: Remove unused module.
* src/plugins/AncestorChart.py: Remove unused module.
* src/plugins/BookReport.py: Remove unused module.
* src/plugins/FanChart.py: Remove unused module.
* src/plugins/Partition.py: Remove unused module.
* src/plugins/Desbrowser.py: Convert to new gconf usage.
* 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.


svn: r3274
2004-07-15 02:54:04 +00:00
Alex Roitman
b76bc6d42d * src/gramps_main.py (on_export_activate): Switch to new Exporter.
* src/WriteXML.py: Change registration. Return 1 on success and
0 when on failure.
* src/Utils.py (get_new_filename): Add function.
* src/DbPrompter.py (get_new_filename): Remove function.
* src/Exporter.py: Add to CVS.
* src/Makefile.am: Ship Exporter.py.
* src/Plugins.py (register_export): Change to the new scheme.


svn: r3254
2004-07-09 18:19:47 +00:00
Don Allingham
2924bb77c9 * src/gramps_main.py: disable find old "find" function
* src/gramps.glade: enable TreeView find function
* src/PeopleView.py: don't unselect a row if it isn't a valid person.


svn: r3247
2004-07-02 02:53:51 +00:00
Alex Roitman
99d6b38312 * src/gramps_main.py (on_export_activate): Delegate work
to DbPrompter.
* src/WriteXML.py: Register with the new scheme.
* src/DbPrompter.py (SaveAsDbPrompter): Add class.


svn: r3246
2004-07-01 04:09:55 +00:00
Don Allingham
72a04eef03 * src/ChooseParents.py: fix parent selection
* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
2004-06-29 03:51:49 +00:00
Alex Roitman
416310dc17 * src/DbPrompter.py: Add new class for new, existing, and import
prompters. Enable opening any format on the startup.
* src/gramps_main.py: Use new DbPrompter classes.
* src/ArgHandler.py: Use new DbPrompter classes.


svn: r3239
2004-06-28 18:16:42 +00:00
Alex Roitman
a35aa9bcf7 * src/DbPrompter.py: Add NewNativeDbPrompter class for setting up
a native database. Enable opening any format on the startup.
* src/gramps_main.py: Use NewNativeDbPrompter when opening
non-native data.


svn: r3237
2004-06-28 13:19:06 +00:00
Don Allingham
fca58c0099 fix import
svn: r3236
2004-06-28 01:27:37 +00:00
Don Allingham
ca2b166f8f * src/gramps_main.py: fix import problem
svn: r3234
2004-06-27 18:08:19 +00:00
Don Allingham
673af70455 * src/gramps_main.py: dropped New Database message. After all, it should
be incredibly obvious.
* src/Utils.py: create_id to generate random internal ID
* src/RelLib.py: new internal ID support
* src/AddSpouse.py: bug fixes
* src/ChooseParents.py: bug fixes
* src/PeopleModel.py: bug fixes
* src/PeopleView.py: bug fixes
* src/FamilyView.py: bug fixes
* src/Bookmarks.py: support for new internal IDs
* src/EditPerson.py: support for new internal IDs
* src/plugins/ReadGedcom.py: handle new internal IDs


svn: r3233
2004-06-27 03:10:06 +00:00
Alex Roitman
e9a3377dda * src/gramps_main.py (on_import_activate,on_export_activate):
Add methods.
* src/Plugins.py (build_import_menu,build_export_menu): Remove;
(register_export): Change to the new scheme.
* src/gramps.glade: Add handlers to Import and Export menus.
Rename Export to Save As..., add icons.


svn: r3232
2004-06-26 05:39:43 +00:00
Alex Roitman
2137e803e4 * src/ArgHandler.py (handle_args): Add import callback call.
* src/gramps_main.py: Use open filters, mime types, and handlers
from import plugins.
* src/Plugins.py: Change import plugin registration.
* src/ReadXML.py: Change registration.
* src/plugins/ReadGedcom.py: Change registration.
* src/plugins/ReadPkg.py: Rewrite and change registration.


svn: r3231
2004-06-24 03:29:38 +00:00
Don Allingham
e8dd8dde0b * src/EditPerson,py: allow reordering of event columns
* src/TransTable.py: allow to be initialized with a list instead of a map
* src/gramps.glade: allow reordering of event columns
* src/gramps_main.py: catch program_init exception
* src/ListModel.py: allow reordering of columns


svn: r3230
2004-06-23 04:54:33 +00:00
Alex Roitman
2a4a7a39cd Update
svn: r3225
2004-06-21 23:24:51 +00:00
Alex Roitman
86b78e5c3c * src/ArgHandler.py: Fixes.
* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.


svn: r3224
2004-06-21 23:22:55 +00:00
Alex Roitman
03cab9f9bd * configure.in: Bump up the version number.
* src/gramps.py: Pass complete argument string.
* src/gramps_main.py: Pass popt table to gnome_init().
Always enable argument handling. (read_xml,read_pkg): Add functions.
* src/const.py.in: Define popt table, add all gnome options.
* src/ArgHandler.py: Add long options for gramps-specific options.
Add handling for the first filename argument. Use 'gramps-xml'
to denote old gramps (XML) format.
* src/DbPrompter.py: Add hint for the filename.
* src/plugins/ReadNative.py: Cosmetic changes.
* src/plugins/ReadPkg.py: Cosmetic changes.
* src/plugins/WritePkg.py: Typo.
* src/data/gramps.xml: Add mime type for gramps package.
* src/data/gramps.applications: Add gramps package to the list.
* src/data/Makefile.am: Typo.

* src/gramps_main.py: removed new database info message
* src/plugins/ReadGedcom.py: Fixed typos preventing import.
(i.e. set_type instead of SetType, etc.)

* Release: Version 1.1.0 "And now for something completely different"
released.


svn: r3218
2004-06-21 05:10:27 +00:00
Don Allingham
ab131c3f0c * src/DisplayModels,py: faster sorting of places
* src/PlaceView,py: faster sorting of places
* src/RelLib,py: faster sorting of places
* src/gramp_main.py: removed new database info message


svn: r3217
2004-06-20 03:06:21 +00:00
Don Allingham
6a8e8fa8d1 * src/plugins/WriteGedcom.py: brought up to date
* src/gramps_main.py: beta warning


svn: r3204
2004-06-09 23:59:03 +00:00
Don Allingham
affda15461 * various: installation fixes
svn: r3196
2004-05-28 04:04:04 +00:00
Alex Roitman
e7b77ccb83 * src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py,
src/EventEdit.py, src/FamilyView.py, src/gramps_main.py,
src/ImageSelect.py, src/Marriage.py, src/MediaView.py,
src/PedView.py, src/PeopleModel.py, src/PlaceView.py,
src/SelectChild.py, src/SelectObject.py, src/Sources.py,
src/SourceView.py, src/Utils.py, src/Witness.py,
src/WriteXML.py: Switch from find_* to try_to_find_* methods.


svn: r3193
2004-05-26 03:26:18 +00:00
Don Allingham
2439564ba2 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
109fe90e97 * src/plugins/ReadGedcom.py: full support for undo
svn: r3183
2004-05-20 04:41:55 +00:00
Don Allingham
e82f8d1bba * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
351ae558dd * src/GrampsCfg.py: added support for tip of the day
* src/data/tips.xml: tip data
* src/TipOfDay.py: support for tip of the day
* src/gramps_main.py: support for tip of the day
* src/const.py: support for tip of the day
* src/gramps.glade: support for tip of the day


svn: r3178
2004-05-18 07:00:34 +00:00
Don Allingham
372a82abf0 Fixed merging
svn: r3167
2004-05-13 23:48:40 +00:00
Don Allingham
d43745dc97 * src/GrampsCfg.py: remove unused options
* src/gramps.glade: remove unused panels in preferences
* src/Plugins.py: removed xpm images
* src/EventEdit.py: get full event list
* src/plugins/AncestorChart.py: remove xpm image
* src/plugins/AncestorChart2.py: remove xpm image
* src/plugins/AncestorReport.py: remove xpm image
* src/plugins/Ancestors.py: remove xpm image
* src/plugins/BookReport.py: remove xpm image
* src/plugins/CustomBookText.py: remove xpm image
* src/plugins/DesGraph.py: remove xpm image
* src/plugins/DescendReport.py: remove xpm image
* src/plugins/DetAncestralReport.py: remove xpm image
* src/plugins/DetDescendantReport.py: remove xpm image
* src/plugins/FamilyGroup.py: remove xpm image
* src/plugins/FtmStyleAncestors.py: remove xpm image
* src/plugins/FtmStyleDescendants.py: remove xpm image
* src/plugins/IndivComplete.py: remove xpm image
* src/plugins/IndivSummary.py: remove xpm image
* src/plugins/Makefile.in: remove xpm image
* src/plugins/SimpleBookTitle.py: remove xpm image
* src/plugins/WebPage.py: remove xpm image
* src/RelLib.py: secondary index for event names


svn: r3158
2004-05-12 03:58:14 +00:00
Alex Roitman
8d4c034b86 * src/Plugins.py: Pass parent class to the tools.
* src/rule.glade: Define event handlers.
* src/gramps_main.py: Pass parent class to the tools.
* src/plugins/EventCmp.py: Window management.
* src/plugins/FilterEditor.py: Window management.
* src/plugins/PatchNames.py: Window management.
* src/plugins/eventcmp.glade: Define event handlers.
* src/plugins/patchnames.glade: Define event handlers.


svn: r3150
2004-05-10 04:54:10 +00:00
Don Allingham
2d5e249839 * src/DbPrompter.py: handle open dialog in a clean manner
* src/gramps.py: handle open dialog in a clean manner
* src/gramps_main.py: handle open dialog in a clean manner
* src/gramps.glade: handle open dialog in a clean manner


svn: r3143
2004-05-08 04:48:59 +00:00
Don Allingham
350f5d5077 fix select person again
svn: r3136
2004-05-07 03:58:26 +00:00
Don Allingham
50131988cc * src/gramps_main.py: rebuild tree after importing
* src/plugins/ReadGedcom.py: destroy filechooser at proper time


svn: r3129
2004-05-05 03:54:02 +00:00
Don Allingham
ade23b0d05 update
svn: r3119
2004-05-03 04:27:56 +00:00
Don Allingham
ff2378b9a0 * src/DbPrompter.py: 2.4 filechooser
* src/gramps_main.py:  2.4 filechooser
* src/ReadXML.py:  2.4 filechooser
* src/Pluginsd.py: tooltip deprecation fix


svn: r3118
2004-05-03 03:47:29 +00:00
Don Allingham
e97365dedf update
svn: r3117
2004-05-02 04:10:33 +00:00
Don Allingham
21b8283302 * src/gramps.glade: rearranged filter apply
* src/gramps.py: update to gtk.main()
* src/gramps_main.py: goto active person after model built


svn: r3116
2004-05-01 14:08:36 +00:00
Don Allingham
bd599862d5 * src/GenericFilter.py: Add a generic filter that can take a
parameter
* src/PeopleModel.py: Support for top level visibility
* src/gramps.glade: clean up filtering widgets
* src/gramps_main.py: build basic filters


svn: r3115
2004-04-30 03:01:51 +00:00
Don Allingham
4407b69063 * src/DbPrompter.py: remove unused functions
* src/DisplayModels.py: filtering support
* src/GenericFilter.py: filtering support
* src/PeopleModel.py: support for filtering
* src/PeopleView.py: support for filtering
* src/RelLib.py: filtering support
* src/Utils.py: filtering support
* src/gramps.glade: remove invert for filters
* src/gramps_main.py: filtering support


svn: r3114
2004-04-28 04:06:25 +00:00
Don Allingham
76102265db * src/DbPrompter.py: support for new GTK 2.4 file chooser
svn: r3090
2004-04-19 03:15:05 +00:00
Don Allingham
6b74af3368 Fixes for undo
svn: r3089
2004-04-16 19:15:02 +00:00
Don Allingham
245fa23f64 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Don Allingham
98f5e48e37 Improved error handling
svn: r3083
2004-04-10 03:38:48 +00:00
Don Allingham
932a2c5b4a * src/VersionControl.py: removed
* src/GrampsMime.py: added mime types
* src/grampslib_wrap.c: removed


svn: r3077
2004-04-06 03:20:04 +00:00
Don Allingham
efd152ac78 * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Don Allingham
f58731f4ea * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
13837efea8 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3058
2004-03-25 04:04:35 +00:00
Don Allingham
5ade7bac06 * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
aceaffcc97 Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
dc7a5a6473 * src/PeopleModel.py: Column reordering/selection
* src/PeopleView.py: Column reordering/selection
* src/RelLib.py: Column reordering/selection
* src/gramps_main.py: Column reordering/selection
* src/gramps.glade: Column editor
* src/ColumnOrder.py: Column editor


svn: r2998
2004-03-10 05:15:06 +00:00
Don Allingham
c4a640394d * src/EditPerson.py: TreeView enhancements
* src/PeopleModel.py: TreeView enhancements
* src/PeopleView.py: TreeView enhancements
* src/gramps_main.py: TreeView enhancements


svn: r2984
2004-03-09 05:12:14 +00:00
Don Allingham
d6c5b2746f * src/PeopleModel.py: New GenericTreeView based model
* src/RelLib.py: metadata/people model support
* src/gramps_main.py: PeopleModel support
* src/PeopleView.py: PeopleModel support


svn: r2978
2004-03-07 21:50:41 +00:00
Don Allingham
1dc949b752 * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept


svn: r2941
2004-03-01 04:33:36 +00:00
Don Allingham
ee78b4394f Database saving
svn: r2927
2004-02-28 20:15:48 +00:00
Don Allingham
89f2a1cfc7 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Alex Roitman
720b43b977 More windows
svn: r2919
2004-02-28 03:51:59 +00:00
Alex Roitman
068ff60c2b More windows updates and small fixes
svn: r2914
2004-02-26 03:34:19 +00:00
Don Allingham
9bbcabef44 * src/plugins/WebPage.py: media reference fixes
* src/plugins/ReadGedcom.py: media reference fixes
* src/plugins/IndivSummary.py: media reference fixes
* src/plugins/IndivComplete.py: media reference fixes
* src/plugins/DetAncestralReport.py: media reference fixes
* src/plugins/DetDescendantReport.py: media reference fixes
* src/plugins/Check.py: media reference fixes
* src/gramps_main.py: media reference fixes
* src/Utils.py: gnome.vfs vs. grampslib
* src/RelLib.py: single db file, media reference fixes
* src/MediaView.py: media reference fixes


svn: r2911
2004-02-25 03:25:57 +00:00
Alex Roitman
b6cb43b1ea Update
svn: r2910
2004-02-25 03:20:53 +00:00
Don Allingham
72659f98ac Additional Reference fixes
svn: r2888
2004-02-22 04:57:06 +00:00
Alex Roitman
9ae8955fc0 * src/ImageSelect.py: Corrections.
* src/RelLib.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps_main.py: Corrections.
* src/Bookmarks.py: Corrections.


svn: r2886
2004-02-21 18:59:45 +00:00
Alex Roitman
3e6e2ea2ea * src/EditPerson.py: Corrections.
* src/EditSource.py: Use parent class. Use windows menu.
* src/ImageSelect.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps.glade: Add handlers.
* src/NoteEdit.py: Corrections.
* src/dialog.glade: Add handler.
* src/Witness.py: Corrections.
* src/RelLib.py: Include witnesses in comparing events.
* src/FamilyView.py: Pass parent on to child classes.
* src/AddSpouse.py: Pass parent on to EditPerson.
* src/ChooseParents.py: Pass parent on to EditPerson.
* src/gramps_main.py: Pass Gramps class to child classes.
* src/MergeData.py: Pass parent on to EditPerson.


svn: r2885
2004-02-21 06:40:44 +00:00
Don Allingham
2d81ccd542 First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Alex Roitman
f2a684d957 * src/EditPerson.py: Use parent class. Add/remove itself from/to
the Windows menu.
* src/NameEdit.py: Make non-modal.
* src/gramps.glade: Add Windows menu.
* src/gramps_main.py: Get Windows menu and its submenu.
Pass Gramps class to the children -- first-class object editors.


svn: r2870
2004-02-19 13:40:09 +00:00
Don Allingham
36ef08b358 get_id updates
svn: r2846
2004-02-15 23:10:12 +00:00
Alex Roitman
983186336c * src/Relationship.py: More corrections.
* src/plugins/rel_ru.py: Corrections.
* src/gramps_main.py: Corrections.


svn: r2842
2004-02-15 21:28:31 +00:00
Don Allingham
1c94371e33 updates for IDs
svn: r2840
2004-02-15 20:49:34 +00:00
Alex Roitman
47a66cdf75 * src/plugins/IndivComplete.py: Call doc.init() after open.
* src/plugins/IndivSummary.py: Call doc.init() after open.
* src/plugins/RelCalc.py: Use class of calculator.
* src/plugins/rel_ru.py: Convert to class.
* src/Plugins.py: Register _relcalc_class.
* src/gramps_main.py: Use class of relationship calculator.


svn: r2835
2004-02-15 07:08:55 +00:00
Alex Roitman
be7b042fda * src/plugins/DetDescendantReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/plugins/DetAncestralReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/StyleEditor.py (draw, save_paragraph): Allow users
to adjust first line indent.
* src/styles.glade: Add first line indent entry.
* src/plugins/Check.py (delete_empty_family): Remove families
in which person is a parent, not only a child.
* src/gramps_main.py (post_load): Use display_frel and
display_fattr.
* src/MediaView.py (key_press): Add function.
* src/PlaceView.py (key_press): Add function.
* src/SourceView.py (key_press): Add function.
* src/plugins/WebPage.py: Add tab with index page options.

* src/po/hu.po: Update
* doc/gramps-manual/hu/filtref.xml: Update


svn: r2831
2004-02-15 03:24:12 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
1ead1fc695 * src/gramps_main.py: better error messages on database write failure
* src/WriteXML.py: better error messages on database write failure
* src/GrampsXML.py: better error messages on database write failure

* src/PeopleView.py (PeopleView.add_to_person_list): don't attempt to sort the
model unless it has be assigned.


svn: r2736
2004-02-01 03:16:23 +00:00
Don Allingham
6283eca1e3 * src/PeopleView.py: correctly handle disabling report/tool buttons
* src/gramps_main.py: correctly handle disabling report/tool buttons


svn: r2683
2004-01-21 04:43:51 +00:00
Alex Roitman
f498d43529 * src/gramps_main.py (save_media): Add support for default action.
* src/plugins/Check.py (cleanup_missing_photos): Add support for default action.
* src/plugins/WriteCD.py (on_ok_clicked): Add support for default action.
* src/plugins/WritePkg.py (export): Add support for default action.
* src/plugins/WriteFtree.py: Do not import unused dialog.


svn: r2652
2004-01-18 01:59:30 +00:00
Don Allingham
730e6fc24a * src/docgen/AbiWord2Doc.py: pychecker fixes
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r2634
2004-01-13 05:05:39 +00:00
Don Allingham
850b5ad259 * src/Makefile.am: export papersize.xml
* src/RelLib.py: Don't call setAncestor if default person is None
* src/gramps_main.py: remove children out of alternate families
when deleting a person, set default person to None if deleting the
default person.


svn: r2627
2004-01-12 03:35:02 +00:00
Don Allingham
18b411eed3 * src/revision.glade: removed unused call (on_help_dbopen_clicked)
* src/gramps_main.py: don't add places twice after an edit of a person
* src/AddSpouse.py: don't add places twice after an edit of a person
* src/ChooseParents.py: don't add places twice after an edit of a person
* src/EditPerson.py: don't add places twice after an edit of a person
* src/FamilyView.py: don't add places twice after an edit of a person


svn: r2538
2003-12-17 18:38:02 +00:00
Alex Roitman
b01d83da90 * src/gramps_main.py (__init__): Remove unneeded handler.
svn: r2450
2003-12-06 21:09:46 +00:00
Alex Roitman
fafc6a5efc * TODO: Update.
* gramps.desktop: Remove in favor of src/gramps.desktop file.
* src/gramps_main.py: Replace stock Home with the custom string.
* src/PeopleView.py: Replace stock Home with the custom string.


svn: r2443
2003-12-05 00:11:22 +00:00
Alex Roitman
4dc578fb36 * src/gramps_main.py (on_faq_activate): Switch Help->FAQ function
* src/gramps.glade: Remove FAQ window.
* doc/gramps-manual/C/cmdline.xml,
doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/custom.xml,
doc/gramps-manual/C/keybind.xml,
doc/gramps-manual/C/faq.xml,
doc/gramps-manual/C/legal.xml,
doc/gramps-manual/C/filtref.xml,
doc/gramps-manual/C/mainwin.xml,
doc/gramps-manual/C/getstart.xml,
doc/gramps-manual/C/usage.xml: Add copyright info to header.


svn: r2429
2003-12-03 02:56:43 +00:00
Don Allingham
7ba1e80302 * src/gramps_main.py: update person table after edit (BUG 851637)
svn: r2426
2003-12-02 17:24:01 +00:00
Alex Roitman
731dac4120 * src/revision.glade: Add Help button.
* src/gramps_main.py (on_help_dbopen_clicked): Add function.
* src/plugins/gedcomexport.glade: Add Help button.
* src/plugins/WriteGedcom.py (on_help_clicked): Add function.
* src/plugins/pkgexport.glade: Add Help button.
* src/plugins/WritePkg.py (on_help_clicked): Add function.
* src/plugins/writeftree.glade: Add Help button.
* src/plugins/WriteGedcom.py (on_help_clicked): Add function.
* src/plugins/cdexport.glade: Add Help button.
* src/plugins/WriteCD.py (on_help_clicked): Add function.
* src/Bookmarks.py (draw_window): Add Help button;
(help_clicked): Add function.


svn: r2418
2003-12-02 02:35:49 +00:00
Alex Roitman
b901a0afa0 * src/gramps_main.py (on_faq_activate): Add function.
* src/gramps.glade: Add faq window.


svn: r2391
2003-11-26 19:15:24 +00:00
Don Allingham
490d01f487 * src/gramps_main.py: handle update_after edit properly, so that
name changes will put entry in the correct category
* src/PeopleView.py: cleanup
* src/PeopleStore.py: delete stale iter from dictionary when no
longer used.


svn: r2387
2003-11-26 16:42:54 +00:00
Don Allingham
979bdc6808 * src/gramps_main.py: just update information after an edit
instead of deleting/re-enter. Caused pygtk to segfault
* src/PeopleView.py: provide update person function
* src/dialog.glade: remove unused callbacks


svn: r2367
2003-11-24 02:56:13 +00:00
Don Allingham
b28d22243a * src/GrampsCfg.py: Add comment about SUSE naming of gconf
* src/Relationship.py: detect a RuntimeError exception that occurs
when we exceed the recursion depth limit. This occurs when a
relationship loop is detected
* src/gramps_main.py: handle relationship loop message


svn: r2355
2003-11-20 04:18:10 +00:00
Don Allingham
c688da8615 * src/FamilyView.py: delete unused code
* src/PeopleView.py: handle uncaught exception
* src/RelLib.py: rebuild person table
* src/gramps_main.py: rebuild display after preferences


svn: r2338
2003-11-14 05:12:38 +00:00
Alex Roitman
ab6f7ac74f * src/gramps_main.py (back_pressed, fwd_pressed): Pass event to the
build_menu functions; (build_backhistmenu, build_fwdhistmenu): Use
event for popping the menu.

* NEWS, TODO: catch up with the current CVS state.

* src/Utils.py (history_broken, clearHistory_broken, wasHistory_broken):
Add functions.
* src/plugins/ReorderIds.py(__init__): Call Utils.history_broken upon
reordering.
* src/gramps_main.py (clear_history): Add function;
(redraw_histmenu, fwd_clicked, back_clicked): Clear history if catching
an exception (should be actually handled by reorder plugin, leaving here


svn: r2320
2003-11-07 16:29:27 +00:00
Don Allingham
dd56ad01a7 * src/PeopleView.py: rebuild after a filter is applied
* src/DbPrompter: remove ZODB option
* src/RelLib.py: remove ZODB option
* src/gramps.glade: remove ZODB option
* src/gramps_main.py: remove ZODB option


svn: r2306
2003-11-01 19:55:30 +00:00
Tim Waugh
1810846114 2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (Gramps.delete_person_clicked): Fix removal
        of multiple people at once (bug #834102).


svn: r2305
2003-11-01 16:01:36 +00:00
Don Allingham
0acb576661 * src/gramps_main.py: pychecker cleanup
* src/PeopleView.py: pychecker cleanup
* src/PeopleStore.py: pychecker cleanup
* src/EditPerson.py: pychecker cleanup
* src/QuickAdd.py: remove file
* src/SelectChild.py: Remove ability to add new person, since a separate
function for this already exists.
* src/gramps.glade: remvoe add button from select child dialog
* src/Makefile.am: remove QuickAdd.py
* src/intl.py: remove
* src/intl.c: remove
* src/TextDoc.py: remove
* src/DrawDoc.py: remove


svn: r2293
2003-10-30 04:17:05 +00:00
Don Allingham
0fe280dfc0 * src/GrampsParser.py: remove debugging statement
* src/RelLib.py: remove debugging statement
* src/gramps_main.py: If an invalid ID is found while attempting to
access the history, invalidate the history list (set to empty list).
This should only happen after a reordering of IDs.


svn: r2282
2003-10-23 03:02:52 +00:00
Alex Roitman
8fea0928b0 (needed for Family View). Enable switching Toolbar on/off.
Correct existing gconf key detection. Enable switching Toolbar on/off.
* src/gramps.glade: Enable switching Toolbar on/off.


svn: r2266
2003-10-17 05:05:20 +00:00
Alex Roitman
b33e8c95cc * src/GrampsCfg.py: Implement instant preferences (HIG).
* src/preferences.glade: Likewise.
* src/gramps_main.py (pref_callback): Update statusbar from prefs
(needed for Family View).


svn: r2260
2003-10-16 16:43:07 +00:00
Alex Roitman
b7cfa1a6b4 * src/gramps.glade: Correct tooltips.
* src/GrampsCfg.py:	Enable using four toolbar styles as well as
the gnome default style.
* src/preferences.glade: Add a title for the tree. HIGify toolbar styles.
* src/gramps_main.py (pref_callback): Set toolbar style from prefs.


svn: r2259
2003-10-16 04:42:21 +00:00
Alex Roitman
d8d91425e4 * src/gramps_main.py (edit_button_clicked): Modify edit person call
to always handle currently active person in family view;
(delete_person_clicked): Use single person mlist for family views;
(delete_person_response): Replace Back with just setting active
person to current history index (remove_from_history already places
hindex in the correct place). Always call redraw_histmenu().
* src/FamilyView.py (spouse_swap): Use change_active_person() call
in order to correctly build history.


svn: r2246
2003-10-13 04:23:34 +00:00
Don Allingham
ca4a8962bb * src/gramps_main.py: enabled Add/Edit/Remove buttons for family view,
perform a "back button" operation when a person is deleted. Instead of
leaving no one selected, go back to the previous person.


svn: r2243
2003-10-13 03:12:27 +00:00
Alex Roitman
2da2f0ed04 and rel_it.py.
* src/ArgHandler.py: Split off gramps_main into a separate file.
* src/gramps_main.py: Likewise.
* src/Makefile.am, src/Makefile.in: Ship src/ArgHandler.py.
* NEWS: More items.


svn: r2242
2003-10-13 01:55:56 +00:00
Don Allingham
cbc95b9ff1 * src/GrampsCfg.py: eliminate name only option in status line
* src/gramps_main.py: eliminate name only option in status line
* src/preferences.py : eliminate name only option in status line
* src/plugins/GraphViz.py: install only for python 2.2


svn: r2234
2003-10-12 00:16:54 +00:00
Don Allingham
d8def400f3 * src/gramps_main.py: fix reference paths
* src/PeopleView.py: remove gobject import
* src/FamilyView.py: return name prefix/surname tuple
* Makefile.am: installation path from grampslib.so


svn: r2224
2003-10-11 02:22:51 +00:00
Alex Roitman
843d6e8c10 * src/gramps.glade: Remove hot keys from toolbar buttons.
Add editing items under Edit menu.
* src/gramps_main.py: Enable/disable new menu items.
* NEWS, configure, configure.in, gramps.spec, doc/gramps.1,
doc/gramps-manual/C/gramps-manual-C.omf,
doc/gramps-manual/C/gramps-manual.xml: merge with 0.9.5 branch.

* Version 0.9.5:  the "Fix me up" release.

* src/gramps_main.py (delete_person_response, merge_update):
Add remove_from_history and redraw_histmenu() calls before deleting
the person.
* doc/gramps.1.in, doc/gramps.1, doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/gramps-manual.omf, gramps.spec: New version.
* configure.in: Fix version and release numbers for 0.9.5-1.
* NEWS: Update for a 0.9.5 release.


svn: r2222
2003-10-10 03:56:19 +00:00
Alex Roitman
d510a3b9e4 * src/gramps_main.py (init_interface, redraw_histmenu): Add
accelerators to the navigation menus.


svn: r2221
2003-10-09 04:18:53 +00:00
Alex Roitman
d2dde84a4a * src/gramps_main.py (delete_person_response): Add remove_from_history
call before deleting the person.
* src/PeopleView.py (remove_from_history): Add function;
(row_changed) Remove extra change_active_person() call.


svn: r2201
2003-10-06 22:49:16 +00:00
Alex Roitman
3a46b36b15 * src/PeopleView.py: Correct references to history in gramps_main.
* src/gramps_main.py: Switch away from separate history submenu.
* src/gramps.glade: Likewise.


svn: r2197
2003-10-06 01:42:55 +00:00
Don Allingham
20ed0b0440 * src/gramps_main.py: removed import of TreeModel (does
not exist).


svn: r2195
2003-10-05 14:35:50 +00:00
Don Allingham
7dc6df853a * src/PeopleView.py: broken out of gramps_main.py, fixed
add/delete
* src/gramps_main.py: people view removed, fixed add/delete


svn: r2193
2003-10-05 04:34:31 +00:00
Don Allingham
c0ce4086ee * src/PeopleView.py: broken out of gramps_main.py
* src/PeopleStore.py: TreeStore wrapper for PeopleView
* src/gramps_main.py: people view removed
* src/RelLib.py: add surname to display info for each person,
allows grouping by name
* src/Report.py: Change button from Apply to
"Generate report"


svn: r2190
2003-10-04 20:02:38 +00:00
Alex Roitman
cd028353b3 * src/Plugins.py: Fix label for the tools dialog.
* src/gramps.glade: Add accelerators to filter controls.
* src/places.glade: Fix accelerator in Edit Plase dialog.
* src/gramps_main.py: Typo.
* src/PlaceView.py: Likewise.
* src/GenericFilter.py: Likewise.

* src/gramps_main.py: fixed delete person problem.


svn: r2187
2003-09-30 04:19:35 +00:00
Don Allingham
ef95a64b10 * src/gramps_main.py: fixed delete person problem.
svn: r2185
2003-09-30 03:31:14 +00:00
Don Allingham
71fc95ba39 * src/gramps_main.py: pass list of filtered people to find dialog
* src/Find.py: pass list of filtered people to find dialog
* src/po/hu.po: set character set to ISO-8859-2, fix typo

* src/po/hu.po: Hungarian translation


svn: r2149
2003-09-20 18:21:39 +00:00
Alex Roitman
08b8f46c4a * src/gramps_main.py (on_save_as_activate): Make dialog modal and
transient; (on_open_activate): likewise; (on_new_clicked): pass
main window to set the transient.
* src/gramps.glade (fileselection dialog): Remove auto_estroy and modal.
* src/revision.glade (dbopen dialog): Add modal and set responses.


svn: r2138
2003-09-16 03:58:29 +00:00
Alex Roitman
4f738022e8 * src/plugins/WriteGedcom.py (cl_setup): Define newline char.
* src/plugins/WriteFtree.py: Provide command line interface.
* src/gramps_main.py (handle_args): Add function. Add WFT export
format; (cl_export): Add WFT format.
* doc/gramps.1.in: Update man page to reflect new format option.
* doc/gramps.1: Likewise.
* NEWS: Likewise.
* TODO: Add recently discussed items from gramps-devel.


svn: r2133
2003-09-16 01:35:09 +00:00
Don Allingham
af507eb4b4 * src/gramps_main.py: update family view after a GEDCOM import
* src/plugins/TimeLine.py: draw grid after displaying text. Fixes
a problem with OpenOffice


svn: r2117
2003-09-12 03:17:42 +00:00
Alex Roitman
7afaf5ddc4 * src/gramps_main.py (__init__): Pass parent window to DbPrompter.
* src/DbPrompter.py (show): Gracefully deal with empty parent.


svn: r2106
2003-09-08 12:14:34 +00:00
Alex Roitman
3795edd1d4 * src/gramps_main.py (new_database_response,read_file,save_file):
Pass parent window to DbPrompter.
* src/DbPrompter.py (__init__): Accept optional parent argument;
(show): Make the window the transient for the main window.
* src/gramps.glade: Make Opendb dialog modal.


svn: r2103
2003-09-08 04:12:43 +00:00
Don Allingham
fd6da64350 * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate


svn: r2098
2003-09-07 14:16:25 +00:00
Alex Roitman
8f88ab5b6b * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Alex Roitman
c525f2feec * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.


svn: r2084
2003-09-03 00:54:55 +00:00
Tim Waugh
0d463a5ea2 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py: Fixed start-up view when family view style
        is the default.


svn: r2082
2003-09-02 21:22:11 +00:00
Alex Roitman
aef12f25bf * src/gramps_main.py (load_selected_people): Only invoke Edit person
dialog if the active person is selection in the current alpha- page;
(change_alpha_page): Enable person-centered buttons only if the
selection is visible in the current page;
(build_people_context_menu): Enable Add bookmark and Edit/Remove only
if the selection is visible in the current page.


svn: r2068
2003-08-31 05:12:30 +00:00
Alex Roitman
32a3796ae1 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
f85214c358 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
b06bb6251d * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +00:00
Alex Roitman
fe159d611a * src/gramps.glade: Minor cleanups for the alternate family view.
* src/gramps_main.py: Likewise.


svn: r2050
2003-08-26 04:26:09 +00:00
Don Allingham
eb60bb7782 * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
7adaa38b83 * src/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons.


svn: r2044
2003-08-25 20:38:35 +00:00
Alex Roitman
358f95a2be * src/PedView.py (PedigreeView.__init__): Add parent argument to the
constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
2003-08-25 14:00:26 +00:00
Alex Roitman
fb10339133 * src/gramps_main.py (change_active_person): Cleanup with
enabling/disabling add/edit/remove buttons in different views upon the
active person change.


svn: r2041
2003-08-25 05:03:36 +00:00