Commit Graph

27 Commits

Author SHA1 Message Date
Don Allingham
2b3675313b * src/EventEdit.py (EventEditor.__init__): add translated name to the
popdown menu list if isn't already there. Prevents a parital match on
other strings
* src/PedView.py: add a '*' to the popup menu if the child has children


svn: r2402
2003-11-29 03:52:53 +00:00
Don Allingham
e5b8cf4db3 * src/AttrEdit.py: Add warning when a new attribute type is added
to the database
* src/EventEdit.py: Add warning when a new event type is added
to the database


svn: r2396
2003-11-27 18:01:20 +00:00
Alex Roitman
7a216129d5 * src/gramps.glade: Add Help buttons to dialogs.
* src/AddSpouse.py (on_spouse_help_clicked): Add function.
* src/SelectChild.py (on_child_help_clicked): Add function.
* src/Marriage.py (on_help_clicked): Add function.
* src/EditPerson.py (on_help_clicked): Add function.
* src/marriage.glade: Add Help button to a dialog.
* src/edit_person.glade: Add Help button to a dialog.
* src/dialog.glade: Add Help buttons to dialogs.
* src/AddrEdit.py (on_help_clicked): Add function.
* src/AttrEdit.py (on_help_clicked): Add function.
* src/EventEdit.py (on_help_clicked): Add function.


svn: r2347
2003-11-18 04:26:06 +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
Don Allingham
d64df75721 * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2164
2003-09-24 02:24:41 +00:00
Don Allingham
c86543620c * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2163
2003-09-23 12:14:41 +00:00
Alex Roitman
f89c9b7e26 * src/SourceView.py (button_press,on_add_clicked,on_delete_clicked,
on_edit_clicked): Pass parent window to the child dialog.
* src/Sources.py (add_src_clicked): Likewise.
* src/EditSource.py (__init__): Add optional parent_window argument.
Make dialog modal and transient for its parent.
* src/gramps.glade (sourceEditor dialog): Delete unneeded handlers
for buttons.
* src/QuestionDialog.py (SaveDialog,QuestionDialog,OptionDialog,
ErrorDialog,WarningDialog,MissingMediaDialog): Set transient status
if parent is given.
* src/EventEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/Witness.py: Make WittnessEditor dialog modal and transient for
its parent. Call SelectPerson with itself as a parent.
* src/SelectPerson.py (__init__): Make dialog transient for its parent.
* src/imagesel.glade: Define proper responses and delete unneeded handlers
for buttons. Make gtkFileEntry modal.
* src/dialog.glade (all dialogs): Define proper responses for buttons.
* src/EditPerson.py (on_add_aka_clicked, on_aka_update_clicked):
Call NameEdit with itself as a parent; (on_add_attr_clicked,
on_update_attr_clicked): Call AttributeEditor with itself as a parent;
(on_add_addr_clicked,on_update_addr_clicked): Call AddressEditor with
itself as a parent; (on_add_url_clicked,on_update_url_clicked): Call
UrlEditor with itself as a parent; (on_name_note_clicked,
on_ldsbap_note_clicked,on_ldsendow_note_clicked,
on_ldsseal_note_clicked): Call NoteEditor with itself as a parent.
* src/NameEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/AttrEdit.py (__init__): Likewise.
* src/AddrEdit.py (__init__): Likewise.
* src/UrlEdit.py (__init__): Likewise.
* src/NoteEdit.py (__init__): Likewise.


svn: r2131
2003-09-15 04:11:30 +00:00
Alex Roitman
ffaf5013c1 * src/srcsel.glade: Define proper responses for OK and Cancel buttons
in both SourceSelector and SourceEditor windows.
* src/Sources.py: Make both SourceSelector and SourceEditor modal and
transients for their parent window. Add SourceTab window argument to
SourceTab to pass to the SourceEditor.
* src/AddrEdit.py: Pass window widget to the SourceTab.
* src/AttrEdit.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EventEdit.py: Likewise.
* src/NameEdit.py: Likewise.
* src/Marriage.py: Rename top_window to self.window.


svn: r2123
2003-09-13 20:42:57 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
cb359e8d47 * configure.in: Set version to 0.9.4 (since the release is 0.CVS...).
Otherwise it becomes older-version that the latest release.
* src/EditPerson.py: Change const.save_fevent() calls to
const.save_event().
* src/EventEdit.py: Display event name with const.display_event()
(was backwards).
* src/GrampsParser.py: Call const.save_event() and const.attr()
when parsing XML. This should take care of prior data with standard
events and attributes recorded in $LANG.
* src/FamilyView.py (nameof): Translate parent's relation to a child.


svn: r1986
2003-08-11 00:59:16 +00:00
Alex Roitman
3a7293dd47 * src/FamilyView.py (load_family): Enable translation for family
relation.
* src/const.py.in: Add new functions: display_event(), save_event(),
display_attr(), and save_attr() which work for either personal or
family events/attributes. Correct silly typo.
* src/WriteXML.py (dump_my_event): Call const.save_event() before
saving; (write_family_id): Call const.save_frel() before saving;
(write_attribute_list): Call const.save_attr() before saving.
* src/Marriage.py (redraw_event_list): Call const.display_fevent()
before saving; (on_add_clicked): change const.save_fevent() to
const.display_fevent(); (on_event_update_clicked): Likewise.
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
displaying event name.


svn: r1964
2003-08-07 03:54:10 +00:00
Don Allingham
50126aedd8 * src/ListModel.py: Be able to select based off an iter
* src/ImageSelect.py: Support keeping selecting attributes after
they are edited
* src/EventEdit.py: Support keeping selecting events after
they are edited
* src/AttrEdit.py: Support keeping selecting attributes after
they are edited
* src/Marriage.py: Support keeping track of events and attributes
after they are edited.
* src/EditPerson.py: Support keeping track of events and attributes
after they are edited.


svn: r1690
2003-06-11 02:54:57 +00:00
Don Allingham
a18b7ff964 Fixed spouse selection when family changes
svn: r1643
2003-06-03 02:54:56 +00:00
Alex Roitman
48398b43e4 Retracting date warnings
svn: r1574
2003-05-22 12:24:12 +00:00
Alex Roitman
492971412e Warning if non-date text is entered into date fields
svn: r1571
2003-05-22 03:37:33 +00:00
Don Allingham
b9856fea00 Default marriage event patch from adl, remove const.py since it is autogenerated
svn: r1523
2003-05-13 20:50:58 +00:00
Don Allingham
eb4faa076b Window title strings
svn: r1327
2003-03-06 06:12:51 +00:00
Don Allingham
09615b38a5 Translation strings
svn: r1325
2003-03-05 06:01:31 +00:00
Don Allingham
ce77a02144 Interface compliance changes
svn: r1323
2003-03-03 04:32:53 +00:00
Don Allingham
9d178f4365 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
141fec93ab pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
487cf61840 OpenOffice fixes, calendar format fixes
svn: r1239
2003-01-06 05:14:49 +00:00
Don Allingham
a916d24916 Calendar enhancements
svn: r1235
2003-01-02 04:31:52 +00:00
Don Allingham
f2fa2ce15e Date handling improvements (calendar conversions)
svn: r1233
2002-12-30 00:42:47 +00:00
Don Allingham
4cd7010bcb Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
d21a317b93 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
0ca0ae439e Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00