* doc/gramps-manual/C/getstart.xml: More "open a directory" stuff.

* src/gramps.glade: Add Help button to opendb dialog.
* src/DbPrompter.py (open_help_clicked): Add function.


svn: r2446
This commit is contained in:
Alex Roitman 2003-12-06 00:14:25 +00:00
parent 4a193c49f8
commit 27edbf88a5
4 changed files with 37 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2003-12-05 Alex Roitman <shura@alex.neuro.umn.edu>
* src/po/ru.po: Update Russian translation for 0.98.
* doc/gramps-manual/C/getstart.xml: More "open a directory" stuff.
* src/gramps.glade: Add Help button to opendb dialog.
* src/DbPrompter.py (open_help_clicked): Add function.
2003-12-04 Alex Roitman <shura@alex.neuro.umn.edu>
* doc/gramps-manual/C/getstart.xml: Remove ZODB support section.

View File

@ -120,6 +120,14 @@
possible copies of media objects. This directory will be updated by &app;
each time the database is saved. </para>
<para>NOTE: when opening an existing database, you should
open a <replaceable>DIRECTORY</replaceable> and
<replaceable>NOT a FILE</replaceable>. The directory you need to open
should contain the database file <replaceable>data.gramps</replaceable>
as well as any possible copies of media objects. Such a directory is
created by &app; when you start a new database and is updated each time
the database is saved. </para>
</sect2>
<!-- ================ Getting Started Sub-subsection
@ -165,6 +173,11 @@
in the help browser. </para></listitem>
</varlistentry>
<varlistentry><term>FAQ</term>
<listitem><para> Use this item to read Frequently Asked Questions
about &app; in the browser. </para></listitem>
</varlistentry>
<varlistentry><term>GRAMPS home page</term>
<listitem><para> Select this item to open home page of &app; in your
default web browser. </para></listitem>

View File

@ -18,6 +18,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
#-------------------------------------------------------------------------
#
# GNOME modules
@ -25,6 +27,7 @@
#-------------------------------------------------------------------------
import gtk
import gtk.glade
import gnome
#-------------------------------------------------------------------------
#
@ -62,6 +65,7 @@ class DbPrompter:
opendb.signal_autoconnect({
"on_open_ok_clicked" : self.open_ok_clicked,
"on_open_help_clicked" : self.open_help_clicked,
"on_open_cancel_clicked" : self.open_cancel_clicked,
"on_opendb_delete_event": self.open_delete_event,
})
@ -78,6 +82,10 @@ class DbPrompter:
self.open_activate()
Utils.destroy_passed_object(obj)
def open_help_clicked(self,obj):
"""Display the GRAMPS manual"""
gnome.help_display('gramps-manual','choose-db-start')
def save_as_activate(self):
wFs = gtk.glade.XML (const.gladeFile, "fileselection","gramps")
wFs.signal_autoconnect({

View File

@ -6478,6 +6478,19 @@
<signal name="clicked" handler="on_open_ok_clicked" object="opendb"/>
</widget>
</child>
<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-help</property>
<property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="response_id">-11</property>
<signal name="clicked" handler="on_open_help_clicked" last_modification_time="Fri, 05 Dec 2003 20:06:22 GMT"/>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>