Commit Graph

1888 Commits

Author SHA1 Message Date
a4b66d598e fix typo, servers_in_files -> server_in_files.
2002-11-20  Not Zed  <NotZed@Ximian.com>

        * gui/Makefile.am (EXTRA_DIST): fix typo, servers_in_files ->
        server_in_files.

svn path=/trunk/; revision=18853
2002-11-20 02:00:08 +00:00
9582ff5938 Added rule to generate GNOME_Evolution_Calendar.server.in from
* Makefile.am: Added rule to generate
GNOME_Evolution_Calendar.server.in from
GNOME_Evolution_Calendar.server.in.in, substituting @LIBEXECDIR@.
Also, install evolution-calendar in $libexecdir instead of
$bindir.

* gui/GNOME_Evolution_Calendar.server.in.in: Renamed from
GNOME_Evolution_Calendar.server.in.  Prepended the executable name
with @LIBEXECDIR@.

svn path=/trunk/; revision=18847
2002-11-19 22:07:59 +00:00
de63e5c5e3 pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for
2002-11-19  Not Zed  <NotZed@Ximian.com>

        * gui/e-meeting-model.c (get_select_name_dialog): pass type to
        bonobo_widget::set_property.
        (select_names_ok_cb): ", for get_property.

        * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct):
        pass type to bonobo_widget::set_property & plug small leak.
        (e_delegate_dialog_get_delegate): ", for get_property.
        (e_delegate_dialog_get_delegate_name): "

        * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
        pass type to bonobo_widget::set_property.
        (comp_editor_contacts_to_component): ", for get_property

svn path=/trunk/; revision=18835
2002-11-19 04:56:45 +00:00
0d23d22c66 use new e_table_header_compute_height signature.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_style_set):
	use new e_table_header_compute_height signature.

svn path=/trunk/; revision=18802
2002-11-17 01:03:41 +00:00
fc0d94e1d8 Use bonobo_main_quit instead of gtk
* gui/component-factory.c: Use bonobo_main_quit instead of gtk

svn path=/trunk/; revision=18787
2002-11-15 21:44:17 +00:00
422f99755f #include <string.h> (obj_removed_cb): Fixed prototype.
2002-11-13  Federico Mena Quintero  <federico@ximian.com>

	* cal-client/cal-query.c: #include <string.h>
	(obj_removed_cb): Fixed prototype.

	* cal-client/cal-client.c (get_objects_atomically): Fix use of
	g_signal_handler_disconnect().

	* cal-client/client-test.c (create_client): Add G_CALLBACK casts.

svn path=/trunk/; revision=18744
2002-11-13 20:03:27 +00:00
6c988be909 #include <string.h>
2002-11-12  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal-backend-util.c: #include <string.h>

	* pcs/cal.c: Fixed prototypes of the CORBA method implementations.

	* pcs/cal-backend-file.c (cal_backend_file_dispose): Added a
	dispose method.
	(cal_backend_file_get_free_busy): Converted to use EConfigListener
	rather than BonoboConfigDatabase.

	* gui/alarm-notify/alarm-notify.c: #include <string.h>, fix use of
	g_hash_table_lookup_extended().

	* gui/alarm-notify/alarm-notify-dialog.c: Substitute deprecated
	GTK+ functions for new ones.

	* gui/alarm-notify/alarm-queue.c: Likewise.

	* gui/alarm-notify/notify-main.c: #include <string.h>,
	<gtk/gtkmain.h>.

	* gui/alarm-notify/save.c: #include <string.h>.

svn path=/trunk/; revision=18726
2002-11-12 20:59:08 +00:00
f75f8c4738 Commit missing files.
svn path=/trunk/; revision=18675
2002-11-08 22:12:45 +00:00
e0dfbb056c Use g_object_set_data(..., NULL) instead of gtk_object_remove_data().
* gui/calendar-commands.c (calendar_control_deactivate): Use
g_object_set_data(..., NULL) instead of gtk_object_remove_data().

