Commit Graph

383 Commits

Author SHA1 Message Date
Alex Roitman
8ccf0cedbd * src/flist.svg: Add new icon.
* src/gramps_main.py: Use new icon.


svn: r5710
2006-01-11 04:47:09 +00:00
Don Allingham
c5f2adb858 * relation.svg: Relationship view icon
* media.svg: Relationship view icon
* src/ViewManager.py: no background color for sidebar
* src/gramps_main.py: new icons


svn: r5703
2006-01-09 21:40:23 +00:00
Richard Taylor
5a582d86ab replace DisplayTrace with logger
svn: r5702
2006-01-09 11:28:44 +00:00
Don Allingham
6c38b40b17 * src/person.svg: new icon
* src/gramps_main.py: add person.svg


svn: r5699
2006-01-09 03:30:22 +00:00
Don Allingham
0feddb7579 * src/gramps_main.py: Change "Family" title to "Relationships"
svn: r5698
2006-01-09 02:16:46 +00:00
Don Allingham
19eeabe953 * src/FamilyList.py: new family list view
* src/DisplayModels.py: model for family list
* src/GrampsDb/_GrampsDbBase.py: column order for family view


svn: r5694
2006-01-08 05:44:19 +00:00
Richard Taylor
c3b6a03856 integration of logging framework
svn: r5680
2006-01-06 15:23:28 +00:00
Don Allingham
3c353073ee * src/gramps_main.py: move gnome program init to gramps.py
* src/gramps.py: add gnome program init
* src/StartupDialog.py: use Assistant instead of gnome.ui.druid


svn: r5642
2005-12-29 20:33:19 +00:00
Don Allingham
9eb8d4b069 * src/ArgHandler.py: remove DbPrompter dependency
* src/GrampsGconfKeys.py: Support for saving window size
* src/GrampsIniKeys.py: Support for saving window size
* src/GrampsKeys.py: more gracefully handling missing gconf
* src/Makefile.am: Fixed moved files
* src/Report.py: clean up
* src/ScratchPad.py: use GrampsDisplay instead of gnome.help_display
* src/StartupDialog.py: clean up
* src/ViewManager.py: save window size
* src/gramps_main.py: don't require gnome
* src/data/gramps.schemas: keys for saving window size


svn: r5640
2005-12-29 18:36:59 +00:00
Richard Taylor
deaaf16717 move database code into new package
svn: r5598
2005-12-21 11:27:05 +00:00
Alex Roitman
97cdbe6af4 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
4d6ec03bb5 * src/FamilyView.py: start of a new family view.
* src/gramps_main.py: register FamilyView


svn: r5474
2005-12-05 04:54:40 +00:00
Martin Hawlisch
2663b12f13 * src/gramps_main.py: pass DisplayState to TipOfDay
* src/TipOfDay.py: Use DisplayState
* src/const.py.in: add GRAMPS websites
* src/ViewManager.py: Add TipOfDay; Make GRAMPS websites work again


svn: r5124
2005-08-25 15:08:07 +00:00
Alex Roitman
fc2b33c116 Merge changes from gramps20 made since 2.0.5
svn: r5105
2005-08-18 05:58:28 +00:00
Don Allingham
afa0df1e54 * src/GrampsDbBase.py: keep track of open files
* src/MediaView.py: convert MediaView to handle pluggable views
* src/PersonView.py: update filter on page change
* src/ViewManager.py: change_database handling
* src/gramps.glade: remove unused blocks
* src/gramps_main.py: Add in MediaView


svn: r5075
2005-08-14 04:31:29 +00:00
Alex Roitman
2c9b66e135 Update
svn: r5069
2005-08-12 19:00:43 +00:00
Alex Roitman
4e4f558c6e * src/ArgHandler.py: start fixing.
* src/gramps_main.py: Run ArgHandler with new arguments.


svn: r5061
2005-08-12 16:25:43 +00:00
Don Allingham
0104f28509 * src/RepositoryView.py: added back in
* src/gramps_main.py: added repository view


svn: r5057
2005-08-12 03:39:26 +00:00
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
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
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
Alex Roitman
42534975c3 Merge changes made between 2.0.3 and 2.0.5
svn: r4911
2005-07-08 20:24:54 +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
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
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
Alex Roitman
5610229889 Merge SOUR_REPO branch with main trunk
svn: r4712
2005-05-27 17:43:04 +00:00
Alex Roitman
ce05310959 Merge from 2.0.1
svn: r4666
2005-05-24 13:08:06 +00:00
Alex Roitman
69287c81f8 Merge changes made in gramps20 into HEAD
svn: r4549
2005-05-11 14:04:47 +00:00
Don Allingham
7178dc86d7 * src/gramps_main.py: fix beta warning dialog
svn: r4499
2005-05-07 02:41:08 +00:00
Martin Hawlisch
62af2a64fc * src/gramps_main.py (__init__): Avoid TypeError in schema error message
svn: r4434
2005-04-27 18:30:57 +00:00
Alex Roitman
9c92bf317f Merge changes made in gramps20 into HEAD
svn: r4431
2005-04-26 16:04:21 +00:00
Don Allingham
1b1291065a * src/AddrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/AttrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/NameEdit.py: use new label scheme for tabs
* src/Date.py: incorporate instance check form gramps20 branch
* src/EditPerson.py: add additional fields for name edit, handle
lds page better, adapt to new label scheme
* src/GrampsDbBase.py: fix typos
* src/GrampsGEDDB.py: fix undo handling
* src/GrampsInMemDB.py: fix undo handling
* src/GrampsXMLDB.py: fix undo handling
* src/PeopleView.py: don't reselect an already selected person
* src/Utils.py: new tab scheme
* src/edit_person.glade new tab scheme
* src/gramps_main.py: 1->True, 0->False replacements
* src/DbPrompter.py: bring up to date with gramps20 branch
* src/DisplayModels.py: bring up to date with gramps20 branch
* src/ReadGedcom.py: bring up to date with gramps20 branch
* src/Relationship.py: bring up to date with gramps20 branch


