Commit Graph

4056 Commits

Author SHA1 Message Date
Alex Roitman
6419b4ea14 * src/DbState.py: Remove modeule.
* src/DisplayState.py: Rename from DbState, kepp only DisplayState
class.
* src/GrampsDbBase.py: Add DbState class.
* src/MapView.py: Swap zoom_in and zoom_out to reflect reality;
add place list with the ScrollableWindow, request size for the
place list.
* src/ViewManager.py: Use DisplayState.DisplayState.
* src/gramps_main.py: Use GrampsDbBase.DbState; add docstring;


svn: r5055
2005-08-12 02:50:56 +00:00
Don Allingham
fbde48ac04 * various: added new views
svn: r5054
2005-08-12 02:35:27 +00:00
Don Allingham
5a68231d1d New EventView
svn: r5053
2005-08-11 22:13:44 +00:00
Don Allingham
88dbc3b776 PersonNavView changes
svn: r5052
2005-08-11 17:19:03 +00:00
Martin Hawlisch
e77391a7e7 * src/PedView.py: More work on it.
* src/MapView.py: New View showing locations on a map. Early unfinished version.
* src/gramps_main.py: Enable MapView
* src/land_shallow_topo_2048.jpg:
* src/land_shallow_topo_350.jpg: Two new map images downloaded from NASA so the are assumed to be public domain.


svn: r5050
2005-08-11 14:57:19 +00:00
Don Allingham
d0b11dc4ce split UI and DB state
svn: r5049
2005-08-10 23:53:24 +00:00
Martin Hawlisch
26a0ed9203 * src/PedView.py: Better autoscaling; better ui management
svn: r5046
2005-08-10 15:25:46 +00:00
Alex Roitman
bad1414dfc * src/ScratchPad.py: added
* src/stock_link.png: added
* src/DbState.py: better ui management, history management
* src/EditPerson.py: better ui management
* src/GrampsDbBase.py: better ui management
* src/PageView.py: better ui management
* src/PersonView.py: better ui management, history management
* src/ViewManager.py: better ui management


svn: r5044
2005-08-10 14:28:16 +00:00
Martin Hawlisch
d955c08548 update
svn: r5043
2005-08-09 15:22:21 +00:00
Alex Roitman
02ca5a73b5 * src/const.py.in: Remove obsolete constants.
svn: r5042
2005-08-09 14:43:04 +00:00
Martin Hawlisch
21302dbbf4 * src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that.
* src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE.
* src/PedView.py: Start using new PageView logic. Unfinished.
* src/gramps_main.py: Enable PedView


svn: r5041
2005-08-09 10:18:56 +00:00
Don Allingham
6fb39a605f * src/DbState.py: Added new class to keep track of database
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class


svn: r5040
2005-08-09 04:41:20 +00:00
Don Allingham
d3a5f623a6 * various: remove set_date/get_date removal to be replaced by
DateHandler calls


svn: r5031
2005-08-06 02:57:37 +00:00
Alex Roitman
42534975c3 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +00:00
Martin Hawlisch
22ea21f744 * src/RelLib.py: Use DeprecationWarning and api wrappers instead of assert to make HEAD a little more usable again until all transitition is done
svn: r4877
2005-06-24 23:17:02 +00:00
Martin Hawlisch
258a3f4f95 * src/plugins/TestcaseGenerator.py: Update to new tuple types
svn: r4876
2005-06-24 22:12:30 +00:00
Martin Hawlisch
1cf3a2a99c * src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20
svn: r4875
2005-06-24 22:00:03 +00:00
Don Allingham
7b8f9b3788 Filter improvements
svn: r4852
2005-06-20 22:18:22 +00:00
Alex Roitman
0dbb160bdb Update
svn: r4836
2005-06-16 15:39:54 +00:00
Alex Roitman
d1136c731c * src/EventEdit.py: Hide warning message for new events and for
existing events with the default role; Only commit new Event when
OK clicked in the editor.
* src/RelLib.py: Add assertions for external witness methods.
* src/gramps.glade:


