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
e2526f32f3
* src/WriteXML.py: always write the default location for a place
...
* src/EditPerson.py: don't for write of multimedia objects if
not edited
* src/ImageSelect.py: don't for write of multimedia objects if
not edited
* src/AutoComp.py: build ListStore for ComboBox and Entry
* src/AddSpouse.py: use ComboBox
* src/Marriage.py: use ComboBox
* src/gramps.glade: Switch from gtk.Combo to gtk.ComboBox and
gtk.ComboxEntry
* src/EventEdit.py: handle autocompletion
* src/RelLib.py: remove cPickle import
* src/GrampsDbBase.py: fix has_handle functions
svn: r3325
2004-08-04 04:53:29 +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
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
Don Allingham
1333c80f7f
* src/ChooseParents.py: build an exclusion list of those
...
obviously not the parents
* src/EditPerson.py: allow ID value to be edited
* src/RelLib.py: Add try_to_find_from_gramps_id
* src/ImageSelect.py: catch OSError
svn: r3253
2004-07-09 04:31:43 +00:00
Alex Roitman
f5206ae5cd
* src/gramps.glade: Typos.
...
* src/ImageSelect.py: Correctly update property editors on OK
and Cancel.
* src/EventEdit.py: Typo.
* src/Sources.py: Set change flag on deletion of the source reference.
* src/RelLib.py: Add media list into serialization and restore.
svn: r3206
2004-06-13 06:18:20 +00:00
Don Allingham
5d01154b88
* src/filters/*: removed
...
* src/plugins/WritePkg.py: brought up to date
svn: r3205
2004-06-12 04:39:45 +00:00
Alex Roitman
c5c4a151c2
* src/MediaView.py: Pass parent to GlobalMediaProperties; typos.
...
* src/SelectObject.py: Typos.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.__init__): Handle source tab.
* src/EventEdit.py: Handle gallery tab.
* src/WriteXML.py (dump_my_event): Write object references;
* src/gramps.glade: Add gallery tab to Event Editor; add source
tab to media property editor.
* src/RelLib.py (Event): Add media_list and related methods;
(ObjectRef): Inherit from SourceNote, remove unnecessary functions;
(GrampsDB.get_media_attribute_types): Add method.
* src/ReadXML.py (start_sourceref): Check for attribute before
the object. Objects may have attributes; (start_objref): Parse media
object references for Event records.
svn: r3199
2004-06-03 05:35:30 +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
ec3156362a
* src/ImageSelect.py: undo messages
...
* src/MediaView.py: undo messages
* src/RelLib.py: use db for undo status
svn: r3182
2004-05-20 00:12:14 +00:00
Don Allingham
5b81ee5c12
pychecker fixes
...
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
1e9a1fc2cc
* src/ImageSelect.py: handle new file chooser
...
svn: r3133
2004-05-06 04:26:47 +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
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
Alex Roitman
1833c28063
* src/MediaView.py (on_select_row): Mark translatable string;
...
(popup_convert_to_private): Call self.load before returning.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.update_info): Mark translatable string.
svn: r2995
2004-03-10 02:29:29 +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
Don Allingham
125654323a
update
...
svn: r2912
2004-02-25 04:08:51 +00:00
Alex Roitman
b6cb43b1ea
Update
...
svn: r2910
2004-02-25 03:20:53 +00:00
Alex Roitman
f2272091d7
* src/AddrEdit.py, src/AttrEdit.py, src/EditPerson.py,
...
src/EditSource.py, src/EventEdit.py, src/ImageSelect.py,
src/Marriage.py, src/NameEdit.py, src/NoteEdit.py,
src/Sources.py, src/UrlEdit.py, src/Witness.py:
Register windows opened for existing objects. Prevent editing
same object twice.
svn: r2905
2004-02-24 05:37:06 +00:00
Alex Roitman
7bf9bcc6d1
Update
...
svn: r2897
2004-02-23 04:41:37 +00:00
Alex Roitman
aadfb20ce4
* src/EditPerson.py: Rename photo into media.
...
* src/EditPlace.py: Rename photo into media.
* src/EditSource.py: Rename photo into media.
* src/ImageSelect.py: Rename photo into media.
* src/Marriage.py: Rename photo into media.
svn: r2896
2004-02-23 02:45:36 +00:00
Alex Roitman
797649f5d5
Updates
...
svn: r2892
2004-02-22 05:37:36 +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
0afef1eb8e
More
...
svn: r2881
2004-02-20 03:28:41 +00:00
Don Allingham
7ed2f0551e
Move from object references to IDs
...
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
66259d874b
* src/ImageSelect.py: disable double click to edit in a gallery
...
svn: r2790
2004-02-07 22:23:57 +00:00
Alex Roitman
e901a51cc4
Update
...
svn: r2789
2004-02-07 16:50:24 +00:00
Alex Roitman
5f3a38b573
Update
...
svn: r2788
2004-02-07 00:44:22 +00:00
Alex Roitman
50332acbfd
* src/gramps.glade: Define handler for the gallery's Edit button.
...
* src/EditSource.py: Connect callback to the gallery's Edit button.
* src/ImageSelect.py: Remember old photo list.
* src/EditPlace.py: Revert photos on Cancel.
* src/EditPerson.py: Revert photos on Cancel.
* src/Marriage.py: Revert photos on Cancel.
svn: r2783
2004-02-06 20:57:01 +00:00
Alex Roitman
3546fae555
* src/EditPlace.py: Pass window to the Gallery.
...
* src/ImageSelect.py: Run modal dialog, using parent window.
* src/imagesel.glade: Define proper button responses.
svn: r2782
2004-02-06 06:44:22 +00:00
Don Allingham
ad2c2d2bff
* src/FamilyView.py: new text string for "unknown" spouse
...
* src/ImageSelect.py: integer conversions for event.x, event.y
* src/const.py.in: copyright date update
svn: r2767
2004-02-04 04:42:06 +00:00
Don Allingham
3ad158da2f
update
...
svn: r2590
2004-01-06 05:02:06 +00:00
Don Allingham
8028428fc0
* src/ImageSelect.py: make sure that description doesn't exceed the image
...
size
* src/MediaView.py: mark <local copy> for translation
* src/gramps.glade: eliminate fixed size for side panel, helps with translations.
svn: r2589
2004-01-06 04:34:19 +00:00
Alex Roitman
9f84452198
* src/Sources.py: Unicode conversion from gtk.TextView.
...
* src/Witness.py: Unicode conversion from gtk.TextView.
* src/Report.py: Unicode conversion from gtk.TextView.
* src/NameEdit.py: Unicode conversion from gtk.TextView.
* src/Marriage.py: Unicode conversion from gtk.TextView.
* src/ImageSelect.py: Unicode conversion from gtk.TextView.
* src/EventEdit.py: Unicode conversion from gtk.TextView.
* src/EditSource.py: Unicode conversion from gtk.TextView.
* src/EditPlace.py: Unicode conversion from gtk.TextView.
* src/EditPerson.py: Unicode conversion from gtk.TextView.
* src/AutoComp.py: Unicode conversion from gtk.TextView.
* src/AttrEdit.py: Unicode conversion from gtk.TextView.
* src/AddrEdit.py: Unicode conversion from gtk.TextView.
* src/plugins/BookReport.py: Unicode conversion from gtk.Entry
and gtk.TextView.
* src/plugins/ChangeTypes.py: Unicode conversion.
* src/plugins/EventCmp.py: Unicode conversion.
* src/plugins/FilterEditor.py: Unicode conversion.
* src/plugins/SimpleBookTitle.py: Unicode conversion.
* src/plugins/TimeLine.py: Unicode conversion.
* src/plugins/WebPage.py: Unicode conversion.
* src/plugins/WriteGedcom.py: Unicode conversion.
* src/plugins/WritePkg.py: Unicode conversion.
* src/plugins/eval.py: Unicode conversion.
* src/plugins/soundgen.py: Unicode conversion.
svn: r2536
2003-12-17 16:06:36 +00:00
Don Allingham
0ae41e3ee8
* 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
Alex Roitman
3d85a41c88
* src/places.glade: Add format controls for notes.
...
* src/imagesel.glade: Add format controls for notes.
* src/EditPlace.py: Add note format support.
* src/ImageSelect.py: Add note format support.
* src/EditPerson.py: Clean up note format support.
* src/Marriage.py: Add note format support.
svn: r2526
2003-12-16 00:37:47 +00:00
Alex Roitman
0f273ef5ea
* src/edit_person.glade: Add from file and Add from database buttons.
...
* src/EditPerson.py (__init__): Add handler for a new button.
* src/ImageSelect.py (Gallery.on_select_photo_clicked): Add function.
* src/marriage.glade: Add from file and Add from database buttons.
* src/Marriage.py (__init__): Add handler for a new button.
* src/gramps.glade (sourceEditor): Add from file and Add from database
buttons.
* src/EditSource.py (__init__): Add handler for a new button.
* src/places.glade: Add from file and Add from database buttons.
* src/EditPlace.py (__init__): Add handler for a new button.
svn: r2511
2003-12-12 05:36:38 +00:00
Alex Roitman
e6cdcddd9d
* 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
Alex Roitman
80297accda
* src/ImageSelect.py (GlobalMediaProperties.__init__): Find labels from
...
XML; (redraw_attr_list): Change attribute label; (display_refs): Change
references label; (on_notebook_switch_page): change notes label.
* src/imagesel.glade: Set meaningful label ids, remove bold markup.
* src/docgen/HtmlDoc.py (start_bold, end_bold): Add functions (closes
bug #841277 ).
* src/EditSource.py (__init__): Find labels from XML.
* src/EventEdit.py: (__init__): Find labels from XML;
* src/NameEdit.py: (__init__): Find labels from XML;
svn: r2330
2003-11-13 18:50:01 +00:00
Alex Roitman
c2bb96a905
* src/Utils.py (bold_label, unbold label): Add functions.
...
* src/EditPerson.py (bold_label, unbold label): Remove functions;
Call them from Utils in every instance.
* src/ImageSelect.py (Gallery.load_images): Change label upon load.
* src/Sources.py (SourceTab.redraw): Change label upon redraw.
* src/AddrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/AttrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/dialog.glade: Set meaningful label ids, remove bold markup.
* src/EditPlace.py (__init__): Find soucre label from XML.
* src/places.glade: Set meaningful label ids, remove bold markup.
* src/Marriage.py (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/marriage.glade: Set meaningful label ids, remove bold markup.
* src/EditSource.py (__init__): Find soucre label from XML.
* src/gramps.glade: Set meaningful label ids, remove bold markup.
* src/EventEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/Witness.py (WitnessTab.redraw): Change label upon redraw.
* src/NameEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.
svn: r2327
2003-11-12 18:45:07 +00:00
Alex Roitman
73fcaec440
* src/SourceView.py: Correct behavior for right-click popup menu.
...
* src/EditPerson.py: Likewise.
* src/FamilyView.py: Likewise.
* src/ImageSelect.py: Likewise.
* src/PedView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/plugins/BookReport.py: Likewise.
* src/PeopleView.py: Likewise.
svn: r2270
2003-10-20 02:47:03 +00:00
Alex Roitman
8a3bd40f52
* src/ImageSelect.py (ImageSelect.__init__): Make dialog transient for
...
its parent; (Gallery.__init__): Accept parent_window and pass it on.
svn: r2132
2003-09-15 04:16:12 +00:00
Don Allingham
b5f75c0a77
switch from intl to gettext
...
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
de7f76b347
* src/AddMedia.py: set title for image select dialog
...
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box
svn: r1997
2003-08-13 04:28:07 +00:00