Commit Graph

137 Commits

Author SHA1 Message Date
Alex Roitman
3795edd1d4 * src/gramps_main.py (new_database_response,read_file,save_file):
Pass parent window to DbPrompter.
* src/DbPrompter.py (__init__): Accept optional parent argument;
(show): Make the window the transient for the main window.
* src/gramps.glade: Make Opendb dialog modal.


svn: r2103
2003-09-08 04:12:43 +00:00
Don Allingham
fd6da64350 * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate


svn: r2098
2003-09-07 14:16:25 +00:00
Alex Roitman
8f88ab5b6b * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Alex Roitman
c525f2feec * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.


svn: r2084
2003-09-03 00:54:55 +00:00
Tim Waugh
0d463a5ea2 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py: Fixed start-up view when family view style
        is the default.


svn: r2082
2003-09-02 21:22:11 +00:00
Alex Roitman
aef12f25bf * src/gramps_main.py (load_selected_people): Only invoke Edit person
dialog if the active person is selection in the current alpha- page;
(change_alpha_page): Enable person-centered buttons only if the
selection is visible in the current page;
(build_people_context_menu): Enable Add bookmark and Edit/Remove only
if the selection is visible in the current page.


svn: r2068
2003-08-31 05:12:30 +00:00
Alex Roitman
32a3796ae1 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
f85214c358 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
b06bb6251d * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +00:00
Alex Roitman
fe159d611a * src/gramps.glade: Minor cleanups for the alternate family view.
* src/gramps_main.py: Likewise.


svn: r2050
2003-08-26 04:26:09 +00:00
Don Allingham
eb60bb7782 * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
7adaa38b83 * src/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons.


svn: r2044
2003-08-25 20:38:35 +00:00
Alex Roitman
358f95a2be * src/PedView.py (PedigreeView.__init__): Add parent argument to the
constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
2003-08-25 14:00:26 +00:00
Alex Roitman
fb10339133 * src/gramps_main.py (change_active_person): Cleanup with
enabling/disabling add/edit/remove buttons in different views upon the
active person change.


svn: r2041
2003-08-25 05:03:36 +00:00
Alex Roitman
36c79fc884 Add a limit of 20 for the Back/Forward history popup menus.
Add hotkeys for these menus;
(change_active_person): Fix sensitivity of Back/Forward buttons;
(build_people_context_menu): Add new items to the People View's context
menu (Home and Add Bookmark);
(change_alpha_page): Fix context menu upon changing pages.


svn: r2027
2003-08-19 14:46:34 +00:00
Alex Roitman
7be1292441 * src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
Limit of 20 for the Back/Forward history menus.
Add hotkeys for these menus.


svn: r2025
2003-08-19 12:39:05 +00:00
Alex Roitman
c561472619 Enable context menu upon right-click in the People View with Back,
svn: r2022
2003-08-19 02:55:27 +00:00
Alex Roitman
8aa632c51a * src/gramps_main.py: Enable context menus with back and forward
portions of history upon right-clicking on Back and Forward buttons.
* src/gramps.glade: Add handlers for the context menus.


svn: r2021
2003-08-19 00:34:09 +00:00
Alex Roitman
2af8e23521 * src/gramps_main.py: Better behavior for the history menu.
svn: r2019
2003-08-17 16:07:06 +00:00
Alex Roitman
d9b05dab40 * src/gramps_main.py: Functional history submenu of the Go menu.
svn: r2018
2003-08-17 04:01:52 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
c750b2c125 * src/gramps_main.py (change_active_person): Small fix for disabling
back button.
* src/gramps_main.py: Add enabling/disabling for the new back/fwd menu
items.


svn: r2015
2003-08-16 05:06:24 +00:00
Don Allingham
dd731ec0e7 * src/gramps.glade: New tool icon
* src/gramps_main.py: handle back/fwd buttons, disabling when
not appropriate
* src/people48.png: new image
* src/family48.png: new image
* src/tools.png


svn: r2012
2003-08-16 03:22:56 +00:00
Don Allingham
206c3a29c2 * src/gramps_main.py: implement a basic history mechanism
* src/gramps.glade: add back and forward buttons


svn: r2000
2003-08-14 03:51:19 +00:00
Don Allingham
de7f76b347 * src/AddMedia.py: set title for image select dialog
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box


svn: r1997
2003-08-13 04:28:07 +00:00
Don Allingham
12ff47c896 * src/gramps_main.py: apply the filter after a load of the database,
allow default view to be set
* src/GrampsCfg.py: handle the defaultview key to allow the user to
choose Family or People view as the default
* src/preferences.glade: defaultview settings


