am__DEPENDENCIES_1 =
liblivewp_home_widget_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
am_liblivewp_home_widget_la_OBJECTS = livewp-home-widget.lo \
- livewp-astro.lo livewp-rules.lo
+ livewp-astro.lo livewp-rules.lo livewp-settings.lo
liblivewp_home_widget_la_OBJECTS = \
$(am_liblivewp_home_widget_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
am__depfiles_maybe = depfiles
DEP_FILES = ./$(DEPDIR)/livewp-astro.Plo \
./$(DEPDIR)/livewp-home-widget.Plo \
- ./$(DEPDIR)/livewp-rules.Plo
+ ./$(DEPDIR)/livewp-rules.Plo \
+ ./$(DEPDIR)/livewp-settings.Plo
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
# so we can specify the non-standard installation directory.
desktoplib_LTLIBRARIES = liblivewp-home-widget.la
desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
-liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h livewp-astro.c livewp-astro.h livewp-rules.c livewp-rules.h
+liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
+ livewp-astro.c livewp-astro.h \
+ livewp-rules.c livewp-rules.h \
+ livewp-settings.c livewp-settings.h livewp-common.h
+
liblivewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS)
AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS)
all: all-am
include ./$(DEPDIR)/livewp-astro.Plo
include ./$(DEPDIR)/livewp-home-widget.Plo
include ./$(DEPDIR)/livewp-rules.Plo
+include ./$(DEPDIR)/livewp-settings.Plo
.c.o:
if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
desktoplib_LTLIBRARIES = liblivewp-home-widget.la
desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
-liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h livewp-astro.c livewp-astro.h livewp-rules.c livewp-rules.h
+liblivewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h \
+ livewp-astro.c livewp-astro.h \
+ livewp-rules.c livewp-rules.h \
+ livewp-settings.c livewp-settings.h livewp-common.h
+
liblivewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS)
AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS)
--- /dev/null
+/* vim: set sw=4 ts=4 et: */
+/*
+ * This file is part of Live Wallpaper (livewp)
+ *
+ * Copyright (C) 2010 Vlad Vasiliev
+ * Copyright (C) 2010 Tanya Makova
+ * for the code
+ *
+ * This software is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+*/
+/*******************************************************************************/
+#include <gtk/gtk.h>
+#include <hildon/hildon.h>
* 02110-1301 USA
*/
/*******************************************************************************/
-#include <gtk/gtk.h>
-#include <hildon/hildon.h>
+#include "livewp-common.h"
#include "livewp-home-widget.h"
#include <gconf/gconf-client.h>
#include "livewp-rules.h"
*/
return TRUE; /* keep running this event */
}
-void
-live_wallpaper_settings(GtkWidget *widget, gpointer user_data){
- fprintf(stderr,"test\n");
-}
+
static void
animation_wallpaper_plugin_init (AWallpaperPlugin *desktop_plugin)
{
{
gpointer data;
};
-
+void live_wallpaper_settings(GtkWidget *widget, gpointer user_data);
#endif
--- /dev/null
+/* vim: set sw=4 ts=4 et: */
+/*
+ * This file is part of Live Wallpaper (livewp)
+ *
+ * Copyright (C) 2010 Vlad Vasiliev
+ * Copyright (C) 2010 Tanya Makova
+ * for the code
+ *
+ * This software is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+*/
+/*******************************************************************************/
+#include "livewp-settings.h"
+/*******************************************************************************/
+
+void
+live_wallpaper_settings(GtkWidget *widget, gpointer user_data)
+{
+ gint result;
+ GtkWidget *window = NULL;
+ fprintf(stderr,"test\n");
+ window = gtk_dialog_new();
+// gtk_window_set_title(GTK_WINDOW(window), _("Live Wallpaper Settings"));
+ gtk_window_set_title(GTK_WINDOW(window), "Live Wallpaper Settings");
+ gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+ gtk_window_set_modal(GTK_WINDOW(window), TRUE);
+ result = gtk_dialog_run(GTK_DIALOG(window));
+ if (result == GTK_RESPONSE_YES){
+ fprintf(stderr,"Yes\n");
+ }
+}
--- /dev/null
+/* vim: set sw=4 ts=4 et: */
+/*
+ * This file is part of Live Wallpaper (livewp)
+ *
+ * Copyright (C) 2010 Vlad Vasiliev
+ * Copyright (C) 2010 Tanya Makova
+ * for the code
+ *
+ * This software is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+*/
+/*******************************************************************************/
+#include "livewp-common.h"
+void live_wallpaper_settings(GtkWidget *widget, gpointer user_data);