Commit Graph

215 Commits

Author SHA1 Message Date
Brian Matherly
291b195c7f * src/ViewManager.py: Fix 0000576: Credits window behind about window
svn: r7653
2006-11-20 02:08:42 +00:00
Don Allingham
5d67027924 doc update
svn: r7622
2006-11-13 05:22:48 +00:00
Don Allingham
b5ac0d52fc * src/Viewmanager.py: prompt before abandoning changes; enable autobackup
* src/GrampsCfg.py: enable autobackup
	* src/Config/_GrampsConfigKeys.py: enable autobackup
	* data/gramps.schemas: enable autobackup


svn: r7621
2006-11-13 04:50:38 +00:00
Don Allingham
feeae34b01 * src/Viewmanager.py: prompt before abandoning changes
svn: r7620
2006-11-13 02:42:07 +00:00
Don Allingham
5314c575b1 * src/Config/_GrampsConfigKeys.py: add saving of family editor size, disabling of
defaulting to last viwe
	* src/ViewManager.py: allow disabling of defaulting to last view
	* src/GrampsCfg.py: allow disabling of defaulting to last view
	* src/ViewManager.py: allow disabling of defaulting to last view
	* data/gramps.schemas.in: allow disabling of defaulting to last view
	


svn: r7617
2006-11-12 03:35:52 +00:00
Don Allingham
069dcbcd35 * src/ViewManager.py (ViewManager.about): destroy About dialog
after running


svn: r7570
2006-11-07 00:29:31 +00:00
Alex Roitman
303d58647c * src/ViewManager.py (ViewManager.about): Use const.py.
* src/const.py.in (url_manual): Add the link constant.
	* src/GrampsDisplay.py (help): Update the link.


