HIG improvements

svn: r1358
This commit is contained in:
Don Allingham 2003-03-19 04:27:34 +00:00
parent 686f3533d4
commit 2615f4c186
17 changed files with 1082 additions and 1277 deletions

View File

@ -988,7 +988,7 @@ def save_view(val):
set_bool("/apps/gramps/view",val) set_bool("/apps/gramps/view",val)
def get_view(): def get_view():
return get_bool("/apps/gramps/view") return get_bool("/apps/gramps/view",1)
def save_filter(val): def save_filter(val):
set_bool("/apps/gramps/filter",val) set_bool("/apps/gramps/filter",val)
@ -996,3 +996,4 @@ def save_filter(val):
def get_filter(): def get_filter():
return get_bool("/apps/gramps/filter") return get_bool("/apps/gramps/filter")

View File

@ -120,24 +120,17 @@ class WarningDialog:
self.top.destroy() self.top.destroy()
class OkDialog: class OkDialog:
def __init__(self,msg): def __init__(self,msg1,msg2=""):
title = '%s - GRAMPS' % _('Error')
self.top = gtk.Dialog() self.xml = gtk.glade.XML(const.errdialogsFile,"okdialog")
self.top.set_title(title) self.top = self.xml.get_widget('okdialog')
label = gtk.Label(msg)
label.show() label1 = self.xml.get_widget('label1')
hbox = gtk.HBox() label2 = self.xml.get_widget('label2')
image = gtk.Image() label1.set_text('<span weight="bold" size="larger">%s</span>' % msg1)
image.set_from_stock(gtk.STOCK_DIALOG_INFO,gtk.ICON_SIZE_DIALOG) label1.set_use_markup(gtk.TRUE)
hbox.set_spacing(10) label2.set_text(msg2)
hbox.pack_start(image)
hbox.add(label)
self.top.vbox.pack_start(hbox)
self.top.set_default_size(300,150)
self.top.add_button(gtk.STOCK_OK,0)
self.top.set_response_sensitive(0,gtk.TRUE)
self.top.show_all()
self.top.run() self.top.run()
self.top.destroy() self.top.destroy()

View File

@ -700,4 +700,134 @@
</child> </child>
</widget> </widget>
<widget class="GtkDialog" id="okdialog">
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="default_width">450</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="vbox4">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="hbuttonbox4">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button6">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-ok</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-5</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="table6">
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="n_rows">2</property>
<property name="n_columns">3</property>
<property name="homogeneous">False</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="label" translatable="yes">label2</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">6</property>
<property name="ypad">24</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkImage" id="image6">
<property name="visible">True</property>
<property name="stock">gtk-dialog-info</property>
<property name="icon_size">6</property>
<property name="xalign">0.5</property>
<property name="yalign">0</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">label1</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">6</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_options">expand|shrink|fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -1620,7 +1620,7 @@
<child> <child>
<widget class="GtkLabel" id="label362"> <widget class="GtkLabel" id="label362">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">&lt;b&gt;Active person's Parents&lt;/b&gt;</property> <property name="label" translatable="yes">&lt;b&gt;Active person's parents&lt;/b&gt;</property>
<property name="use_underline">False</property> <property name="use_underline">False</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="justify">GTK_JUSTIFY_LEFT</property>
@ -6161,4 +6161,25 @@
</child> </child>
</widget> </widget>
<widget class="GtkWindow" id="splash">
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<child>
<widget class="GtkImage" id="image130">
<property name="visible">True</property>
<property name="pixbuf">splash.jpg</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -26,6 +26,7 @@
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import string import string
import os import os
import sys
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -103,8 +104,6 @@ class Gramps:
def __init__(self,arg): def __init__(self,arg):
import sys
self.program = gnome.program_init("gramps",const.version) self.program = gnome.program_init("gramps",const.version)
self.DataFilter = Filter.Filter("") self.DataFilter = Filter.Filter("")

View File

@ -88,7 +88,7 @@ class ChangeTypes:
else: else:
msg = _("%d event records were modified") % modified msg = _("%d event records were modified") % modified
OkDialog(msg) OkDialog(_('Change types'),msg)
Utils.destroy_passed_object(obj) Utils.destroy_passed_object(obj)
#------------------------------------------------------------------------ #------------------------------------------------------------------------

