* src/revision.glade: Add Help button.
* src/gramps_main.py (on_help_dbopen_clicked): Add function. * src/plugins/gedcomexport.glade: Add Help button. * src/plugins/WriteGedcom.py (on_help_clicked): Add function. * src/plugins/pkgexport.glade: Add Help button. * src/plugins/WritePkg.py (on_help_clicked): Add function. * src/plugins/writeftree.glade: Add Help button. * src/plugins/WriteGedcom.py (on_help_clicked): Add function. * src/plugins/cdexport.glade: Add Help button. * src/plugins/WriteCD.py (on_help_clicked): Add function. * src/Bookmarks.py (draw_window): Add Help button; (help_clicked): Add function. svn: r2418
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2000 Donald N. Allingham
|
||||
# Copyright (C) 2000-2003 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -18,6 +18,8 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
# $Id$
|
||||
|
||||
"Export to GRAMPS package"
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -36,6 +38,7 @@ from cStringIO import StringIO
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import gtk.glade
|
||||
import gnome
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@@ -78,7 +81,8 @@ class PackageWriter:
|
||||
|
||||
dic = {
|
||||
"destroy_passed_object" : Utils.destroy_passed_object,
|
||||
"on_ok_clicked" : self.on_ok_clicked
|
||||
"on_ok_clicked" : self.on_ok_clicked,
|
||||
"on_help_clicked" : self.on_help_clicked
|
||||
}
|
||||
|
||||
self.top = gtk.glade.XML(glade_file,"packageExport","gramps")
|
||||
@@ -95,6 +99,10 @@ class PackageWriter:
|
||||
Utils.destroy_passed_object(obj)
|
||||
self.export(name)
|
||||
|
||||
def on_help_clicked(self,obj):
|
||||
"""Display the relevant portion of GRAMPS manual"""
|
||||
gnome.help_display('gramps-manual','export-data')
|
||||
|
||||
def export(self, filename):
|
||||
#--------------------------------------------------------------
|
||||
def remove_clicked():
|
||||
|
Reference in New Issue
Block a user