* gui/calendar-commands.c: Use g_object_{set,get}_* functions
instead of gtk_object_{set,get}_*.
* gui/calendar-commands.c: Likewise.
* gui/calendar-config.c: Likewise.
* gui/control-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view-main-item.c: Likewise.
* gui/e-day-view-time-item.c: Likewise.
* gui/e-day-view-top-item.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel-item.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-week-view-event-item.c: Likewise.
* gui/e-week-view-layout.c: Likewise.
* gui/e-week-view-main-item.c: Likewise.
* gui/e-week-view-titles-item.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/print.c: Likewise.

svn path=/trunk/; revision=18674
2002-11-08 22:11:10 +00:00
cdbcf964e2 Use g_object_ref()/g_object_unref() instead of
* calendar-commands.c: Use g_object_ref()/g_object_unref() instead
of gtk_object_ref/gtk_object_unref().
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* comp-util.c: Likewise.
* e-calendar-table.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* itip-utils.c: Likewise.
* print.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.

* gui/cal-search-bar.c: Use g_object_new() instead of
gtk_type_new().
* gui/calendar-model.c: Likewise.
* gui/calendar-view-factory.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/calendar-view.c: Likewise.
* gui/comp-editor-factory.c: Likewise.
* gui/e-calendar-table.c: Likewise.
* gui/e-cell-date-edit-text.c: Likewise.
* gui/e-comp-editor-registry.c: Likewise.
* gui/e-day-view.c: Likewise.
* gui/e-itip-control.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-attendee.c: Likewise.
* gui/e-meeting-model.c: Likewise.
* gui/e-meeting-time-sel.c: Likewise.
* gui/e-tasks.c: Likewise.
* gui/e-timezone-entry.c: Likewise.
* gui/e-week-view.c: Likewise.
* gui/gnome-cal.c: Likewise.
* gui/weekday-picker.c: Likewise.

* gui/e-itip-control.c (get_servers): g_object_unref the
shell_client instead of using bonobo_object_unref().

* gui/component-factory.c (owner_set_cb): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref().

svn path=/trunk/; revision=18673
2002-11-08 21:50:53 +00:00
e93ca197f1 Use g_signal_connect() instead of gtk_signal_connect(). Likewise.
* gui/calendar-commands.c: Use g_signal_connect() instead of
gtk_signal_connect().
* calendar-commands.c: Likewise.
* calendar-config.c: Likewise.
* calendar-model.c: Likewise.
* comp-editor-factory.c: Likewise.
* component-factory.c: Likewise.
* control-factory.c: Likewise.
* e-calendar-table.c: Likewise.
* e-comp-editor-registry.c: Likewise.
* e-day-view-time-item.c: Likewise.
* e-day-view.c: Likewise.
* e-itip-control.c: Likewise.
* e-meeting-model.c: Likewise.
* e-meeting-time-sel.c: Likewise.
* e-tasks.c: Likewise.
* e-timezone-entry.c: Likewise.
* e-week-view.c: Likewise.
* gnome-cal.c: Likewise.
* goto.c: Likewise.
* tasks-control.c: Likewise.
* tasks-migrate.c: Likewise.
* weekday-picker.c: Likewise.

svn path=/trunk/; revision=18672
2002-11-08 21:05:41 +00:00
ba1c0d0543 (calendar_offline_handler_class_init): GObjectified.
(impl_finalize): Finalize impl.
(impl_dispose): Dispose impl.
(calendar_offline_handler_new): Use g_object_new().
(backend_cal_opened): use g_signal_connect() instead of
gtk_signal_connect().
(backend_go_offline): Likewise.
(backend_cal_opened): g_object_unref() instead of
gtk_object_unref().
(backend_go_offline): Likewise.

svn path=/trunk/; revision=18671
2002-11-08 20:20:33 +00:00
768d77efa0 use GLib macros.
2002-11-08  Rodrigo Moya <rodrigo@ximian.com>

	* importers/evolution-calendar-importer.h: use GLib macros.

	* importers/main.c (init_importer): use bonobo_generic_factory_new,
	not bonobo_generic_factory_new_multi.
	(main): don't use libgnome functions.

svn path=/trunk/; revision=18666
2002-11-08 11:04:08 +00:00
f7f7e443ed don't use GTK, we don't need it.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/client-test.c: don't use GTK, we don't need it.

