Added gettext support to ukeyboard
[ukeyboard.git] / cpanel / about.c
blobc3c9e9e276b5f55a098617c3517b4cd61774ada1
1 /*
2 * Copyright (c) 2008 Jiri Benc <jbenc@upir.cz>
3 * Copyright (c) 2009 Roman Moravcik <roman.moravcik@gmail.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 #include <stdio.h>
20 #include <string.h>
21 #include <glib.h>
22 #include <gtk/gtk.h>
23 #include <hildon/hildon.h>
24 #include <libosso.h>
25 #include <gconf/gconf.h>
26 #include <gconf/gconf-client.h>
27 #include "prefs.h"
28 #include "hw.h"
30 static GtkWidget *start(GConfClient *client, GtkWidget *win, void **data)
32 GtkWidget *scroll;
33 GtkWidget *label;
35 (void)client; (void)win;
37 scroll = hildon_pannable_area_new();
39 label = gtk_label_new(NULL);
40 gtk_label_set_markup(GTK_LABEL(label),
41 #include "about.inc"
43 hildon_pannable_area_add_with_viewport (HILDON_PANNABLE_AREA(scroll), label);
44 *data = NULL;
45 return GTK_WIDGET(scroll);
48 void prefs_about_init(struct prefs *prefs)
50 prefs->start = start;
51 prefs->action = NULL;
52 prefs->stop = NULL;
53 prefs->name = "About";