svn: r4835
2005-06-16 15:39:19 +00:00
Alex Roitman
fdf7867589 * src/EventEdit.py: Remove unused variable.
svn: r4834
2005-06-16 13:21:11 +00:00
Don Allingham
3aef013e12 * src/DisplayModels.py: fixed event type display
svn: r4832
2005-06-16 04:08:42 +00:00
Don Allingham
57730c36e0 * src/ReadXML.py: build child/family relationships properly on
import, add missing event descriptions
* src/RelLib.py: type checking for set_role relationship types


svn: r4831
2005-06-16 03:56:13 +00:00
Alex Roitman
32d3950455 * src/ListBox.py (EventListBox.set_place): Fix place setting.
svn: r4830
2005-06-16 03:46:47 +00:00
Alex Roitman
b840180846 * src/events.png, src/repos.png, src/repos24.png: Add GNOME icons
for the stock calendar and drawer.
* src/events24.png: Update small icon.
* src/gramps.glade: Use new icons for the Event View and
Repository View side bar buttons. Add small icons to the main
notebook tabs.


svn: r4822
2005-06-14 13:45:09 +00:00
Alex Roitman
96d8bc1dc8 * src/ChooseParents.py: Correct use of types; Use family relations
between parents; Use EventRef for birth; Remove obsolete code.
* src/gramps.glade (familyDialog): Typo in widget name.


svn: r4816
2005-06-09 01:54:11 +00:00
Alex Roitman
20eeda40e8 * src/AutoComp.py (StandardCustomSelector.__init__): Compare
active_key to None.
* src/gramps.glade (marriageDialog): Remove displayed strings from
the Sttributes tab.
* src/Marriage.py: Delegate attribute handling to ListBox.
* src/ListBox.py (AttrListBox): Support both personal and family
attributes.


svn: r4815
2005-06-09 01:18:03 +00:00
Alex Roitman
c0590d4e7e * src/gramps.glade: Minor update.
svn: r4814
2005-06-08 21:22:32 +00:00
Alex Roitman
30168ace63 * src/EditPerson.py: Commit events, since there may be changes
made no in the editor.
* src/EventEdit.py: Use combined mapping for all events.
* src/FamilyView.py: Proper display of child relations.
* src/Marriage.py: Commit events; properly call common event/ref
editor.
* src/Utils.py: Minor.


svn: r4813
2005-06-08 21:17:18 +00:00
Martin Hawlisch
7f76c26a59 * src/EditPerson.py: Make gender guessing work again
svn: r4812
2005-06-08 21:12:32 +00:00
Alex Roitman
35935f491f * src/gramps.glade (Marriage): Re-work dialog similar to EditPerson.
* src/Utils.py (family_event_roles): Add mapping.
* src/RelLib.py (EventRef): Add FAMILY role.
* src/Marriage.py: Start using Listbox, so far for Events only.
* src/ListBox.py: Support both person and family primaries.
* src/EventEdit.py: Support both person and family primaries.
* src/EditPerson.py (on_apply_person_clicked): Do not commit
event, as this is done in the editor.


svn: r4809
2005-06-08 18:47:55 +00:00
Alex Roitman
778000cd38 * src/EventView.py (Module): Remove extra column.
* src/EventEdit.py (EventEditor.__init__): Remove obsolete code.


svn: r4808
2005-06-08 16:32:13 +00:00
Alex Roitman
d4705aeb25 * src/gramps_main.py (init_interface): Set proper color for new icons.
* src/gramps.glade (gramps): Label new buttons, left-align labels.
* src/GrampsDbBase.py (get_event_column_order): Show date column.
* src/EventView.py (Module): Add "Last Changed" column; do not
hard-code handle column.
* src/DisplayModels.py (EventModel.__init__): Switch column order.


svn: r4807
2005-06-08 15:50:19 +00:00
Martin Hawlisch
97642f79f6 * src/gramps_main.py (column_order): add Repository View; (init_interface): Remove unneeded callback
svn: r4806
2005-06-08 15:37:44 +00:00
Martin Hawlisch
ac91138900 * src/EventView.py (column_names): Add missing column
* src/RepositoryView.py (column_names): Add missing columns
* src/GrampsDbBase.py: fix column_order methods
* src/DisplayModels.py (RepositoryModel): Remove parish column because it is not editable anyway


svn: r4805
2005-06-08 15:35:31 +00:00
Alex Roitman
4575a43faa * src/RelLib.py (add_parent_family_handle,
change_parent_family_handle): Correct the docstring to reflect
tuple relationships.


