Commit Graph

51 Commits

Author SHA1 Message Date
Raphael Ackermann
cf5ee9d657 pep8 & typos
svn: r13001
2009-08-14 07:07:10 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
0440ca1c2a Bug 2888: gramps.glade: convert from liglade to gtkbuilder -- part 1
svn: r12508
2009-05-06 14:44:22 +00:00
Benny Malengier
b1561e5f78 2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: allow for info dialog after import
	* src/gen/db/base.py: find returns if new object or not
	* src/gen/db/dbdir.py: find returns if new object or not
	* src/plugins/ImportGeneWeb.py: allow multiple mime types
	* src/plugins/ImportvCard.py: allow multiple mime types
	* src/plugins/ReadGrdb.py: allow multiple mime types
	* src/plugins/ReadPkg.py: allow multiple mime types
	* src/plugins/ImportCSV.py: allow multiple mime types
	* src/DbManager.py: use family tree string, not database
	* src/glade/gramps.glade: add info dialog
	* src/QuestionDialog.py: add info dialog, clean up set transient errors
	* src/GrampsDbUtils/_GrampsDbWriteXML.py: improve comment
	* src/GrampsDbUtils/_ReadXML.py: fix change dates problems, fix 
	 creation of empty objects in bookmarks, add info dialog, clean up
	 relative media import, remove unneeded parameters
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: 
	* src/GrampsDbUtils/_GrampsBSDDB.py: allow multiple mime types
	* src/DbLoader.py: fix up import filters and some mime type issues



svn: r10138
2008-02-28 22:32:40 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Don Allingham
150a0fc05d svn: r8540 2007-06-13 02:27:31 +00:00
Don Allingham
a41031ddef * src/QuestionDialog.py: close window before calling callback
if the view is not in focus. Fix delete display by calling build_tree


svn: r7944
2007-01-21 00:16:08 +00:00
Don Allingham
fa8085031b 2006-12-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: RunDatabaseRepair integration
	* src/GrampsDb/_WriteGedcom.py: RunDatabaseRepair integration
	* src/QuestionDialog.py: RunDatabaseRepair dialog to warn users to run
	database checks



svn: r7777
2006-12-11 04:10:46 +00:00
Martin Hawlisch
3a10a016bc * src/QuestionDialog.py: Set Window titles to make window manager and taskbar happy
svn: r7596
2006-11-09 11:38:18 +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
0d820794d5 2006-09-25 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBCallback.py: catch db transaction problem
	* src/GrampsCfg.py: reset PORT_WARN when TRANSACTION re-enabled
	* src/QuestionDialog.py: sync changes to config value
	* src/GrampsLogger/_ErrorReportAssistant.py: fix typo
	


svn: r7330
2006-09-26 02:07:03 +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
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
9e68a4b550 In .:
2006-05-12  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py (gtk_color_to_str): Better color to str.
	* src/QuestionDialog.py (QuestionDialog2.__init__): Use the
	underline for labels.
	* src/plugins/ChangeNames.py: Fix WM.
	* src/plugins/PatchNames.py: Fix WM.

In po:
	* gramps.pot: Update.


svn: r6630
2006-05-12 18:46:26 +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
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

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



svn: r6504
2006-05-01 21:11:26 +00:00
Don Allingham
e4235afcc1 svn: r6497 2006-04-30 01:25:56 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +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
071ae0ac9a dialog fixes, replace fork with spawn
svn: r6226
2006-03-29 22:51:27 +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
Alex Roitman
bc6848cf20 Add Config package
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
2b96e371e1 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Don Allingham
1226c0d55a * src/AddMedia.py: glade path
* src/AddrEdit.py: glade path
* src/AttrEdit.py: glade path
* src/DateEdit.py: glade path
* src/EventEdit.py: glade path
* src/GrampsCfg.py: glade path
* src/ImageSelect.py: glade path
* src/Sources.py: glade path
* src/StyleEditor.py: glade path
* src/const.py.in: glade path
* src/Marriage.py: glade path
* src/unlocked.png: added
* src/GrampsDb/_ReadGedcom.py: optimize UI updates, add test code


svn: r5772
2006-01-17 05:03:30 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
fbd8c05dd8 * src/gramps_main.py (tool_callback): Typo.
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.


svn: r4230
2005-03-24 06:22:25 +00:00
Don Allingham
55a416f422 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Don Allingham
09328f505b * src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend
* various: switch from GrampsGconfKeys to GrampsKeys for normal usage

* src/GrampsIniKeys.py: Alternate backend using .ini files instead
of gconf


svn: r3873
2005-01-06 17:28:31 +00:00
Don Allingham
c5247c4d02 * src/EditPerson.py: handle the new "dont-ask" key
* src/GrampsGconfKeys.py: handle the new "dont-ask" key
* src/ImageSelect.py: remove debugging statements
* src/Marriage.py: handle the new "dont-ask" key
* src/QuestionDialog.py: handle the new "dont-ask" key
* src/gramps.glade: added "dont ask" button to SaveDialog
to turn off the nagging
* src/data/gramps.schemas: added the "dont-ask" key


svn: r3721
2004-11-11 04:28:40 +00:00
Don Allingham
7189f043dc * src/DisplayModels.py: change 0 to False
* src/EditPerson.py: copy current name info to name editor when invoking
* src/GrampsBSDDB.py: provide default name to group mapping
* src/GrampsDbBase.py: provide default name to group mapping
* src/GrampsInMemDB.py: provide default name to group mapping
* src/NameEdit.py: prompt for making name mapping override the default
or purely for the active name
* src/PeopleModel.py: handle name grouping
* src/PeopleView.py: handle name grouping
* src/QuestionDialog.py: Add QuestionDialog2 to allow two answers to
a dialog (instead of one being cancel)
* src/RelLib.py: grouping documentation
* src/gramps.glade: move button on EditPerson dialog
* src/gramps_main.py: goto active person after a redisplay


svn: r3591
2004-09-30 18:32:56 +00:00
Alex Roitman
4e70a13a6d * NEWS: Update.
* src/errdialogs.glade: Add check button to the missing media dialog.
* src/QuestionDialog.py (MissingMediaDialog.__init__): Add default
action property.
* src/ReadXML.py (import_data): Add support for default action.
* src/plugins/WebPage.py (write_gallery): Use object ID as a file name
- prevents collision between identical names coming from different dirs.


svn: r2645
2004-01-17 06:51:49 +00:00
Alex Roitman
1021a5ef65 * 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
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
4247f38dbb Change file extentions in reports when different filetype is chosen
svn: r1534
2003-05-16 01:49:50 +00:00
Alex Roitman
72cb88a487 User input when files are lost on Import
svn: r1519
2003-05-13 03:35:39 +00:00
Don Allingham
a67cd53b35 Reports handle file extensions and check for existing file.
svn: r1462
2003-04-18 04:15:42 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
2615f4c186 HIG improvements
svn: r1358
2003-03-19 04:27:34 +00:00
Don Allingham
072c64eb5e HIG improvements
svn: r1319
2003-02-27 00:29:37 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1e89380047 Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
f53f056885 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
a6a58ccf78 GEDCOM/ANSEL handing, improved list access
svn: r1173
2002-11-09 18:44:58 +00:00
Don Allingham
aa4b5ecbda Removed Sorter.py
svn: r1162
2002-11-04 04:05:47 +00:00
Don Allingham
782841c738 Fixed place editing
svn: r1146
2002-10-21 01:18:07 +00:00