Commit Graph

18667 Commits

Author SHA1 Message Date
98f0136ffa update protos
2003-10-24  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.h: update protos

	* gui/gnome-cal.c (gnome_calendar_set_default_uri): set the
	default client based on uri

	* gui/calendar-component.c (add_uri_for_source): rename from
	load_uri_for_source and take a calendar
	(remove_uri_for_source): utility routine to remove the source's
	uri from the calendar
	(is_in_selection): checks to see if the uid of the given source
	matches any of those in the given selection
	(update_uris_for_selection): remove any uris no longer in the
	selection, add those that still exist
	(source_selection_changed_callback): call above
	(primary_source_selection_changed_callback): we have the calendar
	easily now; set the default by uri
	(control_activate_cb): handle activation and de-activation
	(impl_createControls): create the calendar control ourselves so we
	have access to the calendar
	(impl_dispose): release the source selection

svn path=/trunk/; revision=23057
2003-10-24 13:31:00 +00:00
5146cded3b Change YFLAGS to AM_YFLAGS to stop an automake 1.7 warning
* libversit/Makefile.am: Change YFLAGS to AM_YFLAGS to stop an
	automake 1.7 warning

svn path=/trunk/; revision=23056
2003-10-24 13:05:56 +00:00
5a08b885cc if the component received is an instance, add it to the recurrences hash
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* pcs/cal-backend-file.c (add_component): if the component received
	is an instance, add it to the recurrences hash table.
	(free_recurrence): callback for g_hash_table_foreach() to free
	the recurrences in the CalBackendFileObject structure.
	(free_object): call free_recurrence for each recurrence.
	(remove_recurrence_cb): g_hash_table_foreach() callback to
	remove recurrences from the calendar.
	(remove_component): remove all recurrences.
	(cal_backend_file_open): check write access on the file, and
	set read_only flag appropriately.
	(cal_backend_file_is_read_only): return the private flag.
	(cal_backend_file_init): initialize read_only flag.
	(cal_backend_file_get_object): deal with recurrences.

	* gui/alarm-notify/notify-main.c (main): unref the alarm
	notification service when terminating.
	(client_die_cb): call bonobo_main_quit instead of gtk_main_quit.

svn path=/trunk/; revision=23055
2003-10-23 21:23:10 +00:00
e2ff6cc193 just uses the views array and the current view type (setup_widgets): ditto
2003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (gnome_calendar_get_current_view_widget): just
	uses the views array and the current view type
	(setup_widgets): ditto
	(set_view): ditto
	(backend_died_cb): ditto
	(gnome_calendar_get_calendar_model): ditto
	(gnome_calendar_update_config_settings): ditto

svn path=/trunk/; revision=23054
2003-10-23 20:20:18 +00:00
10a4435447 Allocate colors using gdk_colormap_alloc_color().
2003-10-23  Hans Petter Jansson  <hpj@ximian.com>

	* e-table-item.c (eti_get_cell_background_color): Allocate
	colors using gdk_colormap_alloc_color().

svn path=/trunk/; revision=23053
2003-10-23 20:18:55 +00:00
b1be2a6d83 Removed unneeded CAMEL_OBJECT() casts.
2003-10-23  Jeffrey Stedfast  <fejj@ximian.com>

	* *.c: Removed unneeded CAMEL_OBJECT() casts.

svn path=/trunk/; revision=23052
2003-10-23 19:57:58 +00:00
18ca85654d Remove mail/importers/Makefile from AC_OUTPUT yet again
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* confiugre.in: Remove mail/importers/Makefile from AC_OUTPUT
	yet again

svn path=/trunk/; revision=23051
2003-10-23 19:33:45 +00:00
db08798692 s/smime-gui.glade/smime-ui.glade/
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* POTFILES.in: s/smime-gui.glade/smime-ui.glade/

svn path=/trunk/; revision=23050
2003-10-23 18:33:59 +00:00
b90af26ba8 Add some missing files, and remove files that have been removed from CVS
2003-10-23  Rodney Dawes  <dobey@ximian.com>

	* POTFILES.in: Add some missing files, and remove files
	that have been removed from CVS
	* POTFILES.skip: Add data/evolution.desktop.in

svn path=/trunk/; revision=23049
2003-10-23 17:27:20 +00:00
00829a7012 convert 8 spaces to a tab.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* tools/Makefile.am: convert 8 spaces to a tab.

	* tools/.cvsignore: ignore evolution-addressbook-abuse and
	evolution-addressbook-clean.

	* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
	add libevolution-smime.la.

	* gui/component/component-factory.c (factory): add the certificate
	manager config control stuff here, at least for now.

	* gui/component/GNOME_Evolution_Addressbook.server.in.in: same.

