diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-09 00:43:45 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-09 00:43:45 +0800 |
commit | 7c349155a53ccc3691037d02305c2cf594f2c15e (patch) | |
tree | 15cb46d8dd810c6b33176fc422d9c14d2ca19da8 /calendar/conduits/todo | |
parent | 6ba376b06abad232ee033a716f45d84bcba4960e (diff) | |
download | gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar.gz gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar.bz2 gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar.lz gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar.xz gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.tar.zst gsoc2013-evolution-7c349155a53ccc3691037d02305c2cf594f2c15e.zip |
Tidy
2000-09-08 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/Makefile.am: Tidy
* conduits/todo/Makefile.am: Tidy
svn path=/trunk/; revision=5263
Diffstat (limited to 'calendar/conduits/todo')
-rw-r--r-- | calendar/conduits/todo/Makefile.am | 27 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit-control-applet.c | 15 |
2 files changed, 22 insertions, 20 deletions
diff --git a/calendar/conduits/todo/Makefile.am b/calendar/conduits/todo/Makefile.am index 1c74cea2dc..0dbc404d8e 100644 --- a/calendar/conduits/todo/Makefile.am +++ b/calendar/conduits/todo/Makefile.am @@ -1,7 +1,3 @@ -# -# -# - INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/calendar \ @@ -10,8 +6,6 @@ INCLUDES = \ $(BONOBO_GNOME_CFLAGS) \ $(GNOME_PILOT_CFLAGS) -file_conduitsdir=$(libdir)/gnome-pilot/conduits - bin_PROGRAMS = todo-conduit-control-applet todo_conduit_control_applet_SOURCES = todo-conduit-control-applet.c @@ -19,21 +13,15 @@ todo_conduit_control_applet_SOURCES = todo-conduit-control-applet.c todo_conduit_control_applet_LDADD = \ $(CAPPLET_LIBS) \ $(GNOME_LIBDIR) \ - -lgpilotdcm \ - -lgpilotd \ - -lgpilotdconduit \ + $(GNOME_PILOT_LIBS) \ + $(PISOCK_LIBDIR) $(PISOCK_LIBS) \ $(GNOME_CAPPLET_LIBS) \ $(BONOBO_VFS_GNOME_LIBS) \ $(GNOME_XML_LIB) \ $(GNOMEUI_LIBS) \ - $(PISOCK_LIBDIR) $(PISOCK_LIBS) \ $(INTLLIBS) -# $(top_builddir)/libgpilotdCM/libgpilotdcm.la \ -# $(top_builddir)/gpilotd/libgpilotd.la \ -# $(top_builddir)/gpilotd/libgpilotdconduit.la \ - # todo_conduit todo_conduitsdir=$(libdir)/gnome-pilot/conduits @@ -83,3 +71,14 @@ EXTRA_DIST = \ install-data-local: $(mkinstalldirs) $(ccenterConduitsdir) $(mkinstalldirs) $(Conduitdir) + + + + + + + + + + + diff --git a/calendar/conduits/todo/todo-conduit-control-applet.c b/calendar/conduits/todo/todo-conduit-control-applet.c index 188aadc16e..7d0b159d70 100644 --- a/calendar/conduits/todo/todo-conduit-control-applet.c +++ b/calendar/conduits/todo/todo-conduit-control-applet.c @@ -351,14 +351,17 @@ main (int argc, char *argv[]) G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING); - /* we're a capplet */ - gnome_capplet_init ("todo conduit control applet", NULL, argc, argv, + /* Init capplet */ + gnome_capplet_init ("Evolution ToDo conduit control applet", + NULL, argc, argv, NULL, 0, NULL); - gpc = gnome_pilot_client_new(); - gnome_pilot_client_connect_to_daemon(gpc); - pilotId = get_pilot_id_from_gpilotd(); - if(!pilotId) return -1; + /* Setup Client */ + gpc = gnome_pilot_client_new (); + gnome_pilot_client_connect_to_daemon (gpc); + pilotId = get_pilot_id_from_gpilotd (); + if (!pilotId) + return -1; /* put all code to set things up in here */ gcalconduit_load_configuration (&origState, pilotId); |