Code

* [INTL: es] Spanish translation update by Lucas Vieites (closes: #180399)
[inkscape.git] / src / help.cpp
1 #define __SP_HELP_C__
3 /*
4  * Help/About window
5  *
6  * Authors:
7  *   Lauris Kaplinski <lauris@kaplinski.com>
8  *   bulia byak <buliabyak@users.sf.net>
9  *
10  * Copyright (C) 1999-2005 authors
11  * Copyright (C) 2000-2002 Ximian, Inc.
12  *
13  * Released under GNU GPL, read the file 'COPYING' for more information
14  */
16 #ifdef HAVE_CONFIG_H
17 # include "config.h"
18 #endif
19 #include "path-prefix.h"
21 #include "help.h"
22 #include "file.h"
24 #include "ui/dialog/aboutbox.h"
26 void
27 sp_help_about (void)
28 {
29     Inkscape::UI::Dialog::AboutBox::show_about();
30 }
32 void
33 sp_help_open_tutorial(GtkMenuItem *, gpointer data)
34 {
35     gchar const *name = static_cast<gchar const *>(data);
36     gchar *c = g_build_filename(INKSCAPE_TUTORIALSDIR, name, NULL);
37     sp_file_open(c, NULL, false, false);
38     g_free(c);
39 }
41 /*
42   Local Variables:
43   mode:c++
44   c-file-style:"stroustrup"
45   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46   indent-tabs-mode:nil
47   fill-column:99
48   End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :