Commit Graph

59 Commits

Author SHA1 Message Date
Don Allingham
f741527b55 * src/plugins/RelCalc.py: use empty string instead of None
* src/EditPerson.py: pychecker fixes
* src/EditPlace.py: pychecker fixes
* src/EditSource.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/ImageSelect.py: pychecker fixes
* src/ListModel.py: pychecker fixes
* src/MediaView.py; pychecker fixes
* src/MergeData.py: pychecker fixes
* src/PedView.py: pychecker fixes
* src/PeopleView.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/RelImage.py: pychecker fixes
* src/Relationship.py: pychecker fixes


svn: r3450
2004-08-20 12:11:56 +00:00
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
eda23b8ecc * 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
Alex Roitman
e74691df11 * src/GrampsCfg.py: Remove unneeded id_edit widget.
* src/gramps.glade: Manually switch toolbar items from
to ToolButtons to buttons to work around libglade bug. Remove
unused id_edit widget and the label.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/merge.glade: Switch button order to comply with HIG.


svn: r3294
2004-07-29 04:40:09 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
0dacb06822 * 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
31044b29c8 Update
svn: r3277
2004-07-15 04:54:14 +00:00
Alex Roitman
e776ef23bf * 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
Don Allingham
02a0fc3072 * src/filters/*: removed
* src/plugins/WritePkg.py: brought up to date


svn: r3205
2004-06-12 04:39:45 +00:00
Don Allingham
1e9b3cfc20 * 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
a15bf019b2 * 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
Don Allingham
8592fa2cc9 * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
380e178acc * src/plugins/AncestorChart2.py: Add hotkeys to check button labels.
Add scale, compress, and title options support to the book dialog.
* src/plugins/book.glade: Reduce minimum window height to 600 pixels.
* src/plugins/WriteCD.py (on_ok_clicked): Correct indentation.
* src/GrampsCfg.py (loadConfig, save_data): Correctly parse gconf key.


svn: r2656
2004-01-19 17:40:39 +00:00
Don Allingham
1848bd9a9c * src/preferences.glade: call on_object_toggled only for elements that
need immediate display update
* src/GrampsCfg.py: Save data on close - don't rely on on_object_toggled
having been called.


svn: r2546
2003-12-17 23:45:43 +00:00
Don Allingham
49512e683c * src/PlaceView.py: Make sure to add new place after edit
* src/AddMedia.py: unicode conversion from gtk.Entry
* src/AddSpouse.py: unicode conversion from gtk.Entry
* src/AddrEdit.py: unicode conversion from gtk.Entry
* src/AttrEdit.py: unicode conversion from gtk.Entry
* src/AutoComp.py: unicode conversion from gtk.Entry
* src/ChooseParents.py: unicode conversion from gtk.Entry
* src/DateEdit.py: unicode conversion from gtk.Entry
* src/EditPerson.py: unicode conversion from gtk.Entry
* src/EditPlace.py: unicode conversion from gtk.Entry
* src/EditSource.py: unicode conversion from gtk.Entry
* src/EventEdit.py: unicode conversion from gtk.Entry
* src/Find.py: unicode conversion from gtk.Entry
* src/GrampsCfg.py: unicode conversion from gtk.Entry
* src/ImageSelect.py: unicode conversion from gtk.Entry
* src/LocEdit.py: unicode conversion from gtk.Entry
* src/Marriage.py: unicode conversion from gtk.Entry
* src/MergeData.py: unicode conversion from gtk.Entry
* src/NameEdit.py: unicode conversion from gtk.Entry
* src/PeopleView.py: unicode conversion from gtk.Entry
* src/Report.py: unicode conversion from gtk.Entry
* src/SelectChild.py: unicode conversion from gtk.Entry
* src/Sources.py: unicode conversion from gtk.Entry
* src/StartupDialog.py: unicode conversion from gtk.Entry
* src/StyleEditor.py: unicode conversion from gtk.Entry
* src/UrlEdit.py: unicode conversion from gtk.Entry
* src/Utils.py: unicode conversion from gtk.Entry
* src/VersionControl.py: unicode conversion from gtk.Entry
* src/Witness.py: unicode conversion from gtk.Entry


svn: r2534
2003-12-17 05:23:16 +00:00
Don Allingham
5f9da375ad * src/GrampsCfg.py: change the default prefixes so that they
sort nicely numerically.
* src/plugins/ReadGedcom.py: handle eazytree oddities.


svn: r2528
2003-12-16 04:04:08 +00:00
Alex Roitman
017f36d86e Oops, reverting last change
svn: r2504
2003-12-11 20:27:34 +00:00
Alex Roitman
46fcf69881 * src/GrampsCfg.py (loadConfig, on_propertybox_apply):
Gracefully handle broken gnome keys for the toolbar style.


svn: r2503
2003-12-11 20:22:51 +00:00
Don Allingham
b1f20179bb update
svn: r2502
2003-12-11 05:02:16 +00:00
Don Allingham
fc1999086a * src/GrampsCfg.py: Make sure to return "BOTH" if the gnome
toolbar gconf entry is not set. Appears that this can happen
on systems that don't have gnome fully installed.


svn: r2497
2003-12-10 15:30:55 +00:00
Alex Roitman
b1a31deb0f * src/preferences.glade: Add Help button.
* src/GrampsCfg.py (on_propertybox_help): Add function.
* src/imagesel.glade: Add Help buttons.
* src/ImageSelect.py (ImageSelect.on_help_imagesel_clicked,
GlobalMediaProperties.on_help_clicked): Add functions.
* src/AddMedia.py (on_help_imagesel_clicked): Add function.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/keybind.xml: Update.
* src/AddSpouse.py: Call yelp with sect2 argument.
* src/AddrEdit.py: Likewise.
* src/AttrEdit.py: Likewise.
* src/ChooseParents.py: Likewise.
* src/EditPerson.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EditSource.py: Likewise.
* src/EventEdit.py: Likewise.
* src/Marriage.py: Likewise.
* src/NameEdit.py: Likewise.
* src/SelectChild.py: Likewise.
* src/Sources.py: Likewise.


svn: r2420
2003-12-02 04:27:23 +00:00
Don Allingham
0b96a875df * 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
1112e78678 * 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
Don Allingham
6881becfa9 * src/GrampsCfg.py: Fixed name format selection problem
svn: r2332
2003-11-13 19:28:58 +00:00
Don Allingham
c909903fd5 handle SuSE's broken gconf configuration
svn: r2313
2003-11-02 23:22:36 +00:00
Alex Roitman
a3694c57e0 (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
3a6010582a Update
svn: r2265
2003-10-17 04:25:56 +00:00
Alex Roitman
56c2b3a66d * src/FamilyView.py (set_widgets): Do not connect buttons if this
view is already initialized.
* src/GrampsCfg.py: Set GNOME toolbar prefs as the default.
Correct existing gconf key detection.


svn: r2264
2003-10-17 04:24:36 +00:00
Alex Roitman
a9c28c392c * 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
3a5ccf8e7f * 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
Don Allingham
fee585d80c * src/RelLib.py : support for capitalized name formats
* src/EditPerson.py: eliminate capitilzing names, instead rely on
the display formats
* src/Utils.py: new display formats for names
* src/GrampsCfg.py: eliminate name only option in status line,
add support for capitalized name formats
* src/preferences.glade : eliminate name only option in status line,
drop capitalize in favor of expanded name format


svn: r2238
2003-10-12 04:26:00 +00:00
Don Allingham
e43a29b72a * 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
74667d39bc * 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
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
46c8f6d8d4 * src/GrampsCfg.py: Fix toolbar prefs.
* src/intl.py: Import intl22.so for both 2.2 and 2.3 python versions.


svn: r2010
2003-08-15 02:47:13 +00:00
Don Allingham
d3333e1265 * src/gramps_main.py: apply the filter after a load of the database,
allow default view to be set
* src/GrampsCfg.py: handle the defaultview key to allow the user to
choose Family or People view as the default
* src/preferences.glade: defaultview settings


svn: r1993
2003-08-12 03:01:17 +00:00
Alex Roitman
28a1848322 * src/GrampsCfg.py: Toolbar and statusbar (single word each).
* src/preferences.glade: Statusbar (single word).
* doc/gramps-manual/C/gramps-manual.xml: More corrections.


svn: r1888
2003-07-16 02:33:19 +00:00
Alex Roitman
d343ec62da * src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path().
* src/Plugins.py (PluginDialog.on_node_selected): Likewise.


svn: r1858
2003-07-11 01:12:22 +00:00
Don Allingham
8189febf02 * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Don Allingham
f4b8546438 Pychecker cleanup
svn: r1430
2003-04-09 03:29:08 +00:00
Don Allingham
de7efc0405 Sidebar/tab handling
svn: r1402
2003-03-27 03:16:09 +00:00
Don Allingham
97068b77a6 Merge fixes, option to display relationship to the home person in the
status bar.


svn: r1380
2003-03-22 20:26:44 +00:00
Don Allingham
2615f4c186 HIG improvements
svn: r1358
2003-03-19 04:27:34 +00:00
Don Allingham
50f66cbddd Updates to people list occur only on active display
svn: r1353
2003-03-17 02:28:43 +00:00
Don Allingham
4d69982b87 Image fixes
svn: r1286
2003-02-05 13:53:00 +00:00
Don Allingham
fec03df01a Capitalize last names
svn: r1271
2003-01-24 03:47:05 +00:00
Don Allingham
a9f8fe034f ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
c440d722a6 Calendar formats added
svn: r1241
2003-01-07 03:40:22 +00:00