svn path=/trunk/; revision=18653
2002-11-08 00:12:29 +00:00
0783b601b0 *** empty log message ***
svn path=/trunk/; revision=18650
2002-11-07 23:09:06 +00:00
222645151f Initial port of gui/ subdir to GNOME 2
2002-11-07  JP Rosevear  <jpr@ximian.com>

	* Initial port of gui/ subdir to GNOME 2

svn path=/trunk/; revision=18648
2002-11-07 22:47:47 +00:00
2bc072651c removed non-existant headers.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* importers/icalendar-importer.c: removed non-existant headers.

	* importers/Makefile.am: changes for BonoboActivation.

	* gui/GNOME_Evolution_Calendar.server.in: install to $libdir, not
	$datadir.

svn path=/trunk/; revision=18640
2002-11-07 21:50:17 +00:00
55434d9467 converted to BonoboObject.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/query-listener.[ch]: converted to BonoboObject.

	* gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's
	g_utf8_strchr.

	* gui/dialogs/delete-comp.c: removed non-existant headers. Use
	GtkStock instead of GnomeStock.

	* gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation.
	(e_delegate_dialog_construct): adapted to changes in glade_xml_new.

svn path=/trunk/; revision=18632
2002-11-07 16:18:38 +00:00
ff4b4e7ed3 converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal.[ch]: converted to BonoboObject.
	(impl_Cal_get_query): bonobo_object_unref the query returned by
	cal_backend_get_query if we can't duplicate it.

	* pcs/query.[ch]:
	* pcs/cal-factory.[ch]: converted to BonoboObject.

	* pcs/query-backend.[ch]:
	* pcs/cal-backend-file.[ch]:
	* pcs/cal-backend.[ch]: GObjectify.

svn path=/trunk/; revision=18631
2002-11-07 16:06:38 +00:00
e25263409d converted to BonoboObject. (impl_Cal_get_query): bonobo_object_unref the
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal.[ch]: converted to BonoboObject.
	(impl_Cal_get_query): bonobo_object_unref the query returned by
	cal_backend_get_query if we can't duplicate it.

	* pcs/query.[ch]:
	* pcs/cal-factory.[ch]: converted to BonoboObject.

	* pcs/query-backend.[ch]:
	* pcs/cal-backend-file.[ch]:
	* pcs/cal-backend.[ch]: GObjectify.

svn path=/trunk/; revision=18630
2002-11-07 13:07:37 +00:00
dd5ab1f168 GObjectify.
2002-11-07  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-file.[ch]:
	* pcs/cal-backend.[ch]: GObjectify.

svn path=/trunk/; revision=18629
2002-11-07 11:58:34 +00:00
4dec64f373 #include gtkoptionmenu.h. (cal_prefs_dialog_new): adapted to changes in
2002-11-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/cal-prefs-dialog.c: #include gtkoptionmenu.h.
	(cal_prefs_dialog_new): adapted to changes in glade_xml_new.

	* gui/dialogs/event-page.h:
	* gui/dialogs/meeting-page.h:
	* gui/dialogs/recurrence-page.h:
	* gui/dialogs/schedule-page.h:
	* gui/dialogs/task-details-page.h:
	* gui/dialogs/task-page.h:
	* gui/cal-prefs-dialog.h: use correctly the macros.

	* gui/dialogs/cancel-comp.c:
	* gui/dialogs/changed-comp.c:
	* gui/dialogs/comp-editor-page.c:
	* gui/gnome-cal.h: removed non-existent headers.

	* gui/dialogs/comp-editor.c: remove non-existent headers.
	(close_dialog): gtk_widget_destroy the widget.
	(setup_widgets, comp_editor_merge_ui): use BonoboWindow correctly.
	(comp_editor_set_cal_client, comp_editor_send_comp,
	 comp_editor_edit_comp): use G_OBJECT_GET_CLASS for
	getting the class of an object.

	* gui/dialogs/comp-editor-page.c (comp_editor_page_class_init):
	use g_signal_* functions.

	* gui/dialogs/comp-editor-util.c: converted to BonoboActivation.

	* gui/dialogs/comp-editor.h: #include bonobo-window.h, not
	bonobo-win.h.

