2
* Copyright © 2010 Filippo Argiolas <filippo.argiolas@gmail.com>
3
* Copyright © 2007,2008 daniel g. siegel <dgsiegel@gnome.org>
4
* Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
6
* Licensed under the GNU General Public License Version 2
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
#include "cheese-commands.h"
25
cheese_cmd_help_contents (GtkAction *action, CheeseWindow *cheese_window)
30
screen = gtk_widget_get_screen (GTK_WIDGET (cheese_window));
31
gtk_show_uri (screen, "ghelp:cheese", gtk_get_current_event_time (), &error);
36
d = gtk_message_dialog_new (GTK_WINDOW (cheese_window),
37
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
38
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
39
_("Unable to open help file for Cheese"));
40
gtk_dialog_run (GTK_DIALOG (d));
41
gtk_widget_destroy (d);
47
cheese_cmd_about (GtkAction *action, CheeseWindow *cheese_window)
49
static const char *authors[] = {
50
"daniel g. siegel <dgsiegel@gnome.org>",
51
"Jaap A. Haitsma <jaap@haitsma.org>",
52
"Filippo Argiolas <fargiolas@gnome.org>",
54
"Aidan Delaney <a.j.delaney@brighton.ac.uk>",
55
"Alex \"weej\" Jones <alex@weej.com>",
56
"Andrea Cimitan <andrea.cimitan@gmail.com>",
57
"Baptiste Mille-Mathias <bmm80@free.fr>",
58
"Cosimo Cecchi <anarki@lilik.it>",
59
"Diego Escalante Urrelo <dieguito@gmail.com>",
60
"Felix Kaser <f.kaser@gmx.net>",
61
"Gintautas Miliauskas <gintas@akl.lt>",
62
"Hans de Goede <jwrdegoede@fedoraproject.org>",
63
"James Liggett <jrliggett@cox.net>",
64
"Luca Ferretti <elle.uca@libero.it>",
65
"Mirco \"MacSlow\" Müller <macslow@bangang.de>",
66
"Patryk Zawadzki <patrys@pld-linux.org>",
67
"Ryan Zeigler <zeiglerr@gmail.com>",
68
"Sebastian Keller <sebastian-keller@gmx.de>",
69
"Steve Magoun <steve.magoun@canonical.com>",
70
"Thomas Perl <thp@thpinfo.com>",
71
"Tim Philipp Müller <tim@centricular.net>",
72
"Todd Eisenberger <teisenberger@gmail.com>",
73
"Tommi Vainikainen <thv@iki.fi>",
77
static const char *artists[] = {
78
"Andreas Nilsson <andreas@andreasn.se>",
79
"Josef Vybíral <josef.vybiral@gmail.com>",
80
"Kalle Persson <kalle@kallepersson.se>",
81
"Lapo Calamandrei <calamandrei@gmail.com>",
82
"Or Dvory <gnudles@nana.co.il>",
83
"Ulisse Perusin <ulisail@yahoo.it>",
87
static const char *documenters[] = {
88
"Joshua Henderson <joshhendo@gmail.com>",
89
"Jaap A. Haitsma <jaap@haitsma.org>",
90
"Felix Kaser <f.kaser@gmx.net>",
94
const char *translators;
96
translators = _("translator-credits");
98
const char *license[] = {
99
N_("This program is free software; you can redistribute it and/or modify "
100
"it under the terms of the GNU General Public License as published by "
101
"the Free Software Foundation; either version 2 of the License, or "
102
"(at your option) any later version.\n"),
103
N_("This program is distributed in the hope that it will be useful, "
104
"but WITHOUT ANY WARRANTY; without even the implied warranty of "
105
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
106
"GNU General Public License for more details.\n"),
107
N_("You should have received a copy of the GNU General Public License "
108
"along with this program. If not, see <http://www.gnu.org/licenses/>.")
113
license_trans = g_strconcat (_(license[0]), "\n", _(license[1]), "\n", _(license[2]), "\n", NULL);
115
gtk_show_about_dialog (GTK_WINDOW (cheese_window),
117
"copyright", "Copyright \xc2\xa9 2007 - 2009\n daniel g. siegel <dgsiegel@gnome.org>",
118
"comments", _("Take photos and videos with your webcam, with fun graphical effects"),
120
"translator-credits", translators,
122
"documenters", documenters,
123
"website", "http://projects.gnome.org/cheese",
124
"website-label", _("Cheese Website"),
125
"logo-icon-name", "cheese",
126
"wrap-license", TRUE,
127
"license", license_trans,
130
g_free (license_trans);