* src/gramps_main.py (on_faq_activate): Switch Help->FAQ function

* src/gramps.glade: Remove FAQ window.
* doc/gramps-manual/C/cmdline.xml,
doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/custom.xml,
doc/gramps-manual/C/keybind.xml,
doc/gramps-manual/C/faq.xml,
doc/gramps-manual/C/legal.xml,
doc/gramps-manual/C/filtref.xml,
doc/gramps-manual/C/mainwin.xml,
doc/gramps-manual/C/getstart.xml,
doc/gramps-manual/C/usage.xml: Add copyright info to header.


svn: r2429
This commit is contained in:
Alex Roitman
2003-12-03 02:56:43 +00:00
parent 89e275878b
commit 4dc578fb36
12 changed files with 152 additions and 99 deletions

View File

@@ -842,19 +842,7 @@ class Gramps:
def on_faq_activate(self,obj):
"""Display FAQ"""
faqtop = gtk.glade.XML(const.gladeFile, "faq", "faq")
faqWindow = faqtop.get_widget("faq")
faqView = faqtop.get_widget("faq_view")
faqtop.signal_autoconnect({
"on_faq_close_clicked" : Utils.destroy_passed_object
})
# FIXME: filename is bogus, waiting for install policy decision
faq_file = open('/home/shura/gramps2/FAQ')
faq_text = faq_file.read()
faq_file.close()
faq_buffer = faqView.get_buffer()
faq_buffer.set_text(faq_text)
faqWindow.show()
gnome.help_display('gramps-manual','faq')
def on_new_clicked(self,obj):
"""Prompt for permission to close the current database"""