svn: r7478
2006-10-29 03:01:56 +00:00
Alex Roitman
4cb9251617 * src/ViewManager.py (ViewManager.about): Translate comments.
* src/const.py.in: No gettext (won't work anyway because const.py
	is imported before textdomain is set.


svn: r7444
2006-10-27 02:49:54 +00:00
Alex Roitman
8bfea9821b 2006-10-18 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (change_redo_label, change_redo_label):
	Translate labels.



svn: r7414
2006-10-18 17:11:52 +00:00
Don Allingham
71bddf1ac2 2006-10-03 Don Allingham <don@gramps-project.org>
* src/GrampsLogger/_ErrorReportAssistant.py: capitalize "GRAMPS"
	* src/ViewManager.py: display buttons on first open
	* src/Editors/_EditSourceRef.py: fix cancelling of text (bug #450)
	* src/DisplayTabs/_NoteTab.py: fix cancelling of text
	* src/DisplayTabs/_TextTab.py: fix cancelling of text 




svn: r7345
2006-10-03 16:59:51 +00:00
Don Allingham
fbdbdc7379 update
svn: r7340
2006-10-02 02:32:47 +00:00
Don Allingham
433710c483 2006-10-01 Don Allingham <don@gramps-project.org>
* src/Utils.py: catch divide by zero case
	* src/ViewManager.py: change change to same page (#410)



svn: r7339
2006-10-02 02:10:12 +00:00
Don Allingham
34e0362a8b * src/ViewManager.py: fix message
* src/Config/_GrampsConfigKeys.py: set default value
	* src/QuestionDialog.py: set value from config
	* data/gramps.schemas.in: fix default value


svn: r7331
2006-09-26 04:08:41 +00:00
Don Allingham
df354f57d7 2006-09-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: fix call to warning dialog
	* src/QuestionDialog.py: Don't do internal check on value



svn: r7328
2006-09-25 02:19:58 +00:00
Don Allingham
fe8b4e1839 2006-09-23 Don Allingham <don@gramps-project.org>
* src/images/sources.svg: new icon
	* src/images/reports.svg: new icon
	* src/images/tools.svg: new icon
	* src/images/events.svg: new icon
	* src/images/place.svg: new icon
	* src/images/tools.svg: new icon
	* src/ViewManager.py: use new icons
	* src/gramps_main.py: register new icons

2006-09-22  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
	* src/GrampsDb/_ReadGedcom.py: check for IO Eror
	* src/ViewManager.py: display message if a portability problem is 
	detected
	* src/QuestionDialog.py: Add Warning dialog that can be disabled
	* src/DbLoader.py: Detect missing database problem
	* src/ArgHandler.py: support for disabling transactions
	* src/GrampsCfg.py: new config keys for transactions
	* src/Config/_GrampsConfigKeys.py: new config keys for transactions

2006-09-17  Don Allingham  <don@gramps-project.org>
	* src/ViewManager.py: handle missing database on autoload (#447)
	* src/ArgHandler.py: handle missing database on autoload (#447)
	* src/DbLoader.py: handle missing database on autoload (#447)
	* src/Makefile.am: remove uninstalled packages from makefile
	* src/GrampsDb/_ReadXML.py: place vs. address changes
	* src/GrampsDb/_WriteXML.py: place vs. address changes
	* src/GrampsDb/_EditPlace.py: place vs. address changes
	* src/Editors/_EditPlace.py: place vs. address changes
	* src/Editors/_EditLocation.py: place vs. address changes
	* src/RelLib/_Address.py: place vs. address changes
	* src/RelLib/_LocationBase.py: place vs. address changes
	* src/RelLib/_Location.py: place vs. address changes
	* src/DisplayTabs/_LocationModel.py: place vs. address changes
	* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
	* src/glade/gramps.glade: place vs. address changes



svn: r7325
2006-09-24 04:37:59 +00:00
Don Allingham
61b9f23c9e svn: r7309 2006-09-11 03:07:17 +00:00
Alex Roitman
2e34d583c8 * src/ViewManager.py (preferences_activate): Use uistate to emit.
* src/DisplayState.py (DisplayState.__signals__): Add new signal.
	* src/GrampsCfg.py (cb_name_changed): Use uistate to emit signal.


svn: r7265
2006-08-25 23:46:19 +00:00
Zsolt Foldvari
bd377f63a0 2006-08-25 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/GrampsCfg.py: Implement callback mechanism for dynamic name format
	change.
	* src/ViewManager.py (__init__, preferences_activate, change_page):
	Rebuild the active page after name fomat changed by connecting to
	GrampsPreferences' signal



svn: r7262
2006-08-25 17:17:37 +00:00
Alex Roitman
db8d1dabcb (vb_clicked): Add method to restore pressed view if same button is
repeteadely clicked.


svn: r7164
2006-08-12 23:32:05 +00:00
Alex Roitman
89f6209906 * src/ViewManager.py (_connect_signals): Connect to the proper
event to cleanly quit on window manager's close action.
	(quit): Allow variable number of args (to work with signals).


svn: r7161
2006-08-12 21:13:45 +00:00
Alex Roitman
230d3b7d69 In .:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_SearchBar.py (SearchBar.__init__): Take dbstate as
	a constructor argument; (SearchBar.apply_filter): pass dbstate.
	* src/PageView.py (BookMarkView.add_bookmark,
	PersonNavView.jumpto, PersonNavView.fwd_clicked,
	PersonNavView.back_clicked, ListView.build_widget): Pass dbstate.
	* src/Navigation.py (BaseNavigation.__init__,
	PersonNavigation.__init__): Take dbstate as a constructor argument;
	(PersonNavigation.build_item_name): properly access dbstate.
	* src/DisplayState.py (__init__): Do not take dbstate as a
	constructor argument; Do not connect dbstate signal here (moved to
	ViewManager);
	(display_relationship,push_message,modify_statusbar): Make dbstate
	an argument.
	* src/plugins/Checkpoint.py (run_tool): Pass dbstate.
	* src/ViewManager.py (_build_main_window): Do not pass dbstate to
	uistate DisplayState constructor; connect dbstate signal handler;
	pass dbstate to Navigation; (keypress): Pass dbstate;
	(statusbar_key_update): Pass dbstate;
	(do_load_plugins): Pass dbstate;
	(ViewManager.add_bookmark): Pass dbstate.
	* src/DataViews/_RelationView.py (shade_update): Pass dbstate.
	* src/DataViews/_PersonView.py (build_widget,_goto,
	key_goto_home_person, key_edit_selected_person): Pass dbstate.
	* src/Filters/Makefile.am (pkgdata_PYTHON): Remove obsolete file.
	* src/Filters/__init__.py: Remove importing obsolete module.
	* src/Filters/_FilterWidget.py: Remove obsolete module.

In po:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r7104
2006-08-01 04:31:10 +00:00
Zsolt Foldvari
a16b488d1d 2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
	change.
	* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
	* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
	* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
	interface.
	* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
	and Add callbacks divided.
	* src/RelLib/_Name.py: Default/standard name format definitions moved to
	NameDisplay.
	* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
	interface.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
	NameDisplay interface.



svn: r7099
2006-07-31 11:08:44 +00:00
Alex Roitman
92bbf0359b 2006-07-30 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.do_load_plugins): Catch exception;
	(ViewManager.plugin_status): Catch exception.



svn: r7095
2006-07-30 18:13:38 +00:00
Alex Roitman
aae6ecfc0d 2006-07-29 Alex Roitman <shura@gramps-project.org>
* src/ManagedWindow.py (ManagedWindow.show): Set opened flag;
	(ManagedWindow.close): Unser opened flag.
	* src/ViewManager.py (undo_history_close): Only close undo history
	window if it is open.
	* src/UndoHistory.py: (UndoHistory.__init__): Remove signal handling;
	(UndoHistory.close): Remove method, use one from the parent class.



svn: r7089
2006-07-30 03:24:16 +00:00
Alex Roitman
787fe452e1 2006-07-27 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (_load_metadata): Upgrade custom
	name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Attempt parsing the
	active state for the custom name format.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Write 4-tuple
	custom name formats; 
	(_xml_version): Output as version 1.1.1.
	* data/grampsxml.rng: Update XML description for 1.1.1.
	* data/grampsxml.dtd: Update XML description for 1.1.1.
	* src/ViewManager.py (post_load_newdb): Revert changes (done on
	the lower level).
	* src/NameDisplay.py (register_custom_formats): Revert changes (done on
	the lower level).



svn: r7085
2006-07-27 17:44:02 +00:00
Zsolt Foldvari
1d9e6da05a * src/ViewManager.py (post_load_newdb): Upgrade path for different
grdb custom name format table versions
	* src/NameDisplay.py (register_custom_formats): Upgrade path for
	different grdb custom name format table versions

2006-07-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r7084
2006-07-27 11:53:47 +00:00
Alex Roitman
cf0449db8f 2006-07-16 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/ViewManager.py: Custom name format support.
	* src/GrampsCfg.py: Custom name format support.
	* src/RelLib/_Name.py: Custom name format support.
	* src/Editors/_EditName.py: Custom name format support.
	* src/glade/gramps.glade: Custom name format support.
	* src/NameDisplay.py: Custom name format support.



svn: r7032
2006-07-16 14:44:13 +00:00
Don Allingham
78a01a2503 * src/ViewManager.py: fix default state of filter menu item
svn: r7018
2006-07-12 03:15:26 +00:00
Don Allingham
a1b1138569 2006-07-11 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: clean up
	* src/DataViews/_PedigreeView.py: clean up
	* src/DataViews/_MapView.py: clean up
	* src/ViewManager.py: better menu name



svn: r7017
2006-07-11 20:56:59 +00:00
Don Allingham
8236179ce3 * src/DataViews/_PersonView.py: catch config callback for sidebar
* src/ViewManager.py: catch config callback for sidebar
	* src/PageView.py: catch config callback for sidebar


svn: r7015
2006-07-10 21:46:46 +00:00
Don Allingham
ad18b4c0f1 2006-07-08 Don Allingham <don@gramps-project.org>
* src/ViewManager.py (ViewManager._build_main_window): restore tabs
	to their normal position



svn: r7010
2006-07-08 14:51:26 +00:00
Alex Roitman
154787c06c 2006-07-06 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.post_load_newdb): Register
	custom formats after loading the db.
	* src/GrampsCfg.py: Switch to use new formats (still in progress).
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
	custom name formats list.
	* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata) 
	(GrampsBSDDB._close_metadata): load and save name_formats.
	* src/Editors/_EditName.py (EditName._setup_fields): Use proper
	format lists.
	* src/NameDisplay.py: Support new name formats scheme.
	* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.



svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Don Allingham
bba20d60c2 fails, recalculate data, fix initial display of sidebar
* src/ViewManager.py: handle post page creation initalization
	* src/PageView.py: handle post page creation initalization


svn: r6929
2006-06-21 02:43:19 +00:00
Don Allingham
54eab375a6 2006-06-19 Don Allingham <don@gramps-project.org>
* src/ViewManger.py: try tabs on the side
	* src/DisplayTabs/_PersonRefEmbedList.py: change Relationships to
	Associations
	* src/help/C/*: updates



svn: r6919
2006-06-19 21:06:29 +00:00
Don Allingham
2f86415842 svn: r6903 2006-06-16 21:26:44 +00:00
Alex Roitman
cb63f90caa 2006-05-31 Alex Roitman <shura@gramps-project.org>
* src/Selectors/_SelectPerson.py (__init__): take track argument.
	* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
	* src/Editors/_EditPersonRef.py (_select_person): Adapt to
	SelectPerson change.
	* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
	convert to Managed window.
	* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
	* src/ViewManager.py (make_report_callback): Use dbstate and uistate.



svn: r6830
2006-05-31 18:26:50 +00:00
Alex Roitman
2e9af64722 Update
svn: r6823
2006-05-31 02:03:29 +00:00
Don Allingham
00a5154a67 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


svn: r6773
2006-05-25 04:08:05 +00:00
Alex Roitman
9fa0c2bd12 2006-05-22 Alex Roitman <shura@gramps-project.org>
* src/ArgHandler.py (need_gui): Add method.
	* src/ViewManager.py: Move statusbar notification from gramps_main.
	* src/gramps_main.py: Remove unused methods, handle ArgHandler better.



svn: r6749
2006-05-22 18:07:12 +00:00
Don Allingham
9056f20f16 2006-05-21 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: handle export, import, and save as if
	database does not exist, yet UIManager still wants to call them.



svn: r6748
2006-05-22 04:17:18 +00:00
Alex Roitman
b50cdad0c2 * src/gramps_main.py (Gramps.__init__): Call ArgHandler between
init_interface and post_init_interface.
	* src/ViewManager.py (init_interface): Split off post_init_interface.


svn: r6732
2006-05-21 04:13:34 +00:00
Alex Roitman
ad2e6ddbeb 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py: Reorder calls to make work with ArgHandler.



svn: r6702
2006-05-18 03:11:15 +00:00
Alex Roitman
ae8ec93201 * src/ArgHandler.py: Adapt to recent changes.
* src/BasicUtils.py (update_empty): Clean up callback.
	* src/GrampsDb/_ReadGedcom.py: Clean up callback.


svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
d95f546782 In .:
* src/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
	Add new method.
	* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6699
2006-05-17 23:36:31 +00:00
Alex Roitman
d3c9a148dd 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/DbLoader.py: add new module.
	* src/ViewManager.py: Use DbLoader.
	* src/DisplayState.py (load): Do not perform post_load tasks.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
	version is incopmatible.



svn: r6698
2006-05-17 21:16:59 +00:00
Don Allingham
392f412261 * src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support
	* src/PageView.py: new stock icon support
	* src/images/stock_new-html.png: added
	* src/images/stock_delete-bookmark.png: added
	* src/images/stock_export.png: added
	* src/images/stock_edit-bookmark.png: added
	* src/images/stock_add-bookmark.png: added
	* src/images/stock_undo-history.png: added
	* src/images/stock_bookmark.png: added


svn: r6678
2006-05-16 03:35:10 +00:00
Alex Roitman
641e50000b * src/ViewManager.py (save_as_activate): Use Save button in dialog.
svn: r6676
2006-05-15 22:04:49 +00:00
Alex Roitman
bc12fea3ff * src/ViewManager.py (show_url): Set up link handler.
svn: r6646
2006-05-14 00:43:05 +00:00
Don Allingham
3bcc0dd4ff * src/ViewManager.py: move ScratchPad to Edit
* src/DataViews/_PersonView.py: set up new filter fields, remove
	source field


svn: r6637
2006-05-13 04:25:45 +00:00
Don Allingham
707c4207a9 Search bar completion
svn: r6607
2006-05-10 16:08:56 +00:00
Alex Roitman
40f355e17d * src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
	* src/GrampsDb/_WriteGrdb.py: Use db_copy.
	* src/GrampsDb/_DbUtils.py (db_copy): Add function.
	* src/ViewManager.py: Save as support.
	* src/DataViews/_MapView.py (enable_debug): Set to False to be
	able to see the output besides MapView.



svn: r6604
2006-05-10 05:52:55 +00:00
Don Allingham
24afde6b81 2006-05-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MapView.py: add tool tips to tool buttons
	* src/ViewManager.py: add tool tips to Open button



svn: r6593
2006-05-09 18:34:58 +00:00
Don Allingham
0aaaa45ca1 * src/DataViews/_MediaView.py: tool tips
* src/DataViews/_RepositoryView.py: tool tips
	* src/DataViews/_SourceView.py: tool tips
	* src/DataViews/_EventView.py: tool tips
	* src/DataViews/_PedigreeView.py: tool tips
	* src/DataViews/_PlaceView.py: tool tips
	* src/DataViews/_PersonView.py: tool tips
	* src/ViewManager.py: tool tips
	* src/QuestionDialog.py: add info dialog
	* src/PageView.py: tool tips


svn: r6574
2006-05-08 01:15:19 +00:00
Alex Roitman
179a8dac52 2006-05-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
	* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
	* src/GrampsDb/_GrampsDbBase.py: Undo history support.
	* src/UndoHistory.py: Fixes and additions.
	* src/ViewManager.py (post_load): Re-set undo/redo labels.



svn: r6569
2006-05-07 05:22:44 +00:00
Alex Roitman
49dda0d5c3 In .:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py: Add new file.
	* src/ViewManager.py: undo history support.
	* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
	timestamp to the transaction.
	(GrampsDbBase.redo): Update undo history window.
	(GrampsDbBase.undo): Update undo history window.
	(GrampsDbBase.transaction_commit): Update undo history window.
	(GrampsDbBase.transaction_commit): Set transaction timestamp.
	(GrampsDbBase.__init__): Define undo_history_callback.
	* src/Makefile.am (gdir_PYTHON): Ship new file.

In po:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6557
2006-05-05 21:55:01 +00:00
Don Allingham
0d5e4a3806 add undo history menu item
svn: r6553
2006-05-05 17:37:38 +00:00
Alex Roitman
25ada65064 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Don Allingham
115e268aec 2006-05-03 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: do a better job of building the buttons.



svn: r6539
2006-05-04 01:33:37 +00:00
Alex Roitman
715e7b2b86 (GrampsDbBase.transaction_begin): No aborting after batch transaction.
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.


svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
7011115d16 * src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
	* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
	GrampsDbBase undo/redo;
	(abort_changes): Remove method.
	* src/ViewManager.py (abort): Add method for abandoning changes.



svn: r6536
2006-05-03 23:21:49 +00:00
Don Allingham
b7e6d2f149 sidebar-text option
svn: r6534
2006-05-03 22:21:59 +00:00
Don Allingham
9ae72e2cdc Move ColumnEdit to local
svn: r6532
2006-05-03 17:39:06 +00:00
Don Allingham
3ce932ea76 * src/DataViews/_PersonView.py: view specific key mapping support
* src/ViewManager.py: remember last View
	* src/Config/GrampsConfigKeys.py: LAST_VIEW key
	* src/PageView.py: key binding support
	* data/gramps.schemas.in: LAST_VIEW key


svn: r6510
2006-05-02 03:50:46 +00:00
Don Allingham
8d72a85628 svn: r6490 2006-04-28 22:42:07 +00:00
Alex Roitman
91477fec4f Update
svn: r6487
2006-04-28 19:21:31 +00:00
Alex Roitman
20606d2797 (ViewManager._init_lists): Translate menu labels.
svn: r6486
2006-04-28 17:02:53 +00:00
Alex Roitman
7fbc99f60f 2006-04-28 Alex Roitman <shura@gramps-project.org>
* src/ScratchPad.py (ScratchPadWindow.__init__): Allow only one
	instance; translate label; remove unneeded event handlers.
	* src/ViewManager.py (ViewManager.scratchpad): Catch exception.



svn: r6485
2006-04-28 16:56:19 +00:00
Alex Roitman
aa08d8f227 Update
svn: r6483
2006-04-28 04:55:08 +00:00
Alex Roitman
3f08792d73 Update
svn: r6482
2006-04-28 04:51:44 +00:00
Alex Roitman
d2698f566a 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
	command-line name for action menu.
	* src/plugins/GraphViz.py: Fix report.
	* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
	unneeded import.
	* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
	build_plugin_menu, by_menu_name): Remove functions already
	re-implemented in ViewManager.
	* src/plugins/EventCmp.py: Correct button label.
	* src/plugins/StatisticsChart.py: Fix report.



svn: r6481
2006-04-28 04:33:28 +00:00
Alex Roitman
513f6706bf 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (reports_clicked, tools_clicked): handle
	exception.
	* src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked):
	Correctly call gui_tool, fix wm.	



svn: r6475
2006-04-27 21:32:44 +00:00
Alex Roitman
64c9d21d43 Update
svn: r6473
2006-04-27 21:13:50 +00:00
Don Allingham
8a234d4bc1 * src/ViewManager.py: fix top on Config.set calls
* data/gramps.schemas.in: remove toolbar, now unused


svn: r6472
2006-04-27 20:52:58 +00:00
Don Allingham
f8a6f76900 2006-04-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for keypress events
	* src/gramps.py: fix gnome init



svn: r6464
2006-04-27 17:03:23 +00:00
Don Allingham
e462dafe93 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
0593cae180 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Don Allingham
8a8ef76233 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Don Allingham
01bfac7778 * src/ViewManager.py: new config changes, handle exception, enable Edit button
by default


svn: r6445
2006-04-26 04:03:04 +00:00
Don Allingham
c9b922c156 * src/ViewManager.py: new config changes, handle exception
svn: r6442
2006-04-26 02:14:37 +00:00
Don Allingham
4d1b7b53dd svn: r6439 2006-04-26 01:44:03 +00:00
Alex Roitman
9759ab6aad * src/Bookmarks.py: Redraw "Go to bookmark" menu if changes were
made in the bookmard editor; Use fixed column widths in editor.



svn: r6436
2006-04-25 19:24:40 +00:00
Don Allingham
8b939198b8 fix typo
svn: r6431
2006-04-24 21:46:54 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
471694030c * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Don Allingham
3ae608af89 image and screen updates
svn: r6352
2006-04-18 02:09:43 +00:00
Alex Roitman
06bdf56361 * src/ViewManager.py (ViewManager.change_page): Always toggle the
sidebar buttons, even if no data is loaded.

svn: r6312
2006-04-11 22:24:26 +00:00
Alex Roitman
edfe00dd54 * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Alex Roitman
8fc68feaca * src/ViewManager.py (ViewManager.create_pages): Use toggle
buttons on the sidebar.
	(ViewManager.change_page): Turn off previously active button.


svn: r6299
2006-04-10 05:49:20 +00:00
Don Allingham
fb27b07fc1 Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Don Allingham
4cc621cc56 remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
a30cfaeb12 Fix PluginStatus call
svn: r6258
2006-04-02 22:31:31 +00:00
Don Allingham
ae2486081d dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Don Allingham
9d13b0783d enable actiongroups on autoload
svn: r6225
2006-03-29 19:26:43 +00:00
Don Allingham
4c3e96b163 remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham
389fa7263e scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Don Allingham
e6f0bf7dda lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00