From 846bfd9ab10d8044e8db19b1a06871cacabb1f54 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 9 Jul 2006 02:47:34 +0000 Subject: [PATCH] * src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for person svn: r7011 --- ChangeLog | 2 + help/C/gramps-manual.xml | 129 ++++++++++++++++++++++----------------- src/ScratchPad.py | 4 +- 3 files changed, 77 insertions(+), 58 deletions(-) diff --git a/ChangeLog b/ChangeLog index f8667adef..4869ceb54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2006-07-08 Don Allingham + * src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for + person * src/ViewManager.py (ViewManager._build_main_window): restore tabs to their normal position diff --git a/help/C/gramps-manual.xml b/help/C/gramps-manual.xml index b6168ce25..e58b28998 100644 --- a/help/C/gramps-manual.xml +++ b/help/C/gramps-manual.xml @@ -277,7 +277,7 @@ Although similar to other genealogical programs, GRAMPS offers some unique and powerful features, which we'll discuss below. - GRAMPS is a Open Source Software package, which means you are free + GRAMPS is an Open Source Software package, which means you are free to make copies and distribute it to anyone you like. It's developed and maintained by a worldwide team of volunteers whose goal is to make GRAMPS powerful, yet easy to use. @@ -637,7 +637,7 @@ The Progress Bar is located in the lower left corner of the GRAMPS window. It displays the progress of time consuming - operations, such as opening and saving large data bases, importing + operations, such as opening and saving large databases, importing and exporting to other formats, generating web sites, etc. When you are not doing these types of operations, the Progress Bar is blank. @@ -680,7 +680,7 @@ detailed. Displaying it poses a challenge that GRAMPS takes on by dividing and organizing the information into a series of Views. Each View displays a portion of the total information, selected according to - a particular category. This will become clearer as we explore the nine + a particular category. This will become clearer as we explore the different Views, listed below: @@ -749,14 +749,15 @@ Switching Views and Viewing Modes - As mentioned above there are six different Views. In addition, + As mentioned above there are nine different Views. In addition, there are two different Viewing Modes. You can tell at a glance which Viewing Mode you are in: If you see icons listed vertically in a sidebar at the left of the window, you are in the Sidebar Viewing Mode. If instead you see a series of "notebook tabs" (labeled People, - Family, Pedigree, Sources, Places, Media) that run horizontally across - the window, then you are in the Tabbed Viewing Mode. You can switch - from one Viewing Mode to another by selecting + Relationships, Family List, Pedigree, Events, Sources, Places, Media + and Repositories) that run horizontally across the window, then you + are in the Tabbed Viewing Mode. You can switch from one Viewing Mode + to another by selecting View Sidebar @@ -888,9 +889,9 @@ Alternatively, you can enable the Filter sidebar, which will be displayed on the right hand side of the display. When the filter sidebar is displayed, the Search bar is not displayed. The Filter - side bar allows you to interactive build a set of filter rules that - can be applied to the display. The filter is applied based on the - rules and the data, not on the screen display. + side bar allows you to interactively build a set of filter rules + that can be applied to the display. The filter is applied based on + the rules and the data, not on the screen display. @@ -963,7 +964,7 @@ At the top of the screen, name, ID, birth, and death information of the active person is displayed. If a photo of the - person is available, it is show on the right hand side. Next to + person is available, it is shown on the right hand side. Next to the person's name is a symbol indicating gender, and an Edit button. Clicking the Edit button will allow you to edit all of the person's individual information in @@ -1050,8 +1051,8 @@ terminology is still used. In the case of male/male or female/female relationships, one of the father and mother - labels should be considered to be convience labels, and should - be considered as interchangable. + labels should be considered to be convenience labels, and + therefore interchangable. @@ -1101,7 +1102,7 @@ Pedigree View The Pedigree View displays a family tree of the Active person's - ancestors. The Pedigree View shows up to four generations, depending + ancestors. The Pedigree View shows up to five generations, depending on the size of the window. Each person is indicated by a box labeled with his or her name, birth and death information, and optionally an image if available. Two lines branch from each box. The top one shows @@ -2895,13 +2896,15 @@ - Associations - - The Associations tab lets you - view and edit information about the associations between - people in the database. The associations may include Godparents, - family friends, or any other types of associations you may - wish to record. + Associations + + + The Associations tab lets you view + and edit information about the associations between people in + the database. The associations may include Godparents, family + friends, or any other types of associations you may wish to + record. +
@@ -2916,14 +2919,15 @@ - Shows Associations Tab of Edit Person dialog. + Shows Associations Tab of Edit Person + dialog.
-
-
-
+ + + @@ -3492,23 +3496,15 @@ data. If not, it has no data.
+ The general information at the top of the window lets you define + basic information about the source: its Title, + Author, Abbreviation, and + Publication information. You can type this + information directly into the adjacent fields. + The tabs provide the following information categories of source data: - - - General - - - The General tab lets you define basic - information about the source: its Title, - Author, Abbreviation, - and Publication information. You can type - this information directly into the adjacent fields. - - - - Note @@ -3522,6 +3518,29 @@ + + + Gallery + + + The Gallery tab lets you store and + display photos and other media objects associated with a given + source (for example, a photo of a birth certificate). The + central part of the window lists all such media objects and + gives you a thumbnail preview of image files. Other objects such + as audio files, movie files, etc., are represented by a generic + GRAMPS icon. The buttons +, + Select, Edit, and + - let you add a new image, add a + reference to an existing image, modify an existing image, and + remove a media object's link to the source. Note that the + Edit and - buttons + become available only when a media object is selected from the + list. + + + + Data @@ -3547,23 +3566,19 @@ - Gallery + Repositories - The Gallery tab lets you store and - display photos and other media objects associated with a given - source (for example, a photo of a birth certificate). The - central part of the window lists all such media objects and - gives you a thumbnail preview of image files. Other objects such - as audio files, movie files, etc., are represented by a generic - GRAMPS icon. The buttons +, - Select, Edit, and - - let you add a new image, add a - reference to an existing image, modify an existing image, and - remove a media object's link to the source. Note that the - Edit and - buttons - become available only when a media object is selected from the - list. + The Repositories tab displays the + references to the repositories in which the source is contained. + The list can be ordered by any of its column headings: + ID, Title, + Call Number,and Type. + Double-clicking an entry allows you to view and edit the record. + You may also edit the reference. The buttons on the side of the + tab allow you add a new repository, link to (or share) an + existing repository, edit the reference to the repository, or + remove the reference. @@ -3639,8 +3654,8 @@ - If a tab label is in boldface type, this means it contains - data. If not, it has no data. + If a tab label is in boldface type and displays an icon, this + means it contains data. If not, it has no data. The tabs represent following categories of place data: @@ -8651,4 +8666,4 @@ url="ghelp:gpl">link, or in the file COPYING included with the source code of this program. - + \ No newline at end of file diff --git a/src/ScratchPad.py b/src/ScratchPad.py index 0fda32994..03757f5c4 100644 --- a/src/ScratchPad.py +++ b/src/ScratchPad.py @@ -540,7 +540,9 @@ class ScratchPersonLink(ScratchPadWrapper): def tooltip(self): global escape - person = self._db.get_person_from_handle(self._obj) + data = pickle.loads(self._obj) + handle = data[2] + person = self._db.get_person_from_handle(handle) s = "%s\n\n"\ "\t%s:\t%s\n"\