Commit Graph

40 Commits

Author SHA1 Message Date
Kees Bakker
e92a5979a8 Use the normal sys.exit() instead of os._exit() because the latter will
not flush any output. Also catch the SysExit exceptions in gramps.py and
do a gtk.main_quit() just to be sure. This all is to make commandline
processing usable.


svn: r8308
2007-03-20 19:21:41 +00:00
Zsolt Foldvari
4cd6d41f79 * src/MarkupText.py: cleanup
* src/DisplayTabs/_NoteTab.py (build_interface): debug log
	* src/const.py.in: add new command line arg '-d,--debug'
	* src/gramps.py (setup_logging): change root logger default level
	to WARNING
	* src/ArgHandler.py (parse_arg): handle command line arg: debug

2007-02-12  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8093
2007-02-12 22:33:03 +00:00
Alex Roitman
5000d97921 2007-01-09 Alex Roitman <shura@gramps-project.org>
* src/const.py.in: use proper macros.
	* src/gramps.py: Correctly define dirs.



svn: r7889
2007-01-10 02:14:25 +00:00
Alex Roitman
912a73371f * src/GrampsDb/_WriteGedcom.py (GedcomWriter.gui_setup): Add a
dialog about the researcher information.
	* src/gramps.py (run): Remove startup dialog.


svn: r7278
2006-08-27 21:04:49 +00:00
Brian Matherly
1a02c853c0 * src/ManagedWindow.py: mask strange Windows logging error on close
svn: r7179
2006-08-15 03:12:14 +00:00
Brian Matherly
7cd3ebaa77 * src/gramps.py: catch logging error and ignore.
svn: r7168
2006-08-13 04:18:59 +00:00
Brian Matherly
58e213e22b Add provisions for local mo files for Windows
svn: r6797
2006-05-27 21:04:44 +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
071ae0ac9a dialog fixes, replace fork with spawn
svn: r6226
2006-03-29 22:51:27 +00:00
Don Allingham
dfeb7259b3 new logging scheme
svn: r6080
2006-03-05 04:31:24 +00:00
Alex Roitman
45a3a8dc50 Remove executable bit
svn: r6032
2006-03-02 18:40:22 +00:00
Don Allingham
26092c071a * src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception
* src/DisplayState.py: remove already_exist variable
* src/DisplayTabs.py: handle exception
* src/EditEventRef.py: remove already_exist check in favor of exception
* src/EditFamily.py: update to derive from EditPrimary
* src/EditMedia.py: update to derive from EditPrimary
* src/EditMediaRef.py: remove already_exist check in favor of exception
* src/EditPerson.py: update to derive from EditPrimary
* src/EditPlace.py: update to derive from EditPrimary
* src/EditRepository.py:update to derive from EditPrimary
* src/EditSource.py: update to derive from EditPrimary
* src/EditSourceRef.py: remove already_exist check in favor of exception
* src/Errors.py: new exception
* src/EventEdit.py: update to derive from EditPrimary
* src/EventView.py: catch exception of window already exists
* src/FamilyList.py: catch exception of window already exists
* src/FamilyView.py: catch exception of window already exists
* src/GrampsWidgets.py: typos
* src/NameEdit.py: remove already_exist check in favor of exception
* src/PedView.py: catch exception of window already exists
* src/PersonView.py: catch exception of window already exists
* src/PlaceView.py: catch exception of window already exists
* src/Plugins.py: catch exception of window already exists
* src/UrlEdit.py: remove already_exist check in favor of exception
* src/const.py.in: dynamically determine path
* src/gramps.glade: name changes
* src/gramps.py: set path


svn: r6014
2006-03-01 05:08:11 +00:00
Richard Taylor
6fee6a5f79 integrated object selector into edit family
svn: r5804
2006-01-20 10:30:35 +00:00
Don Allingham
67032ee826 * src/FamilyList.py: call family editor
* src/StartupDialog.py: pwm in try/except
* src/gramps.py: don't fail on missing SIG_CHILD


svn: r5724
2006-01-12 05:40:44 +00:00
Richard Taylor
ea97dcd015 integration of logging framework
svn: r5680
2006-01-06 15:23:28 +00:00
Don Allingham
af21245530 * 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
8ea34283c8 * src/DateHandler.py: add handlers for fr_FR
* src/DateParser.py: add parser for french
* src/DateDisplay.py: add displayer for french

* src/gramps.py: Better way of setting locale
* src/DateHandler.py: Better locate settings


svn: r3714
2004-11-09 04:23:34 +00:00
Don Allingham
ac86b176a0 * src/DateDisplay.py: use LC_TIME and D_FMT to determine
the locale date format
* src/DateHandler.py: en.US to en_US
* src/ReadGedcom.py: Allow user overriding of character set
* src/StartupDialog.py: remove date entry setting
* src/gedcomimport.glade: Allow user overriding of character set
* src/gramps.py: set LC_TIME based of LANG
* src/data/gramps.schemas: remove date entry setting

