aboutsummaryrefslogtreecommitdiffstats
path: root/eazel-engine/capplet
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-08-08 13:49:54 +0000
committerMystery Man <unknown@mandriva.org>2001-08-08 13:49:54 +0000
commit737454689364823a975710244132715b6757e3fc (patch)
treee87598bb7622be4556d44e01da4581248b391aca /eazel-engine/capplet
parentd8476b9bb5a5949128d702fa56df755caa0180ec (diff)
downloadcommon-data-737454689364823a975710244132715b6757e3fc.tar
common-data-737454689364823a975710244132715b6757e3fc.tar.gz
common-data-737454689364823a975710244132715b6757e3fc.tar.bz2
common-data-737454689364823a975710244132715b6757e3fc.tar.xz
common-data-737454689364823a975710244132715b6757e3fc.zip
This commit was manufactured by cvs2svn to create branch 'Laurent'.
Diffstat (limited to 'eazel-engine/capplet')
-rw-r--r--eazel-engine/capplet/Makefile.am16
-rw-r--r--eazel-engine/capplet/Makefile.in369
-rw-r--r--eazel-engine/capplet/eazel-engine-capplet.c284
-rw-r--r--eazel-engine/capplet/eazel-engine-properties.desktop7
4 files changed, 0 insertions, 676 deletions
diff --git a/eazel-engine/capplet/Makefile.am b/eazel-engine/capplet/Makefile.am
deleted file mode 100644
index 89c8932..0000000
--- a/eazel-engine/capplet/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-
-INCLUDES = $(GTK_CFLAGS) $(CAPPLET_CFLAGS) -DDATADIR=\"$(datadir)/eazel-engine\"
-
-bin_PROGRAMS = eazel-engine-capplet
-
-eazel_engine_capplet_SOURCES = eazel-engine-capplet.c
-
-eazel_engine_capplet_LDADD = $(GTK_LIBS) $(CAPPLET_LIBS)
-
-EXTRA_DIST = eazel-engine-properties.desktop
-
-sysdir = $(datadir)/control-center/Desktop
-sys_DATA = eazel-engine-properties.desktop
-
-menudir = $(datadir)/gnome/apps/Settings/Desktop/
-menu_DATA = $(sys_DATA)
diff --git a/eazel-engine/capplet/Makefile.in b/eazel-engine/capplet/Makefile.in
deleted file mode 100644
index 4d8c64b..0000000
--- a/eazel-engine/capplet/Makefile.in
+++ /dev/null
@@ -1,369 +0,0 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
-
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-SHELL = @SHELL@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = ..
-
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-host_alias = @host_alias@
-host_triplet = @host@
-AS = @AS@
-CAPPLET_CFLAGS = @CAPPLET_CFLAGS@
-CAPPLET_LIBS = @CAPPLET_LIBS@
-CC = @CC@
-DLLTOOL = @DLLTOOL@
-GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
-GDK_PIXBUF_CONFIG = @GDK_PIXBUF_CONFIG@
-GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
-GNOME_CFLAGS = @GNOME_CFLAGS@
-GNOME_LIBS = @GNOME_LIBS@
-GTK_CFLAGS = @GTK_CFLAGS@
-GTK_CONFIG = @GTK_CONFIG@
-GTK_LIBS = @GTK_LIBS@
-LIBTOOL = @LIBTOOL@
-LN_S = @LN_S@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-OBJDUMP = @OBJDUMP@
-PACKAGE = @PACKAGE@
-RANLIB = @RANLIB@
-VERSION = @VERSION@
-
-INCLUDES = $(GTK_CFLAGS) $(CAPPLET_CFLAGS) -DDATADIR=\"$(datadir)/eazel-engine\"
-
-bin_PROGRAMS = eazel-engine-capplet
-
-eazel_engine_capplet_SOURCES = eazel-engine-capplet.c
-
-eazel_engine_capplet_LDADD = $(GTK_LIBS) $(CAPPLET_LIBS)
-
-EXTRA_DIST = eazel-engine-properties.desktop
-
-sysdir = $(datadir)/control-center/Desktop
-sys_DATA = eazel-engine-properties.desktop
-
-menudir = $(datadir)/gnome/apps/Settings/Desktop/
-menu_DATA = $(sys_DATA)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../config.h
-CONFIG_CLEAN_FILES =
-PROGRAMS = $(bin_PROGRAMS)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-eazel_engine_capplet_OBJECTS = eazel-engine-capplet.o
-eazel_engine_capplet_DEPENDENCIES =
-eazel_engine_capplet_LDFLAGS =
-CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DATA = $(menu_DATA) $(sys_DATA)
-
-DIST_COMMON = Makefile.am Makefile.in
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = gtar
-GZIP_ENV = --best
-SOURCES = $(eazel_engine_capplet_SOURCES)
-OBJECTS = $(eazel_engine_capplet_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .lo .o .s
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
- cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps capplet/Makefile
-
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd $(top_builddir) \
- && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-
-mostlyclean-binPROGRAMS:
-
-clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-
-distclean-binPROGRAMS:
-
-maintainer-clean-binPROGRAMS:
-
-install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(bindir)
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- if test -f $$p; then \
- echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- else :; fi; \
- done
-
-uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- list='$(bin_PROGRAMS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- done
-
-.c.o:
- $(COMPILE) -c $<
-
-.s.o:
- $(COMPILE) -c $<
-
-.S.o:
- $(COMPILE) -c $<
-
-mostlyclean-compile:
- -rm -f *.o core *.core
-
-clean-compile:
-
-distclean-compile:
- -rm -f *.tab.c
-
-maintainer-clean-compile:
-
-.c.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-.s.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-.S.lo:
- $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-
-mostlyclean-libtool:
- -rm -f *.lo
-
-clean-libtool:
- -rm -rf .libs _libs
-
-distclean-libtool:
-
-maintainer-clean-libtool:
-
-eazel-engine-capplet: $(eazel_engine_capplet_OBJECTS) $(eazel_engine_capplet_DEPENDENCIES)
- @rm -f eazel-engine-capplet
- $(LINK) $(eazel_engine_capplet_LDFLAGS) $(eazel_engine_capplet_OBJECTS) $(eazel_engine_capplet_LDADD) $(LIBS)
-
-install-menuDATA: $(menu_DATA)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(menudir)
- @list='$(menu_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(menudir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(menudir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(menudir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(menudir)/$$p; \
- fi; fi; \
- done
-
-uninstall-menuDATA:
- @$(NORMAL_UNINSTALL)
- list='$(menu_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(menudir)/$$p; \
- done
-
-install-sysDATA: $(sys_DATA)
- @$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(sysdir)
- @list='$(sys_DATA)'; for p in $$list; do \
- if test -f $(srcdir)/$$p; then \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysdir)/$$p"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysdir)/$$p; \
- else if test -f $$p; then \
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysdir)/$$p"; \
- $(INSTALL_DATA) $$p $(DESTDIR)$(sysdir)/$$p; \
- fi; fi; \
- done
-
-uninstall-sysDATA:
- @$(NORMAL_UNINSTALL)
- list='$(sys_DATA)'; for p in $$list; do \
- rm -f $(DESTDIR)$(sysdir)/$$p; \
- done
-
-tags: TAGS
-
-ID: $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- here=`pwd` && cd $(srcdir) \
- && mkid -f$$here/ID $$unique $(LISP)
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
-
-mostlyclean-tags:
-
-clean-tags:
-
-distclean-tags:
- -rm -f TAGS ID
-
-maintainer-clean-tags:
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = capplet
-
-distdir: $(DISTFILES)
- @for file in $(DISTFILES); do \
- d=$(srcdir); \
- if test -d $$d/$$file; then \
- cp -pr $$/$$file $(distdir)/$$file; \
- else \
- test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
- || cp -p $$d/$$file $(distdir)/$$file || :; \
- fi; \
- done
-
-info-am:
-info: info-am
-dvi-am:
-dvi: dvi-am
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-install-exec-am: install-binPROGRAMS
-install-exec: install-exec-am
-
-install-data-am: install-menuDATA install-sysDATA
-install-data: install-data-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am: uninstall-binPROGRAMS uninstall-menuDATA uninstall-sysDATA
-uninstall: uninstall-am
-all-am: Makefile $(PROGRAMS) $(DATA)
-all-redirect: all-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs:
- $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(menudir) \
- $(DESTDIR)$(sysdir)
-
-
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
- -rm -f config.cache config.log stamp-h stamp-h[0-9]*
-
-maintainer-clean-generic:
-mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
- mostlyclean-libtool mostlyclean-tags \
- mostlyclean-generic
-
-mostlyclean: mostlyclean-am
-
-clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
- clean-generic mostlyclean-am
-
-clean: clean-am
-
-distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
- distclean-tags distclean-generic clean-am
- -rm -f libtool
-
-distclean: distclean-am
-
-maintainer-clean-am: maintainer-clean-binPROGRAMS \
- maintainer-clean-compile maintainer-clean-libtool \
- maintainer-clean-tags maintainer-clean-generic \
- distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
-
-maintainer-clean: maintainer-clean-am
-
-.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
-mostlyclean-compile distclean-compile clean-compile \
-maintainer-clean-compile mostlyclean-libtool distclean-libtool \
-clean-libtool maintainer-clean-libtool uninstall-menuDATA \
-install-menuDATA uninstall-sysDATA install-sysDATA tags \
-mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
-distdir info-am info dvi-am dvi check check-am installcheck-am \
-installcheck install-exec-am install-exec install-data-am install-data \
-install-am install uninstall-am uninstall all-redirect all-am all \
-installdirs mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/eazel-engine/capplet/eazel-engine-capplet.c b/eazel-engine/capplet/eazel-engine-capplet.c
deleted file mode 100644
index 35f8e3a..0000000
--- a/eazel-engine/capplet/eazel-engine-capplet.c
+++ /dev/null
@@ -1,284 +0,0 @@
-/* eazel-engine-capplet.c -- control center applet
-
- Copyright (C) 2001 Eazel, Inc.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- This program 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
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- $Id: eazel-engine-capplet.c,v 1.3 2001/01/22 20:25:16 jsh Exp $
-
- Authors: John Harper <jsh@eazel.com> */
-
-/* AIX requires this to be the first thing in the file. */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-#ifndef __GNUC__
-# if HAVE_ALLOCA_H
-# include <alloca.h>
-# else
-# ifdef _AIX
- #pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
- char *alloca ();
-# endif
-# endif
-# endif
-#endif
-
-#include <gtk/gtk.h>
-#include <capplet-widget.h>
-
-#define FILENAME ".eazel-engine-color"
-
-static GdkColor original_color;
-
-static GtkWidget *color_picker;
-
-static GtkWidget *capplet;
-
-
-/* color I/O */
-
-static FILE *
-open_color_file (char *mode)
-{
- FILE *fh = 0;
-
- char *home = g_get_home_dir ();
- char buf[PATH_MAX];
-
- g_snprintf (buf, PATH_MAX, "%s/%s", home, FILENAME);
- fh = fopen (buf, mode);
-
- return fh;
-}
-
-static gboolean
-read_color (GdkColor *color)
-{
- FILE *fh = open_color_file ("r");
- gboolean ret = FALSE;
-
- if (fh != 0)
- {
- char buf[256];
-
- if (fgets (buf, sizeof (buf), fh))
- {
- int len = strlen (buf);
- if (len > 0 && buf[len-1] == '\n')
- buf[len-1] = 0;
- ret = gdk_color_parse (buf, color);
- }
- fclose (fh);
- }
-
- if (!ret)
- {
- /* Default to the Eazel Teal color */
- color->red = 0x5050;
- color->green = 0x8080;
- color->blue = 0x8383;
- }
-
- return ret;
-}
-
-static gboolean
-write_color (GdkColor *color)
-{
- FILE *fh = open_color_file ("w");
- if (fh != 0)
- {
- fprintf (fh, "#%02x%02x%02x\n", color->red >> 8,
- color->green >> 8, color->blue >> 8);
- fclose (fh);
- return TRUE;
- }
- else
- return FALSE;
-}
-
-static void
-color_changed (GnomeColorPicker *widget, gpointer data)
-{
- capplet_widget_state_changed (CAPPLET_WIDGET (capplet), TRUE);
-}
-
-static void
-signal_apply_theme (void)
-{
- static GdkAtom atom = 0;
- GdkEventClient rcevent;
-
- if (atom == 0)
- atom = gdk_atom_intern ("_GTK_READ_RCFILES", FALSE);
-
- rcevent.type = GDK_CLIENT_EVENT;
- rcevent.window = 0;
- rcevent.send_event = TRUE;
- rcevent.message_type = atom;
- rcevent.data_format = 8;
- gdk_event_send_clientmessage_toall((GdkEvent *)&rcevent);
-
- /* XXX hack hack. GTK will only reread rc files if at
- XXX least one of them has a more recent mtime */
- system ("touch $HOME/.gtkrc");
-}
-
-static void
-color_picker_set (GdkColor *color)
-{
- gnome_color_picker_set_i16 (GNOME_COLOR_PICKER (color_picker),
- color->red, color->green, color->blue, 65535);
-}
-
-static void
-color_picker_ref (GdkColor *color)
-{
- gushort alpha;
- gnome_color_picker_get_i16 (GNOME_COLOR_PICKER (color_picker),
- &color->red, &color->green,
- &color->blue, &alpha);
-}
-
-
-/* capplet button callbacks */
-
-static void
-capplet_help (void)
-{
-}
-
-static void
-capplet_apply (void)
-{
- GdkColor color;
-
- color_picker_ref (&color);
- write_color (&color);
-
- gdk_error_trap_push();
- signal_apply_theme();
- gdk_flush();
- gdk_error_trap_pop();
-}
-
-static void
-capplet_revert (void)
-{
- write_color (&original_color);
- color_picker_set (&original_color);
-
- gdk_error_trap_push();
- signal_apply_theme();
- gdk_flush();
- gdk_error_trap_pop();
-}
-
-static void
-capplet_ok (void)
-{
- capplet_apply ();
-}
-
-static void
-capplet_cancel (void)
-{
-}
-
-
-/* initialisation */
-
-static void
-setup (void)
-{
- GtkWidget *vbox, *hbox;
-
- capplet = capplet_widget_new ();
-
- gtk_signal_connect (GTK_OBJECT (capplet), "help",
- GTK_SIGNAL_FUNC (capplet_help), NULL);
- gtk_signal_connect (GTK_OBJECT (capplet), "try",
- GTK_SIGNAL_FUNC (capplet_apply), NULL);
- gtk_signal_connect (GTK_OBJECT (capplet), "revert",
- GTK_SIGNAL_FUNC (capplet_revert), NULL);
- gtk_signal_connect (GTK_OBJECT (capplet), "ok",
- GTK_SIGNAL_FUNC (capplet_ok), NULL);
- gtk_signal_connect (GTK_OBJECT (capplet), "cancel",
- GTK_SIGNAL_FUNC (capplet_cancel), NULL);
-
- color_picker = gnome_color_picker_new ();
- gnome_color_picker_set_use_alpha (GNOME_COLOR_PICKER (color_picker), FALSE);
- read_color (&original_color);
- color_picker_set (&original_color);
-
- gtk_signal_connect (GTK_OBJECT (color_picker), "color_set",
- GTK_SIGNAL_FUNC (color_changed), NULL);
-
- vbox = gtk_vbox_new (FALSE, 0);
- hbox = gtk_hbox_new (FALSE, 10);
- gtk_box_pack_start (GTK_BOX (hbox),
- gtk_label_new (_("Accent color for `Crux' theme: ")),
- FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (hbox), color_picker, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
-
- gtk_container_add (GTK_CONTAINER (capplet), vbox);
-}
-
-
-/* entry point */
-
-int
-main (int argc, char **argv)
-{
- GnomeClient *client = NULL;
- GnomeClientFlags flags;
- gchar *session_args[3];
- int token, init_results;
-
- static struct poptOption options[] = {
- { 0, 0, 0, 0, 0 }
- };
-
-#if 0
- bindtextdomain (PACKAGE, GNOMELOCALEDIR);
- textdomain (PACKAGE);
-#endif
-
- init_results = gnome_capplet_init("eazel-engine-capplet",
- "0.0", argc, argv, options, 0, NULL);
-
- if (init_results < 0)
- {
- g_warning ("an initialization error occurred while "
- "starting 'eazel-engine-capplet'.\n"
- "aborting...\n");
- exit (1);
- }
-
- client = gnome_master_client ();
- flags = gnome_client_get_flags(client);
-
- if (init_results != 1)
- {
- setup ();
- gtk_widget_show_all (capplet);
- capplet_gtk_main ();
- }
- return 0;
-}
diff --git a/eazel-engine/capplet/eazel-engine-properties.desktop b/eazel-engine/capplet/eazel-engine-properties.desktop
deleted file mode 100644
index e718695..0000000
--- a/eazel-engine/capplet/eazel-engine-properties.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=`Crux' GTK+ Theme
-Comment=Configure properties of the `Crux' GTK+ theme
-Exec=eazel-engine-capplet
-TryExec=eazel-engine-capplet
-Terminal=0
-Type=Application