svn: r4804
2005-06-08 14:02:45 +00:00
Alex Roitman
6408226085 * src/ChooseParens.py: Support for (int,str) relationships.
* src/FamilyView.py (new_child_after_edit): Use tuple relationships.
* src/SelectChild.py: Support for (int,str) relationships.
* src/gramps.glade (selec_child,modparents,familyDialog): Replace
ComboBoxes with ComboBoxEntries.


svn: r4803
2005-06-08 13:41:51 +00:00
Alex Roitman
7bdd756df9 Update
svn: r4802
2005-06-08 04:45:41 +00:00
Alex Roitman
f4d4c73129 * src/gramps.glade (selecty_person): Change positioning; add icon.
* src/edit_person.glade (event_tab): Correct tooltips.
* src/SelectEvent.py: Add to CVS.
* src/Makefile.am: Ship SelectEvent.py file.
* src/SelectChild.py (build_list): Use mapping from Utils.
* src/ReadGrdb.py (importData): Properly copy event table.
* src/ListBox.py: Properly fill in the Combo maps without
collisions; Add Role to the EventListbox; Support selecting an
existing Event object.
* src/GrampsInMemDB.py: Support for event id table.
* src/GrampsDbBase.py: Support for event id table.
* src/GrampsBSDDB.py: Support for event id table; emit
event-delete signal when events are deleted.
* src/EventView.py: Support deleting events.
* src/EventEdit.py: Support deleting events; Proper adding events.


svn: r4801
2005-06-08 04:40:33 +00:00
Martin Hawlisch
16723828fd * various: const to RelLib transitition.
svn: r4800
2005-06-07 19:22:10 +00:00
Alex Roitman
5b1feeff12 * src/EventView.py (build_columns): Do not artificially create
an extra column.


svn: r4798
2005-06-07 13:53:46 +00:00
Alex Roitman
f2cf13f469 * src/DisplayModels.py: Support for event view.
* src/EventEdit.py: Commit event on OK.
* src/GrampsDbBase.py: Event column order and event cursor.
* src/GrampsInMemDB.py: Event cursor.
* src/gramps.glade: Event View, rework buttons.
* src/gramps_main.py: Event View support.
* src/EventView.py: Add to CVS.
* src/Makefile.am: Ship EventView.


svn: r4797
2005-06-07 05:08:50 +00:00
Alex Roitman
0d9a076141 * src/AttrEdit.py: proper type selector support.
* src/AutoComp.py (by_value): Use locale-aware sorting.
* src/EditPerson.py: Support select button for the event tab.
* src/EventEdit.py (EventRefEditor): Editor for both events and
event refs.
* src/ListBox.py: Support for select button; Proper removal of
entries; Proper Event/ref editing support; fixes for combos.
* src/NameEdit.py: Typo.
* src/edit_person.glade: Add select button to the event tab.
* src/gramps.glade: Add new editor for both events and refs.


svn: r4796
2005-06-06 23:50:33 +00:00
Alex Roitman
b1db9871c3 * src/DateHandler.py: Fix typo caught in gramps20 branch.
svn: r4793
2005-06-05 17:26:30 +00:00
Alex Roitman
e651cfd29f * src/RelLib.py (Event): Add a list to store external witnesses.
svn: r4787
2005-06-05 05:16:27 +00:00
Julio Sánchez
5ead07af98 * src/po/es.po: version merge fix
svn: r4786
2005-06-05 05:11:32 +00:00
Alex Roitman
4a642b4e8d Merge changes between 2.0.1 and 2.0.2 with the main trunk
svn: r4785
2005-06-05 04:01:56 +00:00
Don Allingham
af5df18bcd * src/AttrEdit.py: support get_type/set_type in dropdown menu
* src/EditPerson.py: remove items properly based off EventRef


svn: r4781
2005-06-04 02:54:59 +00:00
Don Allingham
271f9d6a8b event/name type fixes
svn: r4780
2005-06-03 22:38:14 +00:00
Martin Hawlisch
118e7dd628 * src/EditSource.py (ReposRefListView): Display repository type as text
svn: r4773
2005-06-03 14:18:06 +00:00