Commit Graph

381 Commits

Author SHA1 Message Date
Federico Mena Quintero da08b761fb At this point the calendar client and personal calendar server files were
2000-03-02  Federico Mena Quintero  <federico@helixcode.com>

	At this point the calendar client and personal calendar server
	files were moved to the idl/, cal-client/, and pcs/ directories.

	* idl/Makefile.am: New file.

	* cal-client/Makefile.am: New file.  Moved the libcal-client stuff
	from calendar/Makefile.am to here.

	* pcs/Makefile.am: New file.  Moved the tlacuache stuff from
	calendar/Makefile.am to here.

	* Makefile.am (SUBDIRS): Added the idl and cal-client directories.

	* calendar.h: Removed the references to cal-backend.h and its
	stuff.  This file is going away soon!

	* icalendar.c: #include <config.h>.  Also, we don't need to
	include cal-backend.h or gnome.h.

	* icalendar.h: Protect from multiple inclusions.

svn path=/trunk/; revision=2011
2000-03-02 06:52:53 +00:00
Federico Mena Quintero 5f3b7f20ce More reorganization - Federico
svn path=/trunk/; revision=2009
2000-03-02 00:45:51 +00:00
Federico Mena Quintero e5f5fa0956 Moved to the pcs/ directory - Federico
svn path=/trunk/; revision=2005
2000-03-01 23:45:03 +00:00
Federico Mena Quintero 3f2e2c0627 At this point the calendar client and personal calendar server files were
2000-03-01  Federico Mena Quintero  <federico@helixcode.com>

	At this point the calendar client and personal calendar server
	files were moved to the idl/, cal-client/, and pcs/ directories.

	* idl/Makefile.am: New file.

	* cal-client/Makefile.am: New file.  Moved the libcal-client stuff
	from calendar/Makefile.am to here.

	* Makefile.am (SUBDIRS): Added the idl and cal-client directories.

svn path=/trunk/; revision=2003
2000-03-01 22:31:11 +00:00
Federico Mena Quintero 84757ca4db Use the gnome-config flags for orbit-idl. Create a libcal-client library
2000-03-01  Federico Mena Quintero  <federico@helixcode.com>

	* Makefile.am: Use the gnome-config flags for orbit-idl.
	Create a libcal-client library with the calendar client object.

svn path=/trunk/; revision=2000
2000-03-01 21:13:26 +00:00
Federico Mena Quintero 42b1c73494 Removed stale rule for the conduit.
2000-02-29  Federico Mena Quintero  <federico@helixcode.com>

	* Makefile.am: Removed stale rule for the conduit.

svn path=/trunk/; revision=1998
2000-03-01 04:36:45 +00:00
Seth Alves dd6c88eafe don't put .libs in the link command, let libtool do it
svn path=/trunk/; revision=1904
2000-02-22 19:16:05 +00:00
Seth Alves b8be00ae7a trying to link libical
svn path=/trunk/; revision=1885
2000-02-21 13:35:21 +00:00
Miguel de Icaza 3db1d0b6b1 Use BONOBO_VFS_GNOME_CFLAGS instead of GNOMEUI_INCLUDES, as we use Bonobo
2000-02-18  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Makefile.am (INCLUDES): Use BONOBO_VFS_GNOME_CFLAGS instead of
	GNOMEUI_INCLUDES, as we use Bonobo and VFS.

svn path=/trunk/; revision=1847
2000-02-19 00:40:15 +00:00
Seth Alves 4cd07c4e96 moved CalendarFormat type def here
* cal-backend.h: moved CalendarFormat type def here

	* cal-backend.c (cal_backend_load): if extension suggests
	an ical file, attempt to load an iCal file.
	(cal_get_type_from_filename): returns CAL_ICAL if file
	extension is 'ics' or 'ifb', else returns CAL_VCAL
	(icalendar_calendar_load): moved this here from
	icalendar.c because it needs to call the static function
	add_object.