svn: r1993
2003-08-12 03:01:17 +00:00
Alex Roitman
e95dc44bbf * src/gramps_main.py (save_file): Remove statusbar.set_pulse_step()
call because gnome.ui.AppBar does not have such method.


svn: r1958
2003-08-03 05:41:08 +00:00
Don Allingham
016214b255 * src/gramps_main.py: handle status bar message with autosave
* src/FamilyView.py: add right-context menus in the family view


svn: r1947
2003-08-01 03:38:51 +00:00
Don Allingham
d77e1909c6 * src/ChooseParents.py: Used EditPerson dialog instead of quick add,
select added parent in list
* src/gramps_main.py: eliminated importing of string, display
error if no person selected when trying to export
* src/ListModel.py : explicitly delete renderers and columns due
to memory leak in pygtk 1.99.16
* src/PlaceView.py: explictly delete model due to above memory leak
* src/plugins/pkgexport.glade: don't set height of window
* src/plugins/WriteFtree.py: export to Web Family Tree


svn: r1942
2003-07-31 11:58:08 +00:00
Don Allingham
6054b03ea8 * src/gramps_main.py: handle autosave more gracefully
svn: r1940
2003-07-29 04:36:13 +00:00
Don Allingham
1943b4e560 * src/ListModel.py: set the cell renderers to a fixed size
to improve performance
* src/PlaceView.py: set the cell renderers to a fixed size
to improve performance
* src/SourceView.py: set the cell renderers to a fixed size
to improve performance
* src/Sources.py: set the cell renderers to a fixed size
to improve performance
* src/Utils.py: set the cell renderers to a fixed size
to improve performance
* src/gramps_main.py: prevent double loading of place_view


svn: r1931
2003-07-27 03:50:57 +00:00
Alex Roitman
6431759d5a * src/gramps_main.py (open_example): Fix destination name when copying
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
2003-07-18 06:17:28 +00:00
Alex Roitman
3766e49d6b * src/gramps_main.py: Replace old "file-should-be-directory" message.
* src/StartupDialog.py: Minor typos.
* src/plugins/Verify.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/book.glade: Likewise.
* src/MediaView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/po/template.po: Update the above corrections in template.


svn: r1894
2003-07-17 02:37:28 +00:00
Don Allingham
06e08a27c4 * src/DisplayTrace.py: identify more linux versions
svn: r1803
2003-06-30 03:07:24 +00:00
Don Allingham
2817109436 * src/plugins/ReadGedcom.py: removed unused variable
* src/latin_utf8.py: explicity state iso-8859-1 to unicode translation
* src/gramps_main.py: handle clearing of tabs better, eliminating
spurious tabs being added on a complete rebuild of the tabs.


svn: r1782
2003-06-26 02:53:04 +00:00
Don Allingham
0d2b7ca7bf update
svn: r1775
2003-06-25 03:36:48 +00:00
Don Allingham
f323b7cf80 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
50312ea35e * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Alex Roitman
4d8789f4ab * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Don Allingham
ea3423f181 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +00:00
Don Allingham
0127273296 Fixed loading of places and goto person switching back to first page
svn: r1580
2003-05-23 01:47:36 +00:00
Don Allingham
6c0383e568 Pass the correct object to apply_filter when apply is clicked
svn: r1570
2003-05-22 03:15:48 +00:00
Alex Roitman
8faebfed78 Segfault on changing tab with filter applied
svn: r1569
2003-05-22 01:25:23 +00:00
Alex Roitman
3c8918f7ff Updates
svn: r1568
2003-05-21 22:08:09 +00:00
Alex Roitman
e727f0075b Finishing command line options
svn: r1564
2003-05-21 18:06:41 +00:00
Alex Roitman
dff8864a3f Command line imports: gedcom and iso
svn: r1552
2003-05-20 20:31:16 +00:00
Alex Roitman
74181893a6 Unknown option handling
svn: r1551
2003-05-20 19:21:23 +00:00
Alex Roitman
ee13c47370 Command line export-> default to gramps
svn: r1549
2003-05-20 18:33:14 +00:00
Alex Roitman
a7a9622f39 Correction
svn: r1547
2003-05-20 04:52:44 +00:00
Alex Roitman
01a1cd061f Command-line import from gedcom: cleanup
svn: r1544
2003-05-19 19:58:52 +00:00