* src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for
person svn: r7011
This commit is contained in:
parent
e897718d06
commit
a6dca66a8d
@ -1,4 +1,6 @@
|
|||||||
2006-07-08 Don Allingham <don@gramps-project.org>
|
2006-07-08 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for
|
||||||
|
person
|
||||||
* src/ViewManager.py (ViewManager._build_main_window): restore tabs
|
* src/ViewManager.py (ViewManager._build_main_window): restore tabs
|
||||||
to their normal position
|
to their normal position
|
||||||
|
|
||||||
|
@ -277,7 +277,7 @@
|
|||||||
Although similar to other genealogical programs, GRAMPS offers some unique
|
Although similar to other genealogical programs, GRAMPS offers some unique
|
||||||
and powerful features, which we'll discuss below.</para>
|
and powerful features, which we'll discuss below.</para>
|
||||||
|
|
||||||
<para>GRAMPS is a Open Source Software package, which means you are free
|
<para>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
|
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
|
maintained by a worldwide team of volunteers whose goal is to make GRAMPS
|
||||||
powerful, yet easy to use.</para>
|
powerful, yet easy to use.</para>
|
||||||
@ -637,7 +637,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>The Progress Bar is located in the lower left corner of the
|
<para>The Progress Bar is located in the lower left corner of the
|
||||||
GRAMPS window. It displays the progress of time consuming
|
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
|
and exporting to other formats, generating web sites, etc. When you
|
||||||
are not doing these types of operations, the Progress Bar is
|
are not doing these types of operations, the Progress Bar is
|
||||||
blank.</para>
|
blank.</para>
|
||||||
@ -680,7 +680,7 @@
|
|||||||
detailed. Displaying it poses a challenge that GRAMPS takes on by
|
detailed. Displaying it poses a challenge that GRAMPS takes on by
|
||||||
dividing and organizing the information into a series of Views. Each
|
dividing and organizing the information into a series of Views. Each
|
||||||
View displays a portion of the total information, selected according to
|
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:</para>
|
different Views, listed below:</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
@ -749,14 +749,15 @@
|
|||||||
<sect2 id="view-modes">
|
<sect2 id="view-modes">
|
||||||
<title>Switching Views and Viewing Modes</title>
|
<title>Switching Views and Viewing Modes</title>
|
||||||
|
|
||||||
<para>As mentioned above there are six different Views. In addition,
|
<para>As mentioned above there are nine different Views. In addition,
|
||||||
there are two different Viewing Modes. You can tell at a glance which
|
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
|
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
|
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,
|
Mode. If instead you see a series of "notebook tabs" (labeled People,
|
||||||
Family, Pedigree, Sources, Places, Media) that run horizontally across
|
Relationships, Family List, Pedigree, Events, Sources, Places, Media
|
||||||
the window, then you are in the Tabbed Viewing Mode. You can switch
|
and Repositories) that run horizontally across the window, then you
|
||||||
from one Viewing Mode to another by selecting <menuchoice>
|
are in the Tabbed Viewing Mode. You can switch from one Viewing Mode
|
||||||
|
to another by selecting <menuchoice>
|
||||||
<guimenu>View</guimenu>
|
<guimenu>View</guimenu>
|
||||||
|
|
||||||
<guimenuitem>Sidebar</guimenuitem>
|
<guimenuitem>Sidebar</guimenuitem>
|
||||||
@ -888,9 +889,9 @@
|
|||||||
<para>Alternatively, you can enable the Filter sidebar, which will
|
<para>Alternatively, you can enable the Filter sidebar, which will
|
||||||
be displayed on the right hand side of the display. When the filter
|
be displayed on the right hand side of the display. When the filter
|
||||||
sidebar is displayed, the Search bar is not displayed. 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
|
side bar allows you to interactively build a set of filter rules
|
||||||
can be applied to the display. The filter is applied based on the
|
that can be applied to the display. The filter is applied based on
|
||||||
rules and the data, not on the screen display.</para>
|
the rules and the data, not on the screen display.</para>
|
||||||
|
|
||||||
<!-- ==== Figure: Enabled Filter ==== -->
|
<!-- ==== Figure: Enabled Filter ==== -->
|
||||||
|
|
||||||
@ -963,7 +964,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>At the top of the screen, name, ID, birth, and death
|
<para>At the top of the screen, name, ID, birth, and death
|
||||||
information of the active person is displayed. If a photo of the
|
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
|
the person's name is a symbol indicating gender, and an Edit
|
||||||
button. Clicking the <guibutton>Edit</guibutton> button will
|
button. Clicking the <guibutton>Edit</guibutton> button will
|
||||||
allow you to edit all of the person's individual information in
|
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
|
terminology is still used. In the case of male/male or
|
||||||
female/female relationships, one of the
|
female/female relationships, one of the
|
||||||
<emphasis>father</emphasis> and <emphasis>mother</emphasis>
|
<emphasis>father</emphasis> and <emphasis>mother</emphasis>
|
||||||
labels should be considered to be convience labels, and should
|
labels should be considered to be convenience labels, and
|
||||||
be considered as interchangable.</para>
|
therefore interchangable.</para>
|
||||||
</note>
|
</note>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -1101,7 +1102,7 @@
|
|||||||
<title>Pedigree View</title>
|
<title>Pedigree View</title>
|
||||||
|
|
||||||
<para>The Pedigree View displays a family tree of the Active person's
|
<para>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
|
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
|
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
|
image if available. Two lines branch from each box. The top one shows
|
||||||
@ -2895,13 +2896,15 @@
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Associations</term>
|
<term>Associations</term>
|
||||||
<listitem>
|
|
||||||
<para>The <guilabel>Associations</guilabel> tab lets you
|
<listitem>
|
||||||
view and edit information about the associations between
|
<para>The <guilabel>Associations</guilabel> tab lets you view
|
||||||
people in the database. The associations may include Godparents,
|
and edit information about the associations between people in
|
||||||
family friends, or any other types of associations you may
|
the database. The associations may include Godparents, family
|
||||||
wish to record.</para>
|
friends, or any other types of associations you may wish to
|
||||||
|
record.</para>
|
||||||
|
|
||||||
<!-- ==== Figure: Edit Person dialog - LDS ==== -->
|
<!-- ==== Figure: Edit Person dialog - LDS ==== -->
|
||||||
|
|
||||||
<figure id="edit-pers-as-fig">
|
<figure id="edit-pers-as-fig">
|
||||||
@ -2916,14 +2919,15 @@
|
|||||||
</imageobject>
|
</imageobject>
|
||||||
|
|
||||||
<textobject>
|
<textobject>
|
||||||
<phrase>Shows Associations Tab of Edit Person dialog.</phrase>
|
<phrase>Shows Associations Tab of Edit Person
|
||||||
|
dialog.</phrase>
|
||||||
</textobject>
|
</textobject>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</figure>
|
</figure>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@ -3492,23 +3496,15 @@
|
|||||||
data. If not, it has no data.</para>
|
data. If not, it has no data.</para>
|
||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
|
<para>The general information at the top of the window lets you define
|
||||||
|
basic information about the source: its <guilabel>Title</guilabel>,
|
||||||
|
<guilabel>Author</guilabel>, <guilabel>Abbreviation</guilabel>, and
|
||||||
|
<guilabel>Publication information</guilabel>. You can type this
|
||||||
|
information directly into the adjacent fields.</para>
|
||||||
|
|
||||||
<para>The tabs provide the following information categories of source
|
<para>The tabs provide the following information categories of source
|
||||||
data:</para>
|
data:</para>
|
||||||
|
|
||||||
<variablelist>
|
|
||||||
<varlistentry>
|
|
||||||
<term>General</term>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>The <guilabel>General</guilabel> tab lets you define basic
|
|
||||||
information about the source: its <guilabel>Title</guilabel>,
|
|
||||||
<guilabel>Author</guilabel>, <guilabel>Abbreviation</guilabel>,
|
|
||||||
and <guilabel>Publication information</guilabel>. You can type
|
|
||||||
this information directly into the adjacent fields.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Note</term>
|
<term>Note</term>
|
||||||
@ -3522,6 +3518,29 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>Gallery</term>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>The <guilabel>Gallery</guilabel> 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 <guibutton>+</guibutton>,
|
||||||
|
<guibutton>Select</guibutton>, <guibutton>Edit</guibutton>, and
|
||||||
|
<guibutton>-</guibutton> 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
|
||||||
|
<guibutton>Edit</guibutton> and <guibutton>-</guibutton> buttons
|
||||||
|
become available only when a media object is selected from the
|
||||||
|
list.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Data</term>
|
<term>Data</term>
|
||||||
@ -3547,23 +3566,19 @@
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Gallery</term>
|
<term>Repositories</term>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The <guilabel>Gallery</guilabel> tab lets you store and
|
<para>The <guilabel>Repositories</guilabel> tab displays the
|
||||||
display photos and other media objects associated with a given
|
references to the repositories in which the source is contained.
|
||||||
source (for example, a photo of a birth certificate). The
|
The list can be ordered by any of its column headings:
|
||||||
central part of the window lists all such media objects and
|
<guilabel>ID</guilabel>, <guilabel>Title</guilabel>,
|
||||||
gives you a thumbnail preview of image files. Other objects such
|
<guilabel>Call Number</guilabel>,and <guilabel>Type</guilabel>.
|
||||||
as audio files, movie files, etc., are represented by a generic
|
Double-clicking an entry allows you to view and edit the record.
|
||||||
GRAMPS icon. The buttons <guibutton>+</guibutton>,
|
You may also edit the reference. The buttons on the side of the
|
||||||
<guibutton>Select</guibutton>, <guibutton>Edit</guibutton>, and
|
tab allow you add a new repository, link to (or share) an
|
||||||
<guibutton>-</guibutton> let you add a new image, add a
|
existing repository, edit the reference to the repository, or
|
||||||
reference to an existing image, modify an existing image, and
|
remove the reference.</para>
|
||||||
remove a media object's link to the source. Note that the
|
|
||||||
<guibutton>Edit</guibutton> and <guibutton>-</guibutton> buttons
|
|
||||||
become available only when a media object is selected from the
|
|
||||||
list.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
@ -3639,8 +3654,8 @@
|
|||||||
</note>
|
</note>
|
||||||
|
|
||||||
<tip>
|
<tip>
|
||||||
<para>If a tab label is in boldface type, this means it contains
|
<para>If a tab label is in boldface type and displays an icon, this
|
||||||
data. If not, it has no data.</para>
|
means it contains data. If not, it has no data.</para>
|
||||||
</tip>
|
</tip>
|
||||||
|
|
||||||
<para>The tabs represent following categories of place data:</para>
|
<para>The tabs represent following categories of place data:</para>
|
||||||
|
@ -540,7 +540,9 @@ class ScratchPersonLink(ScratchPadWrapper):
|
|||||||
def tooltip(self):
|
def tooltip(self):
|
||||||
global escape
|
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 = "<big><b>%s</b></big>\n\n"\
|
s = "<big><b>%s</b></big>\n\n"\
|
||||||
"\t<b>%s:</b>\t%s\n"\
|
"\t<b>%s:</b>\t%s\n"\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user