* src/Plugins.py: Fix label for the tools dialog.

* src/gramps.glade: Add accelerators to filter controls.
* src/places.glade: Fix accelerator in Edit Plase dialog.
* src/gramps_main.py: Typo.
* src/PlaceView.py: Likewise.
* src/GenericFilter.py: Likewise.

* src/gramps_main.py: fixed delete person problem.


svn: r2187
This commit is contained in:
Alex Roitman 2003-09-30 04:19:35 +00:00
parent 5a46237416
commit a59ec071e8
8 changed files with 25 additions and 13 deletions

View File

@ -1,9 +1,15 @@
2003-09-29 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py: fixed delete person problem.
2003-09-29 Alex Roitman <shura@alex.neuro.umn.edu> 2003-09-29 Alex Roitman <shura@alex.neuro.umn.edu>
* TODO: Update the list with the postponed todo items. * TODO: Update the list with the postponed todo items.
* configure.in: Increment release number. * configure.in: Increment release number.
* src/Plugins.py: Fix label for the tools dialog.
* src/gramps.glade: Add accelerators to filter controls.
* src/places.glade: Fix accelerator in Edit Plase dialog.
* src/gramps_main.py: Typo.
* src/PlaceView.py: Likewise.
* src/GenericFilter.py: Likewise.
2003-09-29 Don Allingham <dallingham@users.sourceforge.net>
* src/gramps_main.py: fixed delete person problem.
2003-09-28 Don Allingham <dallingham@users.sourceforge.net> 2003-09-28 Don Allingham <dallingham@users.sourceforge.net>
* Version 0.9.4: the "This used to bug me..." release. * Version 0.9.4: the "This used to bug me..." release.

1
TODO
View File

@ -29,4 +29,5 @@
* Replace ListModel with the TreeModel * Replace ListModel with the TreeModel
* Work out BookReport dialog so that resize is not necessary * Work out BookReport dialog so that resize is not necessary
* Work out name capitalization options * Work out name capitalization options
* Make Date parsing locale dependent, like relationship calculator
* And a whole lot more.... * And a whole lot more....

View File

@ -519,7 +519,7 @@ class IsAncestorOfFilterMatch(IsAncestorOf):
def description(self): def description(self):
return _("Matches people that are ancestors " return _("Matches people that are ancestors "
"of of someone matched by a filter") "of someone matched by a filter")
def category(self): def category(self):
return _("Ancestral filters") return _("Ancestral filters")

View File

@ -149,7 +149,7 @@ class PlaceView:
msg = _("Cannot merge places.") msg = _("Cannot merge places.")
msg2 = _("Exactly two places must be selected to perform a merge. " msg2 = _("Exactly two places must be selected to perform a merge. "
"A second place can be selected by holding down the " "A second place can be selected by holding down the "
"control key while clicking on a the desired place.") "control key while clicking on the desired place.")
ErrorDialog(msg,msg2) ErrorDialog(msg,msg2)
else: else:
import MergeData import MergeData

View File

@ -116,7 +116,7 @@ class PluginDialog:
"""Displays the dialog box that allows the user to select the """Displays the dialog box that allows the user to select the
report that is desired.""" report that is desired."""
def __init__(self,db,active,list,msg): def __init__(self,db,active,list,msg,label=None):
"""Display the dialog box, and build up the list of available """Display the dialog box, and build up the list of available
reports. This is used to build the selection tree on the left reports. This is used to build the selection tree on the left
hand side of the dailog box.""" hand side of the dailog box."""
@ -148,6 +148,8 @@ class PluginDialog:
self.img = self.dialog.get_widget("image") self.img = self.dialog.get_widget("image")
self.description = self.dialog.get_widget("description") self.description = self.dialog.get_widget("description")
if label:
self.description.set_text(label)
self.status = self.dialog.get_widget("report_status") self.status = self.dialog.get_widget("report_status")
Utils.set_title_label(self.dialog,msg) Utils.set_title_label(self.dialog,msg)
@ -275,7 +277,8 @@ class ToolPlugins(PluginDialog):
reports. This is used to build the selection tree on the left reports. This is used to build the selection tree on the left
hand side of the dailog box.""" hand side of the dailog box."""
PluginDialog.__init__(self,db,active,_tools,_("Tool Selection")) PluginDialog.__init__(self,db,active,_tools,_("Tool Selection"),
_("Select a tool from those available on the left."))
self.update = update self.update = update
#------------------------------------------------------------------------- #-------------------------------------------------------------------------

View File

@ -1199,8 +1199,8 @@
<child> <child>
<widget class="GtkLabel" id="label184"> <widget class="GtkLabel" id="label184">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Filter:</property> <property name="label" translatable="yes">Fi_lter:</property>
<property name="use_underline">False</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">False</property> <property name="wrap">False</property>
@ -1209,6 +1209,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">5</property> <property name="xpad">5</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">filter_list</property>
</widget> </widget>
<packing> <packing>
<property name="padding">4</property> <property name="padding">4</property>
@ -1253,7 +1254,7 @@
<child> <child>
<widget class="GtkLabel" id="qual"> <widget class="GtkLabel" id="qual">
<property name="label" translatable="yes">Qualifier:</property> <property name="label" translatable="yes">Qualifier:</property>
<property name="use_underline">False</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">False</property> <property name="wrap">False</property>
@ -1262,6 +1263,7 @@
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">5</property> <property name="xpad">5</property>
<property name="ypad">0</property> <property name="ypad">0</property>
<property name="mnemonic_widget">filter</property>
</widget> </widget>
<packing> <packing>
<property name="padding">3</property> <property name="padding">3</property>
@ -1307,7 +1309,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">Show people that do not match the filtering rule</property> <property name="tooltip" translatable="yes">Show people that do not match the filtering rule</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="label" translatable="yes">Invert</property> <property name="label" translatable="yes">_Invert</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="active">False</property> <property name="active">False</property>

View File

@ -736,7 +736,7 @@ class Gramps:
msg = _("Cannot merge people.") msg = _("Cannot merge people.")
msg2 = _("Exactly two people must be selected to perform a merge. " msg2 = _("Exactly two people must be selected to perform a merge. "
"A second person can be selected by holding down the " "A second person can be selected by holding down the "
"control key while clicking on a the desired person.") "control key while clicking on the desired person.")
ErrorDialog(msg,msg2) ErrorDialog(msg,msg2)
else: else:
import MergeData import MergeData

View File

@ -143,7 +143,7 @@
<child> <child>
<widget class="GtkLabel" id="label245"> <widget class="GtkLabel" id="label245">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">_City:</property> <property name="label" translatable="yes">C_ity:</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="use_markup">False</property> <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="justify">GTK_JUSTIFY_CENTER</property>