svn path=/trunk/; revision=1831
2000-02-17 21:30:09 +00:00
Russell Steinthal 08f2b4e43f Change iCalObject.organizer from char* to iCalPerson*
2000-02-16  Russell Steinthal  <rms39@columbia.edu>

	* calobj.[ch], eventedit.c, main.c: Change iCalObject.organizer
	from char* to iCalPerson*

	* calobj.[ch]: Change iCalObject.related from list of char* to
	list of iCalRelation*; assorted related fixes

	* icalendar.c: interface between libical and the gnomecal
	internal representation

svn path=/trunk/; revision=1791
2000-02-16 14:27:38 +00:00
Federico Mena Quintero d2fe58c568 Implemented.
2000-02-11  Federico Mena Quintero  <federico@helixcode.com>

	* cal-client.c (cal_client_update_object): Implemented.

	* cal.c (cal_notify_update): New function to notify the listener
	about an updated object.
	(Cal_update_object): Implemented.
	(Cal_get_uids): set_release() the sequence to TRUE.
	(Cal_get_events_in_range): Likewise.

	* cal-backend.c (remove_object): New function to remove objects
	from a calendar backend.
	(cal_backend_update_object): New public function to update an
	object and notify clients about it.

	* evolution-calendar.idl (Cal): Added update_object() and
	delete_object() methods.
	(Listener): Removed the obj_changed method and renamed obj_added
	to obj_updated.  We now only have updated and removed notifiers.

	* cal-listener.[ch]: Removed the "changed" notification code.
	Changed the "added" notification code to the "updated"
	notification.

	* cal-client.c: Likewise.

	* tlacuache.c (create_cal_factory): Connect to "destroy" on the
	factory and exit the main loop when the factory is destroyed.

	* cal-factory.c (backend_destroy_cb): New callback used when a
	backend is destroyed.  Removes the backend from the factory's hash
	table and unrefs the factory if all backends go away.
	(add_calendar_client): Free the environment.

	* cal.c (cal_new): Use bonobo_object_unref() if we fail to
	initialize.

	* cal-listener.c (cal_listener_new): Likewise.

	* layout.c (layout_events): Plug li.partition memory leak.

svn path=/trunk/; revision=1742
2000-02-12 02:03:58 +00:00
Federico Mena Quintero d8fbc4fc0c Connect to the Cal's destroy signal. (cal_backend_remove_cal): Killed
2000-02-10  Federico Mena Quintero  <federico@helixcode.com>

	* cal-backend.c (cal_backend_add_cal): Connect to the Cal's
	destroy signal.
	(cal_backend_remove_cal): Killed function now that removal of Cal
	objects is done in their destroy callback.
	(cal_destroy_cb): New callback to remove a Cal from the backend's
	list of clients.  Also, the backend destroys itself when there are
	no more clients connected to it.
	(save): New placeholder function to save a backend.
	(destroy): New function to destroy a backend's data.
	(cal_backend_destroy): Save the calendar and destroy it.

	* cal.c (cal_destroy): Reset the priv->backend to NULL.

	* cal-factory.c (add_calendar_client): There is no need to call
	cal_backend_remove_cal(); we can now just destroy the Cal object.
	(create_fn): Make sure we always unref the URI.
	(load_fn): Move the URI unref to the end of the function for
	safety.

	* cal-factory.c (add_calendar_client): Unref the Cal only if
	notification of the listener was unsuccessful.  Otherwise, the
	calendar user agent (Listener side) keeps the reference.

	* tl-test.c (list_uids): Free the calobj.

	* cal-client.c (cal_loaded_cb): Use bonobo_object_unref() to get
	rid of the listener.
	(load_or_create): Likewise.
	(destroy_factory): New function to get rid of the factory.
	(destroy_listener): New function to get rid of the listener.
	(destroy_cal): New function to get rid of the calendar client
	interface object.
	(cal_client_destroy): Free all resources.
	(cal_client_get_object): CORBA_free() the calobj string.  Boy, I
	love memprof.

	* cal-listener.c (cal_listener_destroy): Reset the priv->cal to
	CORBA_OBJECT_NIL.

	* cal-backend.c (cal_backend_remove_cal): Do not unref the Cal,
	since the calendar user agent owns it.
	(cal_backend_add_cal): Do not ref the Cal, since the calendar user
	agent owns it.

	* cal-factory.c (add_calendar_client): Use bonobo_object_unref()
	to get rid of the calendar client interface object.

	* calobj.c (ical_object_create_from_vobject): Duplicate the
	default "PUBLIC" string.

