1 /* vim: set sw=4 ts=4 et: */
3 * This file is part of Live Wallpaper (livewp)
5 * Copyright (C) 2010 Vlad Vasiliev
6 * Copyright (C) 2010 Tanya Makova
9 * This software is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * as published by the Free Software Foundation; either version 2.1 of
12 * the License, or (at your option) any later version.
14 * This software is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this software; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24 /*******************************************************************************/
25 #include "livewp-settings.h"
26 /*******************************************************************************/
29 live_wallpaper_settings(GtkWidget *widget, gpointer user_data)
32 GtkWidget *window = NULL,
36 window = gtk_dialog_new();
37 gtk_window_set_title(GTK_WINDOW(window), _("Live Wallpaper Settings"));
38 gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
39 gtk_window_set_modal(GTK_WINDOW(window), TRUE);
40 vbox = gtk_vbox_new (FALSE, 5);
41 label_about = gtk_label_new (_("Live Wallpaper\n Version 0.1 \n Copyright(c) 2010\n Tany Makova\n Vlad Vasiliev"));
42 gtk_box_pack_start (GTK_BOX (vbox), label_about, FALSE, FALSE, 0);
43 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),
45 gtk_widget_show (label_about);
46 gtk_widget_show (vbox);
47 gtk_widget_show (window);
48 result = gtk_dialog_run(GTK_DIALOG(window));
50 if (result == GTK_RESPONSE_YES){
51 fprintf(stderr,"Yes\n");