Autocompletion and transation bug fixes
svn: r823
This commit is contained in:
parent
61deb88430
commit
ca3dfd2198
@ -270,7 +270,8 @@ class EditPerson:
|
||||
self.ntype_field.set_popdown_strings(types)
|
||||
self.autotype = AutoComp.AutoEntry(self.ntype_field.entry,types)
|
||||
self.ntype_field.entry.set_text(_(self.pname.getType()))
|
||||
|
||||
t = self.pname.getType()
|
||||
|
||||
if person.getGender() == Person.male:
|
||||
self.is_male.set_active(1)
|
||||
elif person.getGender() == Person.female:
|
||||
@ -1372,7 +1373,7 @@ def update_ord(func,ord,date,temple,stat,place):
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
def disp_name(name):
|
||||
return [name.getName(),name.getType(),Utils.get_detail_flags(name)]
|
||||
return [name.getName(),_(name.getType()),Utils.get_detail_flags(name)]
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -99,7 +99,8 @@ class EventEditor:
|
||||
self.window.editable_enters(self.cause_field);
|
||||
self.window.editable_enters(self.descr_field);
|
||||
|
||||
AutoComp.AutoCombo(self.event_menu,list)
|
||||
AutoComp.AutoEntry(self.event_menu.entry,list)
|
||||
self.event_menu.set_popdown_strings(list)
|
||||
AutoComp.AutoEntry(self.place_field,self.pmap.keys())
|
||||
|
||||
if event != None:
|
||||
|
@ -12,7 +12,7 @@ p22_inc = @P22_INCLUDES@
|
||||
pycomp = ${srcdir}/py-compile
|
||||
CFLAGS = -fPIC -shared -O @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
||||
LDFLAGS = @LDFLAGS@ -L@libdir@ @LIBS@
|
||||
LANG = sv de fr es it
|
||||
LANG = sv de fr es it pt_BR
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
@ -108,7 +108,7 @@ class ReportPlugins:
|
||||
"destroy_passed_object" : Utils.destroy_passed_object
|
||||
})
|
||||
|
||||
tree = self.dialog.get_widget("tree1")
|
||||
tree = self.dialog.get_widget("tree")
|
||||
self.run_tool = None
|
||||
build_tree(tree,_reports,self.on_node_selected)
|
||||
|
||||
@ -136,7 +136,7 @@ class ReportPlugins:
|
||||
i,m = gtk.create_pixmap_from_xpm_d(gtk.GtkWindow(),None,xpm)
|
||||
img.set(i,m)
|
||||
|
||||
self.dialog.get_widget("report_title").set_text(title)
|
||||
self.dialog.get_widget("title").set_text(title)
|
||||
self.run_tool = obj.get_data(TASK)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -183,7 +183,7 @@ class ToolPlugins:
|
||||
title = obj.get_data(TITLE)
|
||||
|
||||
self.dialog.get_widget("description").set_text(doc)
|
||||
self.dialog.get_widget("pluginTitle").set_text(title)
|
||||
self.dialog.get_widget("title").set_text(title)
|
||||
self.run_tool = obj.get_data(TASK)
|
||||
|
||||
|
||||
|
@ -147,7 +147,7 @@
|
||||
|
||||
<widget>
|
||||
<class>GtkPixmap</class>
|
||||
<name>pixmap1</name>
|
||||
<name>image</name>
|
||||
<filename>gramps.xpm</filename>
|
||||
<xalign>0</xalign>
|
||||
<yalign>0.5</yalign>
|
||||
@ -163,7 +163,7 @@
|
||||
|
||||
<widget>
|
||||
<class>GtkLabel</class>
|
||||
<name>label60</name>
|
||||
<name>title</name>
|
||||
<label>Tool Selection</label>
|
||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||
<wrap>False</wrap>
|
||||
@ -327,7 +327,7 @@
|
||||
|
||||
<widget>
|
||||
<class>GtkTree</class>
|
||||
<name>tree1</name>
|
||||
<name>tree</name>
|
||||
<border_width>5</border_width>
|
||||
<width>250</width>
|
||||
<height>300</height>
|
||||
@ -379,7 +379,7 @@
|
||||
|
||||
<widget>
|
||||
<class>GtkLabel</class>
|
||||
<name>report_title</name>
|
||||
<name>title</name>
|
||||
<label>Report Selection</label>
|
||||
<justify>GTK_JUSTIFY_CENTER</justify>
|
||||
<wrap>False</wrap>
|
||||
|
Loading…
Reference in New Issue
Block a user