svn: r4406
2005-04-23 15:53:30 +00:00
Martin Hawlisch
6c9aedeaf7 * src/gramps_main.py: Removed canvas specific calls of the PedView
svn: r4380
2005-04-19 19:28:53 +00:00
Martin Hawlisch
79af9bdb0c * src/gramps_main.py (undo): Dont emit "database-changed"
* src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing.


svn: r4361
2005-04-14 13:18:20 +00:00
Don Allingham
2059945bc6 * src/gramps_main.py: check for reentrancy into the undo handler
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
4736f4ece9 * src/ChooseParents.py: pychecker changes
* src/DdTargets.py: pychecker changes
* src/FamilyView.py: pychecker changes
* src/GrampsCfg.py: pychecker changes
* src/MergeData.py: pychecker changes
* src/MergePeople.py: pychecker changes
* src/NameEdit.py: pychecker changes
* src/NoteEdit.py: pychecker changes
* src/RelLib.py: pychecker changes
* src/gramps_main.py: pychecker changes


svn: r4327
2005-04-09 03:11:03 +00:00
Don Allingham
02171a00af * src/GrampsDbBase.py: correctly handle signals when undoing a
delete operation
* src/PeopleView.py: remove unused signal
* src/gramps_main.py: handle history mechanism with new signal scheme,
avoiding the double active-changed when selecting an element


svn: r4326
2005-04-09 00:31:39 +00:00
Martin Hawlisch
571ff74418 * src/gramps_main.py: Added "Invert" checkbox for person filter; Fix "active-changed" signals to not cause Tracebacks.
* src/gramps.glade: Added "Invert" checkbox for person filter
* src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel
* src/PeopleModel.py: Enable invertation of filter result


svn: r4323
2005-04-08 10:49:26 +00:00
Richard Taylor
6f25f47897 2005-04-07 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/gramps_main.py: correct type signature for 'active-changed' signal.
	* src/GrampsDBCallback.py: improve the error reporting.


svn: r4318
2005-04-07 08:18:43 +00:00
Don Allingham
46fe87842a * src/FamilyView.py: keep track of local person during update, connect
active-changed signal
* src/gramps_main.py: keep track of active-changed, use local person


svn: r4317
2005-04-07 02:30:07 +00:00
Don Allingham
c538477ffe * src/FamilyView.py: keep track of local person during update
* src/PedView.py: update database pointer when database changed, update
active person
* src/gramps_main.py: keep track of active-changed


svn: r4316
2005-04-07 00:51:26 +00:00
Martin Hawlisch
ad39f6be25 * src/gramps.glade: People View: Add label for filter text input field.
* src/GenericFilter.py (ProbablyAlive): Add check for input parameter, (HasSourceOf): get handle only once, removed unused code.
* src/gramps_main.py: Show label for filter input field.


svn: r4313
2005-04-06 20:26:15 +00:00
Martin Hawlisch
5b44756832 * src/gramps_main.py (post_load): Emit "database-changed" signal instead of calling change_db().
* src/PedView.py: Connect to "database-changed" signal and handle person-update signals to redraw the view.
* src/FamilyView.py (__init__) connect to database-changed signal, dont call change_cb because on initialisation there is no real database. (change_db): use database parameter supplied by signal emission.
* src/PeopleView.py (__init__) dont connect the signals, this will be done by change_db, (change_db): Use supplied database.
* src/SourceView.py (__init__): dont call change_cb because on initialisation there is no real database and this will be done by the signal.


svn: r4304
2005-04-06 09:40:41 +00:00
Don Allingham
0dbc5c0341 * src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression
* src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression
* src/ReadGedcom.py: fix relation typo, enable/disable signals around import
* src/ReadXML.py: enable/disable signals around import
* src/gramps_main.py: disable signals before undo and exit


svn: r4295
2005-04-04 23:52:46 +00:00
Don Allingham
17bbd11d07 * src/FamilyView.py: commit family properly
* src/PedView.py: change_active_person typo
* src/PeopleView.py: don't change active person with updated
* src/SelectChild.py: Fix callbacks
* src/gramps_main.py: load active family on change


svn: r4289
2005-04-04 03:59:42 +00:00