2 * Copyright (c) 2009 Roman Moravcik <roman.moravcik@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public License
6 * as published by the Free Software Foundation; version 2.1 of
7 * the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 #include <hildon/hildon.h>
24 #define GETTEXT_PACKAGE "ukeyboard"
25 #include <glib/gi18n-lib.h>
27 int main(int argc
, char **argv
) {
28 GtkWidget
*dialog
, *label
;
30 hildon_gtk_init (&argc
, &argv
);
32 dialog
= gtk_dialog_new_with_buttons (_("Installation of Ukeyboard finished"),
34 GTK_DIALOG_MODAL
| GTK_DIALOG_DESTROY_WITH_PARENT
,
41 label
= gtk_label_new (
42 _("Now you can change your keyboard layout settings\n"
43 "via 'Settings: Text Input'.\n"
46 "To switch input language of some hardware keyboard\n"
47 "layouts press Ctrl and Space keys simultaneously."));
49 gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog
)->vbox
), label
);
50 gtk_widget_show_all (GTK_WIDGET (dialog
));
52 gtk_dialog_run (GTK_DIALOG (dialog
));