2000-02-09  Federico Mena Quintero  <federico@helixcode.com>

	* cal-factory.c (cal_factory_load): Added documentation comment.
	(load_fn): Do not print a message if the backend could not be
	loaded due to a non-fatal error.
	(queue_load_create_job): Moved the stuff from cal_factory_load()
	to here.  Now this function serves to queue load or create
	requests.
	(cal_factory_load): Use queue_load_create_job().
	(cal_factory_create): Implemented; use queue_load_create_job().
	(create_fn): New job handler for creating new calendars.
	(create_backend): New function to create a new backend with a new
	calendar.
	(add_backend): New helper function to add backends to the
	factory's hash table.
	(load_backend): Use add_backend() instead of adding the backend by
	ourselves.

	* cal-client.c (load_or_create): Moved the functionality from
	cal_client_load_calendar() to here, and added an option to create
	a new calendar instead of loading an existing one.
	(cal_client_load_calendar): Use load_or_create().
	(cal_client_create_calendar): Implemented.

	* cal-backend.c (cal_backend_create): Implemented.

	* evolution-calendar.idl (LoadStatus): Added an IN_USE error for
	create requests.

	* cal-listener.h (CalListenerLoadStatus): Added CAL_LISTENER_LOAD_IN_USE.

	* cal-listener.c (Listener_cal_loaded): Convert the IN_USE error.

	* cal-client.h (CalClientLoadStatus): Added CAL_CLIENT_LOAD_IN_USE.

	* cal-client.c (cal_loaded_cb): Handle CAL_LISTENER_LOAD_IN_USE.

	* tl-test.c: New test program for the calendar client side; it
	also exercises the server side by sending commands to it.

	* Makefile.am: Added the tl-test program.

	* tlacuache.gnorba: Updated.

	* tlacuache.c (create_cal_factory): Use the right GOAD id.

	* cal-client.c (cal_client_construct): Use the right GOAD id.

svn path=/trunk/; revision=1732
2000-02-11 11:08:08 +00:00
Federico Mena Quintero ca082de77a Added get_uids() method to get a list of UIDs based on object types.
2000-02-08  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-calendar.idl (Cal): Added get_uids() method to get a
	list of UIDs based on object types.

	* cal-backend.c (cal_backend_get_uids): Implemented get_uids() in
	the backend.

	* cal.c (Cal_get_uids): Implemented get_uids() method.

	* cal-client.c (cal_client_get_uids): Implemented client-side
	function.

	* cal-util.c (cal_obj_instance_list_free): Doh.  Free the list,
	not the last link.
	(cal_obj_uid_list_free): New function to free a list of UIDs.

	* GnomeCal.idl (Repository): Removed unused method
	get_object_by_id_list().  This is just for cleanup purposes and to
	remind me exactly of what needs to be moved over to
	evolution-calendar.idl.
	(Repository): Removed unused get_objects() method.

	* corba-cal.c (init_calendar_repo_class): Removed the unused
	get_objects method.

	* calobj.h (CalObjFindStatus): New status value enumeration for
	the find function.

	* calobj.c (ical_object_find_in_string): New function to parse a
	complete calendar and find a calendar object in it.  This should
	be used instead ical_object_new_from_string() in the future.

	* evolution-calendar.idl (CalObjInstance): Added an uid field.
	Now the idea is that whenever calendar object strings are passed
	around, their UIDs are passed along with them so that the actual
	object can be pulled from the whole VCAL object using its UID to
	identify it.

	* cal-util.h (CalObjInstance): Added uid field.

	* cal-util.c (cal_obj_instance_list_free): Free the UIDs.

	* cal-backend.c (build_event_list): Store the object's UID in the
	instance structure.

	* cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA
	structure.

	* cal-client.c (cal_client_get_events_in_range): Copy the UID
	field from the CORBA structure.

	* main.c (gnome_cal_file_menu): Removed unfinished html-month stuff.

	* Makefile.am (gnomecal_SOURCES): Removed html-month.c.

	* gnome-cal.c: #include "alarm.h"
	(mail_notify): Made static.

	* alarm.h: #include "calobj.h"

	* corba-cal-factory.h (init_corba_server): Fixed prototype.

	* quick-view.c (create_items_for_event): Made static.

	* gncal-todo.c (column_resized): Made static.

	* layout.c (find_index): Made static.

