* 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 76f6294dfc
commit af43a774a8
12 changed files with 152 additions and 99 deletions

View File

@ -1,5 +1,18 @@
2003-12-02 Alex Roitman <shura@alex.neuro.umn.edu>
* 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 <twaugh@redhat.com>
* gramps.spec.in: Add more docs.

View File

@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- =============== Appendices Subsection ================ -->
<sect2 id="append-cmdline">
<title>Command line reference</title>

View File

@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- ================ Customization ================================ -->

View File

@ -1,4 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
@ -250,22 +263,24 @@ bug</guimenuitem></menuchoice> from gramps main menu). </para>
<itemizedlist>
<listitem><para>
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 <menuchoice><guisubmenu>Help</guisubmenu>
<guimenuitem>About</guimenuitem></menuchoice> menu item).
</para></listitem>
<listitem><para>
2. Language under which gramps was run
(available by executing <command>echo $LANG</command> in your terminal).
Language under which gramps was run
(available by executing </para>
<para><command>echo $LANG</command></para>
<para>in your terminal).
</para></listitem>
<listitem><para>
3. Symptoms indicating that this is indeed a bug.
Symptoms indicating that this is indeed a bug.
</para></listitem>
<listitem><para>
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.
</para></listitem>

View File

@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- =============== Appendices Subsection ================ -->

View File

@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- =========== Getting Started ============================== -->
<sect1 id="gramps-getting-started">

View File

@ -1,5 +1,21 @@
<?xml version="1.0"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">

View File

@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- =============== Appendices Subsection ================ -->

View File

@ -1,4 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- ================ Main Window ================================ -->

View File

@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
User Manual for Gramps - a GTK+/GNOME based genealogy program
Copyright (C) 2003 Alexander Roitman
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING-DOCS
distributed with this manual.
-->
<!-- $Id$ -->
<!-- ================ Usage ================================ -->

View File

@ -8005,85 +8005,4 @@
</child>
</widget>
<widget class="GtkWindow" id="faq">
<property name="width_request">650</property>
<property name="height_request">400</property>
<property name="visible">True</property>
<property name="title" translatable="yes">FAQ - GRAMPS</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>
<property name="icon">gramps.xpm</property>
<child>
<widget class="GtkVBox" id="vbox78">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow77">
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkTextView" id="faq_view">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">False</property>
<property name="justification">GTK_JUSTIFY_LEFT</property>
<property name="wrap_mode">GTK_WRAP_NONE</property>
<property name="cursor_visible">True</property>
<property name="pixels_above_lines">0</property>
<property name="pixels_below_lines">0</property>
<property name="pixels_inside_wrap">0</property>
<property name="left_margin">0</property>
<property name="right_margin">0</property>
<property name="indent">0</property>
<property name="text" translatable="yes"></property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkHButtonBox" id="hbuttonbox33">
<property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="spacing">0</property>
<child>
<widget class="GtkButton" id="button168">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-close</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<signal name="clicked" handler="on_faq_close_clicked" object="faq" last_modification_time="Wed, 26 Nov 2003 18:10:30 GMT"/>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface>

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"""