* 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:
Alex Roitman
2003-12-02 02:35:49 +00:00
parent 088e3ccd2d
commit dcf4bb8d31
11 changed files with 141 additions and 27 deletions

View File

@@ -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():