From 4dc578fb367420dbc9a171befeb4c87047074168 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 3 Dec 2003 02:56:43 +0000 Subject: [PATCH] * 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 --- gramps2/ChangeLog | 13 +++ gramps2/doc/gramps-manual/C/cmdline.xml | 16 ++++ gramps2/doc/gramps-manual/C/custom.xml | 14 ++++ gramps2/doc/gramps-manual/C/faq.xml | 25 ++++-- gramps2/doc/gramps-manual/C/filtref.xml | 14 ++++ gramps2/doc/gramps-manual/C/getstart.xml | 15 ++++ gramps2/doc/gramps-manual/C/gramps-manual.xml | 16 ++++ gramps2/doc/gramps-manual/C/keybind.xml | 14 ++++ gramps2/doc/gramps-manual/C/mainwin.xml | 15 ++++ gramps2/doc/gramps-manual/C/usage.xml | 14 ++++ gramps2/src/gramps.glade | 81 ------------------- gramps2/src/gramps_main.py | 14 +--- 12 files changed, 152 insertions(+), 99 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b36238b9e..98fe57e27 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,5 +1,18 @@ 2003-12-02 Alex Roitman * src/gramps.desktop: Add russian strings. Set encoding line to UTF-8. + * src/gramps_main.py (on_faq_activate): Switch Help->FAQ function + to displaying the manual's appendix in yelp. + * 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. 2003-12-02 Tim Waugh * gramps.spec.in: Add more docs. diff --git a/gramps2/doc/gramps-manual/C/cmdline.xml b/gramps2/doc/gramps-manual/C/cmdline.xml index 3e581b93e..7ae0c00d5 100644 --- a/gramps2/doc/gramps-manual/C/cmdline.xml +++ b/gramps2/doc/gramps-manual/C/cmdline.xml @@ -1,4 +1,20 @@ + + + + Command line reference diff --git a/gramps2/doc/gramps-manual/C/custom.xml b/gramps2/doc/gramps-manual/C/custom.xml index 896b1be2d..d0510ffd2 100644 --- a/gramps2/doc/gramps-manual/C/custom.xml +++ b/gramps2/doc/gramps-manual/C/custom.xml @@ -1,5 +1,19 @@ + + diff --git a/gramps2/doc/gramps-manual/C/faq.xml b/gramps2/doc/gramps-manual/C/faq.xml index af1e6a6d8..37853cc96 100644 --- a/gramps2/doc/gramps-manual/C/faq.xml +++ b/gramps2/doc/gramps-manual/C/faq.xml @@ -1,4 +1,17 @@ + @@ -250,22 +263,24 @@ bug from gramps main menu). -1. Version of gramps you were using when you encountered the bug +Version of gramps you were using when you encountered the bug (available through Help About menu item). -2. Language under which gramps was run -(available by executing echo $LANG in your terminal). +Language under which gramps was run +(available by executing + echo $LANG +in your terminal). -3. Symptoms indicating that this is indeed a bug. +Symptoms indicating that this is indeed a bug. -4. Any Traceback messages, error messages, warnings, etc, +Any Traceback messages, error messages, warnings, etc, that showed up in your terminal or a in separate traceback window. diff --git a/gramps2/doc/gramps-manual/C/filtref.xml b/gramps2/doc/gramps-manual/C/filtref.xml index 0581d9d6b..a4f91847e 100644 --- a/gramps2/doc/gramps-manual/C/filtref.xml +++ b/gramps2/doc/gramps-manual/C/filtref.xml @@ -1,5 +1,19 @@ + + diff --git a/gramps2/doc/gramps-manual/C/getstart.xml b/gramps2/doc/gramps-manual/C/getstart.xml index df6672df0..d204d8403 100644 --- a/gramps2/doc/gramps-manual/C/getstart.xml +++ b/gramps2/doc/gramps-manual/C/getstart.xml @@ -1,4 +1,19 @@ + + + diff --git a/gramps2/doc/gramps-manual/C/gramps-manual.xml b/gramps2/doc/gramps-manual/C/gramps-manual.xml index 944d54824..fb7a34d95 100644 --- a/gramps2/doc/gramps-manual/C/gramps-manual.xml +++ b/gramps2/doc/gramps-manual/C/gramps-manual.xml @@ -1,5 +1,21 @@ + + + + diff --git a/gramps2/doc/gramps-manual/C/keybind.xml b/gramps2/doc/gramps-manual/C/keybind.xml index 864ca0fe7..9fc28a059 100644 --- a/gramps2/doc/gramps-manual/C/keybind.xml +++ b/gramps2/doc/gramps-manual/C/keybind.xml @@ -1,5 +1,19 @@ + + diff --git a/gramps2/doc/gramps-manual/C/mainwin.xml b/gramps2/doc/gramps-manual/C/mainwin.xml index baf5b2f2d..272d50cf4 100644 --- a/gramps2/doc/gramps-manual/C/mainwin.xml +++ b/gramps2/doc/gramps-manual/C/mainwin.xml @@ -1,4 +1,19 @@ + + + diff --git a/gramps2/doc/gramps-manual/C/usage.xml b/gramps2/doc/gramps-manual/C/usage.xml index 86736932a..5d487187d 100644 --- a/gramps2/doc/gramps-manual/C/usage.xml +++ b/gramps2/doc/gramps-manual/C/usage.xml @@ -1,5 +1,19 @@ + + diff --git a/gramps2/src/gramps.glade b/gramps2/src/gramps.glade index 7156583f6..b196e42d2 100644 --- a/gramps2/src/gramps.glade +++ b/gramps2/src/gramps.glade @@ -8005,85 +8005,4 @@ - - 650 - 400 - True - FAQ - GRAMPS - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_NONE - False - True - False - gramps.xpm - - - - True - False - 0 - - - - 6 - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - False - GTK_JUSTIFY_LEFT - GTK_WRAP_NONE - True - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - 0 - True - True - - - - - - True - GTK_BUTTONBOX_END - 0 - - - - True - True - True - gtk-close - True - GTK_RELIEF_NORMAL - - - - - - 0 - False - True - - - - - - diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 5ef09cb30..1317aa3be 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -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"""