svn path=/trunk/; revision=1699
2000-02-09 08:04:33 +00:00
Federico Mena Quintero cc670cb2ca New struct to wrap instances of calendar objects for recurrencies and
2000-02-08  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-calendar.idl (CalObjInstance): New struct to wrap
	instances of calendar objects for recurrencies and alarms.
	(Cal::get_events_in_range): New method to get ocurring and
	recurring events by time range.

	* cal-backend.c (cal_backend_get_events_in_range): New function to
	get a list of event instances in a time range.
	(string_from_ical_object): New internal function.
	(cal_backend_get_object): Use string_from_ical_object() instead of
	doing everything ourselves.
	(cal_backend_get_events_in_range): New function to get a list of
	the events that occur or recur in a specified time range.

	* cal-client.c (cal_client_get_events_in_range): Implemented
	client-side function.

	* cal-util.h:
	* cal-util.c: New files with utilities and types common to the
	client and server parts.
	(CalObjInstance): New structure to hold an instance of an actual
	occurrence, recurrence, or alarm trigger of a calendar object.
	(cal_obj_instance_list_free): New function to free a list of
	calendar object instances.

	* cal.c (Cal_get_events_in_range): Implemented new method.

	* corba-cal.c (cal_repo_get_updated_objects): Free `str' with
	free(), not g_free(), since calendar_get_as_vcal_string() uses
	writeMemVObject(), which uses realloc().  Fixed in gnome-pim as
	well.

svn path=/trunk/; revision=1693
2000-02-08 07:08:29 +00:00
Federico Mena Quintero 9d6fc52249 Added the get_object() method.
2000-02-03  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-calendar.idl (Cal): Added the get_object() method.

	* cal-client.c (cal_client_get_object): New function to get a
	calendar object by its UID.

	* cal.c (Cal_get_object): Implemented.

	* cal-backend.c (cal_backend_get_object): New unfinished backend
	function.  We need some reorganizing of how the calendar objects
	are stored.

svn path=/trunk/; revision=1663
2000-02-02 09:51:20 +00:00
Arturo Espinosa a2d268b3d1 Sync to desktop - Federico
svn path=/trunk/; revision=1657
2000-01-30 23:47:42 +00:00
Federico Mena Quintero 390f24328e Changed the namespace from GNOME::Calendar to Evolution::Calendar.
2000-01-30  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-calendar.idl: Changed the namespace from
	GNOME::Calendar to Evolution::Calendar.
	(Listener::LoadStatus): Fixed SUCESSS -> SUCCESS typo.  And I
	never noticed it in the implementation.  Ain't M-/ grand?

	* Makefile.am: Changed ocurrences of gnome-calendar.idl to
	evolution-calendar.idl.

	* *.[ch]: Changed GNOME_Calendar_foo identifiers to
	Evolution_Calendar_foo.

svn path=/trunk/; revision=1652
2000-01-29 10:48:09 +00:00
Arturo Espinosa 9f31ce86ff Make Evolution compile with the latest Bonobo changes.
Make Evolution compile with the latest Bonobo changes.

Miguel.

svn path=/trunk/; revision=1636
2000-01-26 00:04:16 +00:00
Arturo Espinosa a315f03213 When will I ever learn to add the files... - Federico
svn path=/trunk/; revision=1625
2000-01-25 04:41:58 +00:00
Federico Mena Quintero 32ce476a23 Added the gnome-pilot and capplet checks; they will likely be reworked for
2000-01-24  Federico Mena Quintero  <federico@helixcode.com>

	* configure.in: Added the gnome-pilot and capplet checks; they
	will likely be reworked for the Evolution framework, but for now
	the calendar/ directory needs them.

	* configure.in: Added checks for gnome-vfs.
2000-01-24  Federico Mena Quintero  <federico@helixcode.com>

	* tlacuache.c: New main module for the Tlacuache personal calendar
	server.

	* tlacuache.gnorba: New gnorba file for Tlacuache, the GNOME
	personal calendar server.

	* Makefile.am: Added the stuff necessary to build Tlacuache.

	* cal.c (Cal_get_uri): Convert the URI to a string before
	returning it.

	* cal-factory.c (CalFactory_create): Doh, this function is void.

	* job.c (job_add): Use g_idle_add(), not gtk_idle_add().

svn path=/trunk/; revision=1623
2000-01-25 03:17:54 +00:00
Eskil Heyn Olsen fb7cf01122 Removed todo capplet stuff.
svn path=/trunk/; revision=1548
2000-01-09 15:59:43 +00:00
Vadim Strizhevsky 25606cbf7d Update to use gpilotd_get_pilot_basedir and gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new.
svn path=/trunk/; revision=1544
2000-01-08 04:44:57 +00:00
Eskil Heyn Olsen 36e5e42d31 Added an argument to the corba get_number_of_objects, so you can decide
which status the objects you count should have, eg. any or modified
etc. Will add record type someday.

svn path=/trunk/; revision=1535
2000-01-05 12:12:44 +00:00
Eskil Heyn Olsen eb7c5ae3c5 Committed fixes for the end-on-day recurrence bug where the last
day was skipped.

Also fixed problem with multiple setitimer calls that where especially
pesky in the corba part, where corba calls would cause numerous alarm
dialogs when the events alarm went off.

svn path=/trunk/; revision=1525
1999-12-31 15:58:08 +00:00
Jesus Bravo Alvarez 0948bfda86 Added Galician translation
svn path=/trunk/; revision=1524
1999-12-31 12:59:27 +00:00
Eskil Heyn Olsen d0606659a4 Minor unmiportant changes, but my laptop is acting up, so I
need them somewhere safe, eg. cvs :)

svn path=/trunk/; revision=1522
1999-12-29 20:46:09 +00:00
Russell Steinthal 5f0aabc212 Fix sensitivity bug when used to create default alarm box (widgets in that
1999-12-10  Russell Steinthal  <rms39@columbia.edu>

	* eventedit.c (ee_create_ae): Fix sensitivity bug when used to
	create default alarm box (widgets in that box should always be
	sensitive, even if the enabled checkbutton is not set)

svn path=/trunk/; revision=1479
1999-12-10 17:58:43 +00:00
Eskil Heyn Olsen 98b072cced Capplets now sets first_sync on enable, this should make the conduit copy
* calendar-conduit-control-applet.c (setSettings): Capplets now
	sets first_sync on enable, this should make the conduit copy old
	entries from the pilot to gnomecal.

svn path=/trunk/; revision=1476
1999-12-08 00:45:53 +00:00
Eskil Heyn Olsen b279ef22cc Check if local store is empty. If, force slow sync.
* calendar-conduit.c (pre_sync): Check if local store is
	empty. If, force slow sync.

	* GnomeCal.idl (GNOME): Added get_number_of_objects.

	* corba-cal.c (cal_repo_get_number_of_objects): implemented the
 	get_number_of_objects.

	* calendar-conduit-control-applet.c (setStateCfg): Fixed bug that
	caused the capplet to always set the sync action to Disable upon start.

svn path=/trunk/; revision=1475
1999-12-07 03:43:51 +00:00
Eskil Heyn Olsen 1a518e9dc4 Added a sub package to the .spec file, it now generates
gnome-pim-conduit-%ver.%arch.rpm, containing the Gnome Pilot conduits.

Modded makefile.am so the conduit capplets also appear on the main menu.

svn path=/trunk/; revision=1462
1999-12-05 19:31:55 +00:00
Eskil Heyn Olsen 45c9092c61 Removed intl
* Makefile.am (SUBDIRS): Removed intl

	* configure.in: uses AM_GNOME_GETTEXT instead of AM_GNU_GETTEXT,
	version = 1.1.2.

        * gncal/Makefile.am & gnomecard/Makefile.am: added missing
        stuff to SOURCES and EXTRA_DIST.

svn path=/trunk/; revision=1461
1999-12-04 19:05:12 +00:00
Arturo Espinosa ab627d51c2 Sigh. Get this one
svn path=/trunk/; revision=1460
1999-12-03 18:28:39 +00:00
Russell Steinthal afb4599180 The long-awaited and much-needed (IMNSHO) snooze button for gnomecal alarms.
Not strictly [vi]Calendar compliant, but much more intuitive.

svn path=/trunk/; revision=1456
1999-12-03 00:55:01 +00:00
Eskil Heyn Olsen aea33f51dd undef DEBUG_CALCONDUT, suppresses debug output.
* calendar-conduit.c: undef DEBUG_CALCONDUT, suppresses debug output.

svn path=/trunk/; revision=1455
1999-12-03 00:14:36 +00:00
Russell Steinthal 6dde8f43e3 Debugging enhancements: report alarms not added (because they have already
passed), allow toggling of debugging output using SIGUSR1

svn path=/trunk/; revision=1453
1999-12-02 18:47:31 +00:00
Eskil Heyn Olsen 6e69c39698 Fixed compare bug. Also neated up some of the if's in set_status.
* calendar-conduit.c (compare): Fixed compare bug. Also neated up
	some of the if's in set_status.

svn path=/trunk/; revision=1444
1999-11-30 00:26:02 +00:00
Russell Steinthal d42f191dd5 <self_serving> Add myself to AUTHORS, about box </self_serving>
<self_serving>
Add myself to AUTHORS, about box
</self_serving>

svn path=/trunk/; revision=1430
1999-11-22 22:43:40 +00:00
Russell Steinthal c895e6eefa Merged Rusty's last todo list coloring patch from stable to HEAD.
svn path=/trunk/; revision=1429
1999-11-22 08:04:07 +00:00
Eskil Heyn Olsen c75604cac3 Writes some warning messages when pre_sync fails.
* calendar-conduit.c (pre_sync): Writes some warning
 	messages when pre_sync fails.

svn path=/trunk/; revision=1427
1999-11-22 01:20:45 +00:00
Pablo Saratxaga 16de3313b7 added greek descriptions
svn path=/trunk/; revision=1393
1999-11-17 04:34:37 +00:00
Eskil Heyn Olsen 7b1bd483b9 Stupid misplaced endif cause gncal to depend on an install gnome-pilot...
* Makefile.am: Stupid misplaced endif cause gncal to depend on an
	install gnome-pilot... fixed... sorry.

svn path=/trunk/; revision=1387
1999-11-13 22:00:39 +00:00
Russell Steinthal dded739f63 The long-awaited audio alarm timeout patch. Implements wishlist bug #3089.
Note: Per discussion on calendar-list, checks to see that timeout value is
reasonable, i.e. between 1 and MAX_AALARM_TIMEOUT (set to 3600 seconds).  Check
is enforced by GtkSpinButton in property box and the patch when loading from
disk.

svn path=/trunk/; revision=1384
1999-11-12 17:11:02 +00:00
Russell Steinthal 0ebe0334b1 Schedule a new day_change_alarm in the day_change_alarm callback, so that the
process repeats the next day.

This fixes a bug by which alarms would mysteriously stop working after gnomecal was running for its second midnight.

svn path=/trunk/; revision=1380
1999-11-11 06:09:32 +00:00
Eskil Heyn Olsen 4e15d4092c Enabled debug output. Sets a g_log_domain, now version 0.8.5. Consistent
1999-11-09  Eskil Heyn Olsen  <deity@eskil.dk>

	* calendar-conduit.c: Enabled debug output. Sets a g_log_domain,
	now version 0.8.5. Consistent use of GSList/GList. Implemented
	compare, default uses one that compares the contents of a struct
	Appointment, but also has #ifdeffed code that does a field level
	comparison, not complete, but perhaps educational.

	* Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an
	unwanted conditional on libcalendar_conduit_la_LDFLAGS

svn path=/trunk/; revision=1376
1999-11-09 19:28:29 +00:00
Eskil Heyn Olsen 0b246c95e9 Fixed an unwanted conditional on libcalendar_conduit_la_LDFLAGS
* Makefile.am (#todo_conduit_control_applet_SOURCES): Fixed an
	unwanted conditional on libcalendar_conduit_la_LDFLAGS

svn path=/trunk/; revision=1372
1999-11-09 01:42:29 +00:00
Eskil Heyn Olsen c8fce201dc Commented the code out, thus the capplet works again.
* calendar-conduit-control-applet.c (readStateCfg): Commented the
        code out, thus the capplet works again.

svn path=/trunk/; revision=1368
1999-11-05 12:38:16 +00:00
Eskil Olsen ee413a3fd2 Uses the PISOCK_LIBDIR, for people with odd install dirs for their
1999-11-04  Eskil Olsen   <deity@eskil.dk>

	* Makefile.am: Uses the PISOCK_LIBDIR, for people with odd install
 	dirs for their pilot-link. Also install a pretty icon for the
 	calendar-conduit.

	* calendar-conduit-control-applet.c: Modfied the
	try/revert/ok/cancel scheme to be more intuitive, also uses a
	GtkOptionMenu for the possible sync methods.

	* calendar-conduit-control-applet.desktop: use the nice icon...

	* calendar-conduit.c: Ack, had to define debug_alarms and
	alarm_default, otherwise they are undefined. Is gncal code messy
	or is this considered a way of configuring the cal engine ?
	Implemented delete_all syncabs methods.

	* calendar-pilot-sync.c: also had to declare debug_alarms and
 	alarm_defaults, just as ugly.

svn path=/trunk/; revision=1367
1999-11-04 14:20:13 +00:00
Russell Steinthal a6c4b53533 Add default alarm support, Beep on display alarms option
Since there are now some calls from prop.c into previously static functions in
eventedit.c, the code in those files should probably be reorganized.  Perhaps a
new alarm-utils.c file?  In any case, this commits working code to the
repository before we reorganize.

svn path=/trunk/; revision=1366
1999-11-03 02:36:31 +00:00
Russell Steinthal 24517cf8ae Fix calendar_day_begin/calendar_day_end initialization bug on HEAD. For full
explanation, see commit message for parallel change to gnome-pim-1-0 branch.

svn path=/trunk/; revision=1351
1999-10-24 00:21:10 +00:00