svn path=/trunk/; revision=18622
2002-11-07 02:00:56 +00:00
2e67445789 *** empty log message ***
svn path=/trunk/; revision=18620
2002-11-07 00:13:41 +00:00
3a39176f2f renmaed .oaf.in files.
2002-11-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in:
	* gui/GNOME_Evolution_Calendar.server.in: renmaed .oaf.in files.

	* gui/alarm-notify/Makefile.am:
	* gui/Makefile.am: fixed rules for .server files.

svn path=/trunk/; revision=18619
2002-11-07 00:09:52 +00:00
4c76e8e668 don't return a Bonobo_EventSource_ListenerId, since it does not exist
2002-11-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/comp-editor-util.[ch]
	(comp_editor_connect_contacts_changed): don't return a
	Bonobo_EventSource_ListenerId, since it does not exist anymore,
	and was not even being used.

	* gui/e-timezone-entry.h: use GLib macros.

	* gui/dialogs/*.glade:
	* gui/alarm-notify/*.glade:
	* gui/*.glade: converted to Glade2 format.

svn path=/trunk/; revision=18616
2002-11-06 21:51:45 +00:00
5c35a41fe2 adapted to to new glade_xml_new signature.
2002-11-05  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/alarm-options.c (alarm_options_dialog_run): adapted to
	to new glade_xml_new signature.

	* gui/calendar-model.h:
	* gui/dialogs/comp-editor-page.h:
	* gui/dialogs/alarm-page.[ch]: removed non-existant header files.

	* gui/dialogs/comp-editor-util.h: added missing headers.

svn path=/trunk/; revision=18615
2002-11-06 19:43:40 +00:00
415efc9901 use libxml2 headers.
2002-11-05  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend.c: use libxml2 headers.

	* gui/alarm-notify/Makefile.am:
	* gui/dialogs/Makefile.am:
	* gui/Makefile.am: s/XML_I18N/INTLTOOL. Fixed execution of
	$(ORBIT_IDL).

	* gui/alarm-notify/alarm-notify.[ch]: converted to BonoboObject.

	* gui/alarm-notify/alarm-notify-dialog.c: compilation fixes.
	(alarm_notify_dialog): adapted to new glade_xml_new signature.

	* gui/alarm-notify/alarm-queue.c: ported to BonoboActivation and
	GtkStock and GtkDialog.

	* gui/alarm-notify/notify-main.c: ported to BonoboActivation and
	use GObject functions instead of GtkObject ones.

	* gui/alarm-notify/save.h: removed BonoboConfig related functions.

	* gui/alarm-notify/config-data.c: use GObject functions instead of
	GtkObject ones.

	* TODO.port: added file for keeping track of disabled things while we
	port.

svn path=/trunk/; revision=18550
2002-11-05 13:49:19 +00:00
bca61092c2 added new marshallers.
2002-11-04  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-util-marshal.list: added new marshallers.

	* cal-client/cal-client.c (get_objects_atomically): fixed calls to
	g_signal_handler_disconnect_by_func.
	(cal_client_class_init): fixed typos.

	* cal-client/cal-client-multi.[ch]:
	* cal-client/cal-client-types.c:
	* cal-client/cal-query.[ch]: ported to GObject.

	* cal-client/cal-listener.[ch]: converted to BonoboObject.

	* cal-client/Makefile.am:
	* pcs/Makefile.am: fixed flags for orbit-idl

svn path=/trunk/; revision=18547
2002-11-05 11:47:40 +00:00
f4780a969c added marshallers.
2002-11-04  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/Makefile.am:
	* cal-util/cal-util-marshal.list: added marshallers.

	* cal-client/cal-client.[ch]: ported to GObject.

svn path=/trunk/; revision=18532
2002-11-04 16:39:44 +00:00
d86aa241f9 ported to GObject.
2002-11-04  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-component.[ch]: ported to GObject.

	* cal-util/cal-util.c (cal_util_generate_alarms_for_comp): use
	g_object_* instead of gtk_object_*.

svn path=/trunk/; revision=18525
2002-11-04 15:14:52 +00:00
e134fc8fe3 use EConfigListener instead of BonoboConfig.
2002-11-03  Rodrigo Moya <rodrigo@ximian.com>

	* cal-client/cal-client.c (get_default_uri): use EConfigListener
	instead of BonoboConfig.

	* cal-client/cal-client.c:
	* cal-client/cal-listener.[ch]:
	* cal-client/query-listener.c: warning free.

svn path=/trunk/; revision=18517
2002-11-03 23:38:42 +00:00
10e1916baf don't use BonoboConfig, but EConfigListener.
2002-11-03  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-util.[ch]: don't use BonoboConfig, but
	EConfigListener.

	* gui/calendar-config.c: use /apps/Evolution prefix for all
	configuration keys.

svn path=/trunk/; revision=18515
2002-11-03 22:37:16 +00:00
b87002d697 cal-client/cal-listener.h
2002-10-31  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-component.[ch]:
	* cal-util/cal-recur.h:
	* cal-util/cal-util.[ch]:
	* cal-client/cal-client.h:
	* cal-client/cal-client-multi.h:
	* cal-client/cal-client-types.[ch]:
	* cal-client/cal-listener.h
	* cal-client/cal-query.[ch]:
	* cal-client/query-listener.h:
	* pcs/cal.h:
	* pcs/cal-backend.[ch]:
	* pcs/cal-backend-file.h:
	* pcs/cal-backend-util.h:
	* pcs/cal-common.h:
	* pcs/cal-factory.h:
	* pcs/query.[ch]:
	* pcs/query-backend.[ch]: started GNOME 2 porting.
	cal-util, cal-client and pcs compiled ok.

	* cal-client/cal-client.c (cal_client_construct):
	* pcs/cal-factory.c: use b-a instead of OAF and bonobo-config
	instead of bonobo-conf.

svn path=/trunk/; revision=18496
2002-11-02 00:26:06 +00:00
9e8e4d56d7 cleaned up the status bar messages for all widgets.
2002-10-29  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.c (backend_died_cb): cleaned up the status bar
	messages for all widgets.

svn path=/trunk/; revision=18467
2002-10-30 14:34:00 +00:00
c81fa60d9b Update with bug numbers.
svn path=/trunk/; revision=18441
2002-10-25 21:22:33 +00:00
1bb481409f initialize new values (clean_up): free new values (find_my_address): if we
2002-10-24  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (init): initialize new values
	(clean_up): free new values
	(find_my_address): if we have a delegator address, use it instead
	(write_html): display delegator info to user
	(show_current_event): if we have a calendar uri, use that and
	describe the event differently
	(show_current_todo): ditto
	(show_current): search for delegator X properties
	(e_itip_control_set_delegator_address): accessor
	(e_itip_control_get_delegator_address): ditto
	(e_itip_control_set_delegator_name): ditto
	(e_itip_control_get_delegator_name): ditto
	(e_itip_control_set_calendar_uri): ditto
	(e_itip_control_get_calendar_uri): ditto

	* gui/e-itip-control.h: add protos

	* gui/itip-utils.c (comp_from): use the first attendee as the from
	address for things other than request, cancel and add (use
	organizer) and publish (use default address)

svn path=/trunk/; revision=18425
2002-10-24 14:25:53 +00:00
a668b29488 Fixes #32613
2002-10-23  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #32613

	* gui/component-factory.c (sc_user_create_new_item_cb): use the
	default calendar/tasks folder to activate the component editor.
	(get_data_uri): deal correctly with the URIs being used.

svn path=/trunk/; revision=18415
2002-10-23 13:46:16 +00:00
96a009288c fix warning
2002-10-23  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (show_current): fix warning

svn path=/trunk/; revision=18414
2002-10-23 12:19:11 +00:00
54722bf66d Fixes #32371
2002-10-22  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #32371

	* pcs/query.c (start_cached_query_cb): CORBA_exception_init the
	CORBA_Environment before using it.

svn path=/trunk/; revision=18413
2002-10-22 23:26:26 +00:00
b6ca9198e8 use NULL for pointer instead of FALSE.
2002-10-22  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-factory.c (lookup_backend): use NULL for pointer instead of
	FALSE.

svn path=/trunk/; revision=18411
2002-10-22 17:04:47 +00:00
731caf5eb2 use e_config_listener_* to get values (itip_addresses_get): ditto
2002-10-22  JP Rosevear  <jpr@ximian.com>

	* gui/itip-utils.c (get_address): use e_config_listener_* to get
values
	(itip_addresses_get): ditto
	(itip_addresses_get_default): ditto

	* gui/calendar-model.c (calendar_model_value_to_string): don't
	send back a null string (affects if it is the group header)
	(calendar_model_init): pre load config database info so we don't
	do corba calls during draws

svn path=/trunk/; revision=18410
2002-10-22 16:43:05 +00:00
e581b1f3b4 fix c/p type
2002-10-17  JP Rosevear  <jpr@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_construct): fix c/p type

svn path=/trunk/; revision=18390
2002-10-17 22:10:34 +00:00
a3da56611e if the value is a datetime, convert it to a date
2002-10-17  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/recurrence-page.c (fill_ending_date): if the value
	is a datetime, convert it to a date

	* gui/itip-utils.c (comp_compliant): convert an UNTIL date value
	to a datetime value

	* cal-util/cal-component.c (cal_component_has_simple_recurrence):
	check to see if the component recurrences meet our definition of
	"simple"

	* cal-util/cal-component.h: new proto

svn path=/trunk/; revision=18389
2002-10-17 21:34:10 +00:00
4ebe5d0309 changed to have a gboolean return type, which is what it's supposed to do.
2002-10-17  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/recurrence-page.c (fill_component): changed to have a
	gboolean return type, which is what it's supposed to do.
	(recurrence_page_fill_component): return the result from
	fill_component.

	* gui/dialogs/comp-editor-page.h: fixed typo in function prototype.

svn path=/trunk/; revision=18387
2002-10-17 20:59:33 +00:00
00f836ea75 try to preserve the work week view setting if it makes sense (set_view):
2002-10-11  JP Rosevear  <jpr@ximian.com>

	* gui/gnome-cal.c
	(gnome_calendar_on_date_navigator_selection_changed): try to
	preserve the work week view setting if it makes sense
	(set_view): don't update the info again based on our view change
	call

svn path=/trunk/; revision=18369
2002-10-15 16:47:38 +00:00
155223435b Fixes #11434
2002-10-08  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #11434

	* gui/dialogs/comp-editor-page.[ch]
	(comp_editor_page_display_validation_error): new function.

	* gui/dialogs/event-page.c (event_page_fill_component):
	* gui/dialogs/recurrence-page.c (fill_component):
	* gui/dialogs/task-details-page.c (task_details_page_fill_component):
	* gui/dialogs/task-page.c (task_page_fill_component): added
	checks for all date values, and return FALSE if we find
	some invalid date/times.

	* gui/dialogs/comp-editor.c (save_comp): activate the page that
	returns error in fill_component.

svn path=/trunk/; revision=18352
2002-10-08 17:58:08 +00:00
00c1d84f67 set the 24 hour format initially
2002-10-08  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c
	(cal_prefs_dialog_create_time_edit): set the 24 hour format
	initially

2002-10-08  JP Rosevear  <jpr@ximian.com>

	* gui/e-week-view.c: remove pilot settings from contextual menu

	* gui/e-day-view.c: ditto

svn path=/trunk/; revision=18351
2002-10-08 17:02:08 +00:00
acdd11bcb9 Fixes #31774
2002-10-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #31774

	* gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
	palarm_widgets_to_alarm): use correct pointer in loop.

svn path=/trunk/; revision=18346
2002-10-07 20:43:48 +00:00
f5fbf29c4e cast the correct item
2002-10-07  JP Rosevear  <jpr@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct
	item

svn path=/trunk/; revision=18345
2002-10-07 20:30:02 +00:00
bda9596690 Fixes crash in #19159
2002-10-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes crash in #19159

	* gui/alarm-notify/alarm-queue.c (lookup_queued_alarm): don't crash if
	we don't find the queued alarm in the internal list.
	(alarm_trigger_cb, create_snooze, display_notification,
	 audio_notification, procedure_notification, remove_queued_alarm):
	check return value from lookup_queued_alarm.

svn path=/trunk/; revision=18331
2002-10-07 15:52:21 +00:00