aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/Makefile.am5
-rw-r--r--calendar/gui/calendar-conduit-control-applet.c2
-rw-r--r--calendar/gui/calendar-conduit.h8
-rw-r--r--calendar/gui/todo-conduit-control-applet.c2
-rw-r--r--calendar/gui/todo-conduit-control-applet.desktop6
5 files changed, 16 insertions, 7 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index ed17a8aa6c..90aa6c628b 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -9,9 +9,10 @@ gnorba_DATA = gnomecal.gnorba
help_base = $(datadir)/gnome/help/cal
if HAVE_GNOME_PILOT
-EXTRA_PROGRAMS = todo-conduit-control-applet calendar-conduit-control-applet
-endif
+bin_PROGRAMS = gnomecal todo-conduit-control-applet calendar-conduit-control-applet
+else
bin_PROGRAMS = gnomecal
+endif
INCLUDES = \
-I$(includedir) \
diff --git a/calendar/gui/calendar-conduit-control-applet.c b/calendar/gui/calendar-conduit-control-applet.c
index f8e234ac13..44ca3d7898 100644
--- a/calendar/gui/calendar-conduit-control-applet.c
+++ b/calendar/gui/calendar-conduit-control-applet.c
@@ -47,7 +47,7 @@ doTrySettings(GtkWidget *widget, ConduitCfg *conduitCfg)
{
readStateCfg(cfgStateWindow);
if(activated)
- gpilotd_conduit_mgmt_enable(conduit,pilotId);
+ gpilotd_conduit_mgmt_enable(conduit,pilotId,GnomePilotConduitSyncTypeSynchronize);
else
gpilotd_conduit_mgmt_disable(conduit,pilotId);
}
diff --git a/calendar/gui/calendar-conduit.h b/calendar/gui/calendar-conduit.h
index c34457acc5..86b38cc802 100644
--- a/calendar/gui/calendar-conduit.h
+++ b/calendar/gui/calendar-conduit.h
@@ -9,6 +9,14 @@
#include <pi-datebook.h>
#include <gnome.h>
+#include "GnomeCal.h"
+#include "calobj.h"
+#include "calendar.h"
+#include "timeutil.h"
+
+#include <gpilotd/gnome-pilot-conduit.h>
+#include <gpilotd/gnome-pilot-conduit-standard-abs.h>
+
#define CALLOCALRECORD(s) ((CalLocalRecord*)(s))
typedef struct _CalLocalRecord CalLocalRecord;
diff --git a/calendar/gui/todo-conduit-control-applet.c b/calendar/gui/todo-conduit-control-applet.c
index def35ca376..06f068b787 100644
--- a/calendar/gui/todo-conduit-control-applet.c
+++ b/calendar/gui/todo-conduit-control-applet.c
@@ -46,7 +46,7 @@ doTrySettings(GtkWidget *widget, ConduitCfg *conduitCfg)
{
readStateCfg(cfgStateWindow);
if(activated)
- gpilotd_conduit_mgmt_enable(conduit,pilotId);
+ gpilotd_conduit_mgmt_enable(conduit,pilotId,GnomePilotConduitSyncTypeSynchronize);
else
gpilotd_conduit_mgmt_disable(conduit,pilotId);
}
diff --git a/calendar/gui/todo-conduit-control-applet.desktop b/calendar/gui/todo-conduit-control-applet.desktop
index 869bba1476..87788bde08 100644
--- a/calendar/gui/todo-conduit-control-applet.desktop
+++ b/calendar/gui/todo-conduit-control-applet.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
-Name=Calendar conduit
-Comment=Configure the calendar conduit
-Exec=calendar-conduit-control-applet --cap-id=1
+Name=Todo conduit
+Comment=Configure the todo conduit
+Exec=todo-conduit-control-applet --cap-id=1
Terminal=0
Type=Application