View File

@ -144,7 +144,8 @@ class CheckIntegrity:
errors = blink + efam + photos + rel errors = blink + efam + photos + rel
if errors == 0: if errors == 0:
OkDialog(_("No errors were found")) OkDialog(_("No errors were found"),
_('The database has passed internal checks'))
return return
text = "" text = ""

View File

@ -121,7 +121,8 @@ class PatchNames:
self.top.get_widget("textwindow").get_buffer().set_text(msg) self.top.get_widget("textwindow").get_buffer().set_text(msg)
else: else:
OkDialog(_("No titles or nicknames were found")) OkDialog(_('No modifications made'),
_("No titles or nicknames were found"))
self.cb(0) self.cb(0)
def on_ok_clicked(self,obj): def on_ok_clicked(self,obj):

View File

@ -316,12 +316,17 @@ class RelCalc:
name = self.person.getPrimaryName().getRegularName() name = self.person.getPrimaryName().getRegularName()
self.glade.get_widget("name").set_text(_("Relationship to %s") % name) Utils.set_titles(self.glade.get_widget('relcalc'),
self.glade.get_widget('title'),
_('Relationshp to %s') % name,
_('Relationship calculator'))
self.people = self.glade.get_widget("peopleList") self.people = self.glade.get_widget("peopleList")
self.clist = ListModel.ListModel(self.people, [(_('Name'),3,150),(_('ID'),1,50), self.clist = ListModel.ListModel(self.people, [(_('Name'),3,150),(_('ID'),1,50),
(_('Birthday'),4,150), (_('Birth Date'),4,150),
('',-1,0),('',-1,0)]) ('',-1,0),('',-1,0)],
self.on_apply_clicked)
self.clist.new_model() self.clist.new_model()
for key in self.db.getPersonKeys(): for key in self.db.getPersonKeys():
p = self.db.getPerson(key) p = self.db.getPerson(key)

View File

@ -54,13 +54,17 @@ from gnome.ui import *
def report(database,person): def report(database,person):
base = os.path.dirname(__file__) base = os.path.dirname(__file__)
glade_file = base + os.sep + "summary.glade" glade_file = "%s/summary.glade" % base
topDialog = gtk.glade.XML(glade_file,"summary") topDialog = gtk.glade.XML(glade_file,"summary")
topDialog.signal_autoconnect({ topDialog.signal_autoconnect({
"destroy_passed_object" : Utils.destroy_passed_object, "destroy_passed_object" : Utils.destroy_passed_object,
}) })
Utils.set_titles(topDialog.get_widget('summary'),
topDialog.get_widget('title'),
_('Database summary'))
personList = database.getPersonMap().values() personList = database.getPersonMap().values()
familyList = database.getFamilyMap().values() familyList = database.getFamilyMap().values()
@ -104,22 +108,22 @@ def report(database,person):
text = _("Individuals") + "\n" text = _("Individuals") + "\n"
text = text + "----------------------------\n" text = text + "----------------------------\n"
text = text + "%s : %d\n" % (_("Number of individuals"),len(personList)) text = text + "%s: %d\n" % (_("Number of individuals"),len(personList))
text = text + "%s : %d\n" % (_("Males"),males) text = text + "%s: %d\n" % (_("Males"),males)
text = text + "%s : %d\n" % (_("Females"),females) text = text + "%s: %d\n" % (_("Females"),females)
text = text + "%s : %d\n" % (_("Individuals with incomplete names"),incomp_names) text = text + "%s: %d\n" % (_("Individuals with incomplete names"),incomp_names)
text = text + "%s : %d\n" % (_("Individuals missing birth dates"),missing_bday) text = text + "%s: %d\n" % (_("Individuals missing birth dates"),missing_bday)
text = text + "%s : %d\n" % (_("Disconnected individuals"),disconnected) text = text + "%s: %d\n" % (_("Disconnected individuals"),disconnected)
text = text + "\n%s\n" % _("Family Information") text = text + "\n%s\n" % _("Family Information")
text = text + "----------------------------\n" text = text + "----------------------------\n"
text = text + "%s : %d\n" % (_("Number of families"),len(familyList)) text = text + "%s: %d\n" % (_("Number of families"),len(familyList))
text = text + "%s : %d\n" % (_("Unique surnames"),len(namelist)) text = text + "%s: %d\n" % (_("Unique surnames"),len(namelist))
text = text + "\n%s\n" % _("Media Objects") text = text + "\n%s\n" % _("Media Objects")
text = text + "----------------------------\n" text = text + "----------------------------\n"
text = text + "%s : %d\n" % (_("Individuals with media objects"),with_photos) text = text + "%s: %d\n" % (_("Individuals with media objects"),with_photos)
text = text + "%s : %d\n" % (_("Total number of media object references"),total_photos) text = text + "%s: %d\n" % (_("Total number of media object references"),total_photos)
text = text + "%s : %d\n" % (_("Number of unique media objects"),pobjects) text = text + "%s: %d\n" % (_("Number of unique media objects"),pobjects)
text = text + "%s : %d %s\n" % (_("Total size of media objects"),bytes,\ text = text + "%s: %d %s\n" % (_("Total size of media objects"),bytes,\
_("bytes")) _("bytes"))
if len(notfound) > 0: if len(notfound) > 0:

View File

@ -69,12 +69,16 @@ def runTool(database,active_person,callback):
glade_file = base + os.sep + "verify.glade" glade_file = base + os.sep + "verify.glade"
verifySettings = gtk.glade.XML(glade_file,"verify_settings") verifySettings = gtk.glade.XML(glade_file,"verify_settings")
verifySettings.signal_autoconnect({ verifySettings.signal_autoconnect({
"destroy_passed_object" : Utils.destroy_passed_object, "destroy_passed_object" : Utils.destroy_passed_object,
"on_verify_ok_clicked" : on_apply_clicked "on_verify_ok_clicked" : on_apply_clicked
}) })
Utils.set_titles(verifySettings.get_widget('verify_settings'),
verifySettings.get_widget('title'),
_('Database Verify'))
def on_apply_clicked(obj): def on_apply_clicked(obj):
global db global db
global verifySettings global verifySettings
@ -269,6 +273,9 @@ def on_apply_clicked(obj):
text = "WARNINGS:\n"+warn text = "WARNINGS:\n"+warn
verifyResult = gtk.glade.XML(glade_file,"verify_result") verifyResult = gtk.glade.XML(glade_file,"verify_result")
Utils.set_titles(verifyResult.get_widget('verify_result'),
verifyResult.get_widget('title'),
_('Database Verify'))
verifyResult.signal_autoconnect({ verifyResult.signal_autoconnect({
"destroy_passed_object" : Utils.destroy_passed_object, "destroy_passed_object" : Utils.destroy_passed_object,

View File

@ -80,6 +80,11 @@ class PackageWriter:
} }
self.top = gtk.glade.XML(glade_file,"packageExport") self.top = gtk.glade.XML(glade_file,"packageExport")
Utils.set_titles(self.top.get_widget('packageExport'),
self.top.get_widget('title'),
_('Package export'))
self.top.signal_autoconnect(dic) self.top.signal_autoconnect(dic)
self.top.get_widget("packageExport").show() self.top.get_widget("packageExport").show()

View File

@ -5,7 +5,7 @@
<widget class="GtkWindow" id="message"> <widget class="GtkWindow" id="message">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes">Merge People - GRAMPS</property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">True</property> <property name="modal">True</property>
@ -14,6 +14,7 @@
<child> <child>
<widget class="GtkVBox" id="vbox2"> <widget class="GtkVBox" id="vbox2">
<property name="border_width">12</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
@ -21,7 +22,7 @@
<child> <child>
<widget class="GtkLabel" id="title"> <widget class="GtkLabel" id="title">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Determining Possible Merges</property> <property name="label" translatable="yes"></property>
<property name="use_underline">False</property> <property name="use_underline">False</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>
@ -33,7 +34,7 @@
<property name="ypad">0</property> <property name="ypad">0</property>
</widget> </widget>
<packing> <packing>
<property name="padding">10</property> <property name="padding">6</property>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
</packing> </packing>
@ -50,8 +51,8 @@
<property name="selectable">False</property> <property name="selectable">False</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">10</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">10</property>
</widget> </widget>
<packing> <packing>
<property name="padding">20</property> <property name="padding">20</property>
@ -66,10 +67,6 @@
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
<child>
<placeholder/>
</child>
<child> <child>
<widget class="GtkProgressBar" id="progressbar1"> <widget class="GtkProgressBar" id="progressbar1">
<property name="visible">True</property> <property name="visible">True</property>
@ -87,13 +84,9 @@
<property name="fill">True</property> <property name="fill">True</property>
</packing> </packing>
</child> </child>
<child>
<placeholder/>
</child>
</widget> </widget>
<packing> <packing>
<property name="padding">20</property> <property name="padding">0</property>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property> <property name="fill">False</property>
</packing> </packing>
@ -178,7 +171,7 @@
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">6</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>

View File

@ -1,386 +1,132 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" > <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface> <glade-interface>
<requires lib="gnome" /> <requires lib="gnome"/>
<widget class="GtkDialog" id="packageExport"> <widget class="GtkDialog" id="packageExport">
<property name="title" translatable="yes">Export GRAMPS package - GRAMPS</property> <property name="visible">True</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="title" translatable="yes"></property>
<property name="modal">yes</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="allow_shrink">no</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="allow_grow">no</property> <property name="modal">True</property>
<property name="visible">yes</property> <property name="default_width">400</property>
<property name="window-position">GTK_WIN_POS_CENTER</property> <property name="default_height">350</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
<property name="homogeneous">no</property> <property name="visible">True</property>
<property name="spacing">8</property> <property name="homogeneous">False</property>
<property name="visible">yes</property> <property name="spacing">8</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1"> <widget class="GtkHButtonBox" id="dialog-action_area1">
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="visible">True</property>
<property name="spacing">8</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="visible">yes</property>
<child> <child>
<widget class="GtkButton" id="ok"> <widget class="GtkButton" id="ok">
<property name="can_default">yes</property> <property name="visible">True</property>
<property name="can_focus">yes</property> <property name="can_default">True</property>
<property name="visible">yes</property> <property name="can_focus">True</property>
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="use_stock">yes</property> <property name="use_stock">True</property>
<property name="use_underline">yes</property> <property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_ok_clicked" object="packageExport"/>
</widget>
</child>
<signal name="clicked" handler="on_ok_clicked" object="packageExport" /> <child>
</widget> <widget class="GtkButton" id="cancel">
</child> <property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-cancel</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">0</property>
<signal name="clicked" handler="destroy_passed_object" object="packageExport"/>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child> <child>
<widget class="GtkButton" id="cancel"> <widget class="GtkVBox" id="vbox1">
<property name="can_default">yes</property> <property name="border_width">12</property>
<property name="can_focus">yes</property> <property name="visible">True</property>
<property name="visible">yes</property> <property name="homogeneous">False</property>
<property name="label">gtk-cancel</property> <property name="spacing">12</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
<signal name="clicked" handler="destroy_passed_object" object="packageExport" /> <child>
</widget> <widget class="GtkLabel" id="title">
</child> <property name="visible">True</property>
</widget> <property name="label" translatable="yes"></property>
<packing> <property name="use_underline">False</property>
<property name="padding">0</property> <property name="use_markup">False</property>
<property name="expand">no</property> <property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="fill">yes</property> <property name="wrap">False</property>
<property name="pack_type">GTK_PACK_END</property> <property name="selectable">False</property>
</packing> <property name="xalign">0.5</property>
</child> <property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">6</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GnomeFileEntry" id="fileentry1">
<property name="homogeneous">no</property> <property name="visible">True</property>
<property name="spacing">0</property> <property name="history_id">pkgExport</property>
<property name="visible">yes</property> <property name="max_saved">10</property>
<property name="browse_dialog_title" translatable="yes">Export GEDCOM</property>
<property name="directory_entry">False</property>
<property name="modal">True</property>
<child> <child internal-child="entry">
<widget class="GtkLabel" id="exportTitle"> <widget class="GtkEntry" id="filename">
<property name="label" translatable="yes">GRAMPS package export</property> <property name="visible">True</property>
<property name="justify">GTK_JUSTIFY_CENTER</property> <property name="can_focus">True</property>
<property name="wrap">no</property> <property name="editable">True</property>
<property name="xalign">0.5</property> <property name="visibility">True</property>
<property name="yalign">0.5</property> <property name="max_length">0</property>
<property name="xpad">0</property> <property name="text" translatable="yes"></property>
<property name="ypad">0</property> <property name="has_frame">True</property>
<property name="visible">yes</property> <property name="invisible_char" translatable="yes">*</property>
</widget> <property name="activates_default">False</property>
<packing> </widget>
<property name="padding">0</property> </child>
<property name="expand">no</property> </widget>
<property name="fill">no</property> <packing>
</packing> <property name="padding">0</property>
</child> <property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
<child>
<widget class="GtkHSeparator" id="hseparator1">
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">10</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GnomeFileEntry" id="fileentry1">
<property name="history_id">pkgExport</property>
<property name="modal">yes</property>
<property name="width-request">350</property>
<property name="directory_entry">no</property>
<property name="browse_dialog_title">Export GEDCOM</property>
<property name="visible">yes</property>
<child internal-child="entry">
<widget class="GtkEntry" id="filename">
<property name="can_focus">yes</property>
<property name="editable">yes</property>
<property name="text" translatable="yes"></property>
<property name="max-length">0</property>
<property name="visibility">yes</property>
<property name="visible">yes</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">5</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<widget class="GtkDialog" id="exportprogress">
<property name="title" translatable="yes">Export GRAMPS package</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
<property name="allow_grow">yes</property>
<property name="visible">yes</property>
<property name="window-position">GTK_WIN_POS_CENTER</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2">
<property name="homogeneous">no</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area2">
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">8</property>
<property name="visible">yes</property>
<child>
<widget class="GtkButton" id="close">
<property name="can_default">yes</property>
<property name="can_focus">yes</property>
<property name="visible">yes</property>
<property name="label">gtk-close</property>
<property name="use_stock">yes</property>
<property name="use_underline">yes</property>
<signal name="clicked" handler="on_close_clicked" object="exportprogress" />
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">yes</property>
<property name="pack_type">GTK_PACK_END</property>
</packing>
</child>
<child>
<widget class="GtkVBox" id="vbox4">
<property name="homogeneous">no</property>
<property name="spacing">0</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label1">
<property name="label" translatable="yes">GEDCOM Export</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">no</property>
<property name="fill">no</property>
</packing>
</child>
<child>
<widget class="GtkHSeparator" id="hseparator2">
<property name="visible">yes</property>
</widget>
<packing>
<property name="padding">5</property>
<property name="expand">no</property>
<property name="fill">yes</property>
</packing>
</child>
<child>
<widget class="GtkTable" id="table1">
<property name="homogeneous">no</property>
<property name="row_spacing">0</property>
<property name="column_spacing">0</property>
<property name="n-rows">3</property>
<property name="n-columns">2</property>
<property name="visible">yes</property>
<child>
<widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">Sources</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_padding">5</property>
<property name="y_padding">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="label" translatable="yes">Families</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_padding">5</property>
<property name="y_padding">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="label" translatable="yes">People</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
<property name="wrap">no</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="visible">yes</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_padding">5</property>
<property name="y_padding">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkProgressBar" id="pbar">
<property name="bar_style">GTK_PROGRESS_CONTINUOUS</property>
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
<property name="activity_mode">no</property>
<property name="show_text">no</property>
<property name="format" translatable="yes">%P %%</property>
<property name="text_xalign">0.5</property>
<property name="text_yalign">0.5</property>
<property name="visible">yes</property>
<property name="adjustment">0 0 100 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkProgressBar" id="fbar">
<property name="bar_style">GTK_PROGRESS_CONTINUOUS</property>
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
<property name="activity_mode">no</property>
<property name="show_text">no</property>
<property name="format" translatable="yes">%P %%</property>
<property name="text_xalign">0.5</property>
<property name="text_yalign">0.5</property>
<property name="visible">yes</property>
<property name="adjustment">0 0 100 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkProgressBar" id="sbar">
<property name="bar_style">GTK_PROGRESS_CONTINUOUS</property>
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
<property name="activity_mode">no</property>
<property name="show_text">no</property>
<property name="format" translatable="yes">%P %%</property>
<property name="text_xalign">0.5</property>
<property name="text_yalign">0.5</property>
<property name="visible">yes</property>
<property name="adjustment">0 0 100 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">yes</property>
<property name="fill">yes</property>
</packing>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -5,7 +5,7 @@
<widget class="GtkDialog" id="relcalc"> <widget class="GtkDialog" id="relcalc">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes">Relationship Calculator - GRAMPS</property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
@ -13,7 +13,7 @@
<property name="default_height">400</property> <property name="default_height">400</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2"> <widget class="GtkVBox" id="dialog-vbox2">
@ -26,19 +26,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<child>
<widget class="GtkButton" id="button4">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-apply</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">0</property>
<signal name="clicked" handler="on_apply_clicked"/>
</widget>
</child>
<child> <child>
<widget class="GtkButton" id="button5"> <widget class="GtkButton" id="button5">
<property name="visible">True</property> <property name="visible">True</property>
@ -62,14 +49,15 @@
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="vbox1">
<property name="border_width">6</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="name"> <widget class="GtkLabel" id="title">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">name</property> <property name="label" translatable="yes"></property>
<property name="use_underline">False</property> <property name="use_underline">False</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>
@ -78,7 +66,7 @@
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property> <property name="yalign">0.5</property>
<property name="xpad">0</property> <property name="xpad">0</property>
<property name="ypad">0</property> <property name="ypad">6</property>
</widget> </widget>
<packing> <packing>
<property name="padding">5</property> <property name="padding">5</property>
@ -87,29 +75,19 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkHSeparator" id="hseparator1">
<property name="visible">True</property>
</widget>
<packing>
<property name="padding">10</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child> <child>
<widget class="GtkScrolledWindow" id="scrolledwindow3"> <widget class="GtkScrolledWindow" id="scrolledwindow3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_NONE</property> <property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child> <child>
<widget class="GtkTreeView" id="peopleList"> <widget class="GtkTreeView" id="peopleList">
<property name="visible">True</property> <property name="visible">True</property>
<property name="tooltip" translatable="yes">Select a person to determine the relationship</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="headers_visible">True</property> <property name="headers_visible">True</property>
<property name="rules_hint">True</property> <property name="rules_hint">True</property>
@ -125,17 +103,6 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkHSeparator" id="hseparator2">
<property name="visible">True</property>
</widget>
<packing>
<property name="padding">5</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child> <child>
<widget class="GtkScrolledWindow" id="scrolledwindow2"> <widget class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">True</property> <property name="visible">True</property>

View File

@ -5,7 +5,7 @@
<widget class="GtkDialog" id="summary"> <widget class="GtkDialog" id="summary">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes">Database Summary - GRAMPS</property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
@ -13,7 +13,7 @@
<property name="default_height">400</property> <property name="default_height">400</property>
<property name="resizable">True</property> <property name="resizable">True</property>
<property name="destroy_with_parent">False</property> <property name="destroy_with_parent">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
@ -56,14 +56,15 @@
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="vbox1">
<property name="border_width">6</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="summaryTitle"> <widget class="GtkLabel" id="title">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Database Summary</property> <property name="label" translatable="yes"></property>
<property name="use_underline">False</property> <property name="use_underline">False</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>
@ -81,24 +82,13 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkHSeparator" id="hseparator1">
<property name="visible">True</property>
</widget>
<packing>
<property name="padding">4</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child> <child>
<widget class="GtkScrolledWindow" id="scrolledwindow1"> <widget class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_NONE</property> <property name="shadow_type">GTK_SHADOW_OUT</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child> <child>

File diff suppressed because it is too large Load Diff