svn path=/trunk/; revision=23048
2003-10-23 17:24:59 +00:00
71e7cc3890 add smime/* dirs. to AC_OUTPUT.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* configure.in: add smime/* dirs. to AC_OUTPUT.

	* Makefile.am (SUBDIRS): add smime/.

svn path=/trunk/; revision=23047
2003-10-23 17:22:12 +00:00
a367121072 accept also text/calendar for D&D.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-day-view.c: accept also text/calendar for D&D.

svn path=/trunk/; revision=23046
2003-10-23 16:36:14 +00:00
29442d9db3 use the internal client list to create the queries
2003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (update_query): use the internal client list to
	create the queries
	(gnome_calendar_destroy): use the internal client list to
	disconnect signal handlers
	(gnome_calendar_add_event_uri): add the client to the internal
	list
	(gnome_calendar_remove_event_uri): remove the client from the
	internal list and lookup the client
	(gnome_calendar_update_config_settings): use the internal client
	list to update the config settings

svn path=/trunk/; revision=23045
2003-10-23 16:29:08 +00:00
86c72e886a fix typo (e_day_view_on_main_canvas_drag_data_received): fix C99 issue,
003-10-23  JP Rosevear <jpr@ximian.com>

	* gui/e-day-view.c (e_day_view_on_top_canvas_drag_data_received):
	fix typo
	(e_day_view_on_main_canvas_drag_data_received): fix C99 issue, fix
	typo

svn path=/trunk/; revision=23044
2003-10-23 16:28:40 +00:00
39e61ddef3 add smime files.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* POTFILES.in: add smime files.

svn path=/trunk/; revision=23043
2003-10-23 16:12:38 +00:00
1609f69980 initial addition of s/mime foo.
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* lib/e-cert.[ch], lib/Makefile.am, gui/certificate-manager.[ch],
	gui/Makefile.am, gui/smime-ui.glade, Makefile.am: initial addition
	of s/mime foo.

svn path=/trunk/; revision=23042
2003-10-23 16:11:32 +00:00
eca844b013 remove and free op before return.
2003-10-23  Harry Lu  <harry.lu@sun.com>

	* cal-client/cal-client.c: (cal_client_get_timezone): remove and free
	op before return.

	* gui/e-cal-view.c (e_cal_view_add_event): modified from
	selection_received_add_event() so that it call be called out of
	e-cal-view.c.
	(selection_received): modified to call e_cal_view_add_event().

	* gui/e-cal-view.h: add declaration for e_cal_view_add_event().

	* gui/e-day-view.c (e_day_view_on_drag_data_get): Provide a
	icalcomponent for both TARGET_CALENDAR_EVENT and TARGET_VCALENDAR.
	(e_day_view_on_top_canvas_drag_data_received): If dragging between
	different windows, make it works like a copy and paste.
	(e_day_view_on_main_canvas_drag_data_received): ditto.

svn path=/trunk/; revision=23041
2003-10-23 16:10:09 +00:00
39e56385b1 handle the case where label == NULL, and set it to _("Unknown").
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* e-component-registry.c (query_components): handle the case where
	label == NULL, and set it to _("Unknown").

svn path=/trunk/; revision=23040
2003-10-23 15:51:57 +00:00
fb4cd03fda Check for gnome-thumbnail.h existence (really committed this time).
* configure.in: Check for gnome-thumbnail.h existence
        (really committed this time).

svn path=/trunk/; revision=23039
2003-10-23 15:37:28 +00:00
5524f90bdf Add "calendar:supported_protocol" attribute that was missing here (but was
Add
"calendar:supported_protocol" attribute that was missing here (but
was in the LDAP one).

svn path=/trunk/; revision=23038
2003-10-23 14:51:23 +00:00
6668238239 install all of the headers that ical.h now #includes
* src/libical/Makefile.am (libical_evolutioninclude_HEADERS):
	install all of the headers that ical.h now #includes

svn path=/trunk/; revision=23037
2003-10-23 14:42:45 +00:00
5fa4b831a7 update g_date calls to non-deprecated calls
2003-10-23  JP Rosevear <jpr@ximian.com>

	* cal-util/cal-recur.c: update g_date calls to non-deprecated
	calls

	* cal-util/Makefile.am: turn off deprecated funcs

	* cal-client/Makefile.am: turn off deprecated funcs

	* cal-client/cal-client.c (cal_client_get_error_message): add OK
	message

	* pcs/cal-backend.[hc]: remove dead funcs

	* pcs/query.c: tidy headers

svn path=/trunk/; revision=23035
2003-10-23 13:55:00 +00:00
e047d6366a OOps, I forgot this one.
add gnome-thumbnail.h detection

svn path=/trunk/; revision=23034
2003-10-23 13:48:39 +00:00
d173f20d8a Fix c/p typo - call removed instead of modify
2003-10-23  JP Rosevear <jpr@ximian.com>

	* pcs/query.c (query_notify_objects_removed_1): Fix c/p typo -
	call removed instead of modify

svn path=/trunk/; revision=23033
2003-10-23 13:11:51 +00:00
bdaae91bfe guard against irrelevant args (ie if there was an error)
2003-10-23  JP Rosevear <jpr@ximian.com>

 	* pcs/cal.c (cal_notify_object_modified): guard against irrelevant
 	args (ie if there was an error)
 	(cal_notify_object_removed): ditto
 	(cal_notify_timezone_added): ditto

 	* pcs/cal-backend-sync.c (_cal_backend_is_read_only): init value
 	to something known
 	(_cal_backend_get_cal_address): ditto
 	(_cal_backend_get_alarm_email_address): ditto
 	(_cal_backend_get_ldap_attribute): ditto
 	(_cal_backend_get_static_capabilities): ditto
 	(_cal_backend_modify_object): ditto
 	(_cal_backend_remove_object): ditto
 	(_cal_backend_get_object_list): ditto

2003-10-22  JP Rosevear <jpr@ximian.com>

 	* gui/e-cal-list-view.c (e_cal_list_view_new): create a model and
 	pass it as an arg during creation

 	* gui/e-day-view.c (e_day_view_new): unref the model

 	* gui/e-week-view.c (e_week_view_new): ditto

2003-10-22  JP Rosevear <jpr@ximian.com>

 	* cal-client/cal-client.c (cal_client_get_object): only change to
 	invalid object error code if we got the object but couldn't parse
 	it, and only check for timezones if we had success

 	* gui/comp-util.c (cal_comp_is_on_server): don't throw a warning
 	if the object simply does not exist

svn path=/trunk/; revision=23032
2003-10-23 12:54:43 +00:00
c1103e4a29 make it work with the new ebook api
003-10-21  JP Rosevear <jpr@ximian.com>

 	* conduit/address-conduit.c: make it work with the new ebook api

 	* backend/pas/pas-book.c (pas_book_respond_get_changes): put the
 	vcard in for every change

 	* backend/pas/pas-backend.c (pas_backend_change_add_new): just use
 	the vcard field
 	(pas_backend_change_modify_new): ditto
 	(pas_backend_change_delete_new): ditto

 	* backend/pas/pas-backend-file.c
 	(pas_backend_file_changes_foreach_key): create a fake contact with
 	the uid
 	(pas_backend_file_get_changes): add the card to the changes

 	* backend/ebook/tests/ebook/test-changes.c (main): just print the
 	uid

 	* backend/ebook/e-book.c (e_book_free_change_list): unref the
 	contact

 	* backend/ebook/e-book-types.h: the change struct contains an
 	EContact now

 	* backend/ebook/e-book-listener.c
 	(impl_BookListener_respond_get_changes): create the contact from
 	the vcard string

 	* backend/idl/addressbook.idl: Book change item is no longer a
 	union, it always gives back a card

svn path=/trunk/; revision=23031
2003-10-23 12:52:46 +00:00
2c1e34fa85 connect also to ETableModel's "model_cell_changed" signal.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.c (e_cal_view_init): connect also to ETableModel's
	"model_cell_changed" signal.
	(e_cal_view_set_model): likewise.
	(model_cell_changed_cb): callback for "model_cell_changed".
	(e_cal_view_destroy): use g_signal_handlers_disconnect_matched instead
	of g_signal_handlers_disconnect_by_func, so that all handlers are
	disconnected.

svn path=/trunk/; revision=23029
2003-10-23 10:48:12 +00:00
ccef3fc1c7 fixed typo in variable name.
2003-10-23  Rodrigo Moya <rodrigo@ximian.com>

	* gui/component/addressbook-config.c
	(addressbook_dialog_create_source_table): fixed typo in variable name.

svn path=/trunk/; revision=23028
2003-10-23 09:16:41 +00:00
f9e394b345 new function to remove calendars from the views.
2003-10-22  Rodrigo Moya <rodrigo@ximian.com>

	* gui/gnome-cal.[ch] (gnome_calendar_remove_event_uri): new
	function to remove calendars from the views.

svn path=/trunk/; revision=23027
2003-10-23 07:40:08 +00:00
b467d0af35 Add an "evolution:button_icon" attribute.
svn path=/trunk/; revision=23025
2003-10-23 00:22:42 +00:00
112f600af2 Add an "evolution:button_icon" attribute.
Add an
"evolution:button_icon" attribute.

svn path=/trunk/; revision=23024
2003-10-23 00:22:22 +00:00
0935ca72c9 Add a little border to the buttons so it looks nicer.
* e-sidebar.c (e_sidebar_add_button): Add a little border to the
buttons so it looks nicer.

* e-component-registry.c (query_components): Set an icon from the
"evolution:button_icon" attribute.

svn path=/trunk/; revision=23023
2003-10-23 00:20:01 +00:00
abb1418197 removed mail-local.[c,h]
svn path=/trunk/; revision=23022
2003-10-22 21:58:16 +00:00
5c07e0451b more files removed
svn path=/trunk/; revision=23021
2003-10-22 21:52:59 +00:00
95c5f23b8f ding dong the witch is dead
svn path=/trunk/; revision=23020
2003-10-22 21:52:28 +00:00
7f7c5dd013 buh-bye mail-search.[c,h]
was nice knowin' ya!

svn path=/trunk/; revision=23019
2003-10-22 21:50:39 +00:00
8f39c7b6f5 Set $ACLOCAL to have the $ACLOCAL_FLAGS in it, so
it doesn't fail to regenerate the files if you run make without a
manual autogen after making changes to configure.in and friends.
[Many thanks to Marco Pesenti Gritti for pointing out the fix to
me.]

svn path=/trunk/; revision=23018
2003-10-22 21:49:02 +00:00
dc6bea5487 New member "component_registry". (e_shell_construct): Don't call
* e-shell.c (struct _EShellPrivate): New member
"component_registry".
(e_shell_construct): Don't call e_shell_unregister_all().
(e_shell_unregister_all): Removed.
(e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE
assignments.
(e_shell_init): Initialize the component_registry.
(e_shell_peek_uri_schema_registry): Rename from
e_shell_get_uri_schema_registry.
(e_shell_peek_component_registry): New.
(setup_components): Remove.
(e_shell_construct): Don't call.

* main.c (no_windows_left_cb): Don't call e_shell_unregister_all().

* e-shell.c (parse_default_uri): Removed.
(parse_evolution_uri): Removed.
(e_shell_parse_uri): Removed.

* e-component-info.c: Remove.
* e-component-info.h: Remove.

svn path=/trunk/; revision=23017
2003-10-22 21:48:49 +00:00
e4276a136b Add an "evolution:button_sort_order" property.
Add an
"evolution:button_sort_order" property.

svn path=/trunk/; revision=23016
2003-10-22 21:48:30 +00:00
b72efb3fb5 Add an "evoution:button_sort_order" attribute.
Add an
"evoution:button_sort_order" attribute.

svn path=/trunk/; revision=23015
2003-10-22 21:48:23 +00:00
5b97776de3 Add an "evolution:button_sort_order" attribute.
Add an
"evolution:button_sort_order" attribute.

svn path=/trunk/; revision=23014
2003-10-22 21:48:17 +00:00
83c275242c removed old upgrade-mailer.c script
svn path=/trunk/; revision=23013
2003-10-22 21:47:44 +00:00
e06d93941f removed stale etspec files
svn path=/trunk/; revision=23012
2003-10-22 21:45:40 +00:00
008f188bf6 removed unused etspec files
svn path=/trunk/; revision=23011
2003-10-22 21:45:05 +00:00
c97bcfe47e removed more files
svn path=/trunk/; revision=23010
2003-10-22 21:43:45 +00:00
d6cf49ba9b removed more unused source files
svn path=/trunk/; revision=23009
2003-10-22 21:43:13 +00:00
40b14d215f Removed some unused mail source files
2003-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* POTFILES.in: Removed some unused mail source files

svn path=/trunk/; revision=23008
2003-10-22 21:41:22 +00:00
8ee9b35810 removed #include "folder-browser.h"
svn path=/trunk/; revision=23007
2003-10-22 21:39:34 +00:00
1d3074cff4 removed unused source files
svn path=/trunk/; revision=23006
2003-10-22 21:38:25 +00:00
5fa47b4bf3 remove unused files
svn path=/trunk/; revision=23005
2003-10-22 21:37:23 +00:00