* src/DateDisplay.py: use unicode encodings for french months


svn: r3571
2004-09-24 22:05:46 +00:00
Alex Roitman
2e477a5936 * configure.in: Bump up the version number.
* src/gramps.py: Pass complete argument string.
* src/gramps_main.py: Pass popt table to gnome_init().
Always enable argument handling. (read_xml,read_pkg): Add functions.
* src/const.py.in: Define popt table, add all gnome options.
* src/ArgHandler.py: Add long options for gramps-specific options.
Add handling for the first filename argument. Use 'gramps-xml'
to denote old gramps (XML) format.
* src/DbPrompter.py: Add hint for the filename.
* src/plugins/ReadNative.py: Cosmetic changes.
* src/plugins/ReadPkg.py: Cosmetic changes.
* src/plugins/WritePkg.py: Typo.
* src/data/gramps.xml: Add mime type for gramps package.
* src/data/gramps.applications: Add gramps package to the list.
* src/data/Makefile.am: Typo.

* src/gramps_main.py: removed new database info message
* src/plugins/ReadGedcom.py: Fixed typos preventing import.
(i.e. set_type instead of SetType, etc.)

* Release: Version 1.1.0 "And now for something completely different"
released.


svn: r3218
2004-06-21 05:10:27 +00:00
Don Allingham
1b8fa18cc7 * src/DbPrompter.py: handle open dialog in a clean manner
* src/gramps.py: handle open dialog in a clean manner
* src/gramps_main.py: handle open dialog in a clean manner
* src/gramps.glade: handle open dialog in a clean manner


svn: r3143
2004-05-08 04:48:59 +00:00
Don Allingham
3783102bcc * src/gramps.glade: rearranged filter apply
* src/gramps.py: update to gtk.main()
* src/gramps_main.py: goto active person after model built


svn: r3116
2004-05-01 14:08:36 +00:00
Don Allingham
0417838641 * src/DbPrompter.py: support for new GTK 2.4 file chooser
svn: r3090
2004-04-19 03:15:05 +00:00
Don Allingham
c23723ac8b * src/RelImage.py: replace system call with Utils.search_for
* src/Utils.py: added search_for to look for an executable in the current
path

* FAQ: removed question 18 (how fast is GRAMPS)
* src/PeopleStore.py: set sort data for top level nodes. Allows the first
and last nodes to be sorted properly.


svn: r2374
2003-11-25 17:45:34 +00:00
Don Allingham
02cded3948 * src/gramps.py: handle python versions with broken setlocale()
* src/po/Makefile.am: don't pass -v to msgfmt


svn: r2351
2003-11-19 17:20:05 +00:00
Don Allingham
9efdcef0fe * src/StartupDialog.py: handle SuSE 9.0's broken handling of
gconf
* src/gramps.py: handle SuSE 9.0's broken handling of gconf


svn: r2309
2003-11-02 00:23:35 +00:00
Don Allingham
fcb316c2c7 * src/gramps.py: catch missing textdomain in gtk.glade for
older versions of pygtk
* src/po/template.po: update


svn: r2029
2003-08-20 22:33:09 +00:00
Alex Roitman
fe9f656214 Update
svn: r2026
2003-08-19 13:55:34 +00:00
Don Allingham
93add3c449 * configure.in: removal of intl.c/intl22.so
* src/gramps.py: handling of i18n without the use of intl
* src/*.py: switch from intl to gettext


svn: r2016
2003-08-17 02:12:25 +00:00
Don Allingham
337378bdbd * src/DbPrompter.py: removed #! at top of file
* src/gramps.py: removed #! at top of file
* src/EditSource.py: removed #! at top of file


svn: r2005
2003-08-14 15:57:26 +00:00
Don Allingham
75a56df241 * src/gramps.py: Add SIGCHLD handler
svn: r1686
2003-06-10 17:10:44 +00:00
Alex Roitman
fc1daf4b66 Command line parameters
svn: r1536
2003-05-17 04:14:13 +00:00
Don Allingham
7b8aa74a1d gtk.glade.bindtextdomain
svn: r1427
2003-04-06 05:07:36 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
a72b6df23c Bug fixes from pychecker
svn: r1333
2003-03-08 05:59:20 +00:00
Don Allingham
072c64eb5e HIG improvements
svn: r1319
2003-02-27 00:29:37 +00:00
Don Allingham
acf975cd1a updated strings, called gnome.init
svn: r1301
2003-02-13 05:15:39 +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
dbe98f4068 UTF-8 support for translations, clean up gettext, improved gallery handling
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00