Commit Graph

18810 Commits

Author SHA1 Message Date
26f77b16e1 no need to update config settings everywhere explicitly
2003-10-29  JP Rosevear <jpr@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c (update_config): no need to
	update config settings everywhere explicitly

	* gui/tasks-component.c (update_uris_for_selection): cast the
	widget

	* gui/gnome-cal.h: remove proto

	* gui/gnome-cal.c (setup_widgets): don't update config settings
	explicitly
	(gnome_calendar_update_config_settings): kill

	* gui/e-week-view.c: remove null chars

	* gui/e-tasks.h: remove proto

	* gui/e-tasks.c (set_timezone): set the timezone on the client
	(timezone_changed_cb): changed timezone callback
	(setup_config): setup config stuff
	(e_tasks_init): setup config and widgets here
	(e_tasks_new): construct is dead, no need to track all widgets
	(cal_opened_cb): set the timezone upon opening
	(e_tasks_update_all_config_settings): kill

	* gui/control-factory.c (control_factory_new_control): create the
	calendar ourselves

	* gui/calendar-config.c (on_timezone_set): don't update the
	settings everywhere here, we have config managers now

	* gui/calendar-component.c (impl_createControls): create the
	calendar ourselves

	* gui/calendar-commands.h: remove protos

	* gui/calendar-commands.c: remove dead functions

svn path=/trunk/; revision=23117
2003-10-29 15:41:47 +00:00
6c743503b1 set the format on the cal view
2003-10-29  JP Rosevear <jpr@ximian.com>

	* gui/e-day-view-config.c (set_twentyfour_hour): set the format on
	the cal view

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

	* gui/e-cal-list-view-config.c (set_twentyfour_hour): set the 24
	hour format on the view
	(twentyfour_hour_changed_cb): 24 hour format change callback
	(e_cal_list_view_config_set_view): handle 24 hour format change

svn path=/trunk/; revision=23116
2003-10-29 14:37:23 +00:00
fd1be1837a unref config manager (init_widgets): create config manager for the
2003-10-29  JP Rosevear <jpr@ximian.com>

	* gui/dialogs/recurrence-page.c (recurrence_page_finalize): unref
	config manager
	(init_widgets): create config manager for the e-calendar

	* gui/e-tasks.c (setup_widgets): create config manager for the
	table view
	(e_tasks_destroy): unref config manager
	(e_tasks_open): return FALSE not NULL
	(e_tasks_update_all_config_settings): don't configure the calendar
	table here, we have a manager

	* gui/calendar-config.c: remove dead config functions (handled by
	config managers now)

svn path=/trunk/; revision=23115
2003-10-29 14:21:34 +00:00
4cd045fb40 set the timezone for all clients (timezone_changed_cb): callback for
2003-10-29  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (set_timezone): set the timezone for all clients
	(timezone_changed_cb): callback for changes
	(setup_config): setup the configuration
	(setup_widgets): setup up configuration managers for the list
	view, task list and date navigator
	(gnome_calendar_init): setup config
	(gnome_calendar_destroy): destroy configuration managers and
	notifications
	(gnome_calendar_update_config_settings): remove dead bits

	* gui/e-mini-calendar-config.[hc]: manage configuration of an
	e-calendar

	* gui/e-day-view-config.h: remove extraneous comment, type the
	parent class correctly

	* gui/e-week-view-config.h: ditto

	* gui/e-day-view-config.c (e_day_view_config_class_init): type the
	class correctly
	(set_timezone): set timezone
	(timezone_changed_cb): timezone changed callback
	(e_day_view_config_set_view): track timezone changes

	* gui/e-week-view-config.c: ditto

	* gui/e-cell-date-edit-config.[hc]: manage configuration of a date
	edit cell

	* gui/e-calendar-table-config.[hc]: manage configuration of a
	e-calendar-table

	* gui/e-cal-list-view.c (get_current_time_cb): use the view
	timezone to compute

	* gui/e-cal-list-view-config.[hc]: manage configuration of a
	list view

	* gui/calendar-config.h: update protos

	* gui/calendar-config.c
	(calendar_config_add_notification_timezone): notify of timezone
	change
	(calendar_config_add_notification_dnav_show_week_no): notify of
	show week number setting change

	* gui/calendar-component.c (calendar_component_peek): remove bad
comma

	* gui/Makefile.am: build new config classes

svn path=/trunk/; revision=23114
2003-10-29 14:05:34 +00:00
104ef59a6a fixed typo in menu item label.
2003-10-29  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (fill_popup_menu_callback): fixed
	typo in menu item label.

	* gui/e-cal-model.[ch] (e_cal_model_get_use_24_hour_format): new
	function.

	* gui/e-cal-view.[ch]: no need to keep the 'use_24_hour' setting,
	it's already in the model.
	(e_cal_view_get_use_24_hour_format,
	e_cal_view_set_use_24_hour_format): new functions.

	* gui/e-day-view.[ch] (e_day_view_get_24_hour_format,
	(e_day_view_set_24_hour_format): removed.
	(e_day_view_convert_time_to_display, e_day_view_update_event_label,
	e_day_view_get_time_string_width): use the ECalView's function to
	get the 24 hour format.

	* gui/e-week-view.[ch] (e_week_view_get_24_hour_format,
	e_week_view_set_24_hour_format): removed.
	(e_week_view_convert_time_to_display,
	e_week_view_get_time_string_width): use the ECalView's function
	to get the 24 hour format.

	* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
	* gui/e-day-view-time-item.c (e_day_view_time_item_draw):
	* gui/e-week-view-event-item.c (e_week_view_draw_time):
	don't use the view's use_24_hour_format, but the ECalView method.

svn path=/trunk/; revision=23113
2003-10-29 13:27:24 +00:00
89656649cd add certificate-manager.h
2003-10-28  Chris Toshok  <toshok@ximian.com>

	* gui/Makefile.am (libevolution_smime_la_SOURCES): add
	certificate-manager.h

svn path=/trunk/; revision=23112
2003-10-28 22:45:33 +00:00
24b8175a74 We should check List-Post before List-Id (List-Post has to contain the
2003-10-28  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-utils.c: We should check List-Post before List-Id
	(List-Post has to contain the mailing-list posting address,
	whereas List-Id does not.) WAlso moved X-Loop to after List-Id to
	make FreeBSD lusers happy. Fixes bug #32297.

svn path=/trunk/; revision=23111
2003-10-28 19:15:12 +00:00
535593e504 Fixes bug #35083
2003-10-28  Jeffrey Stedfast  <fejj@ximian.com>

	* Fixes bug #35083

	* providers/imap/camel-imap-store.c (connect_to_server): Same
	here.

	* providers/pop3/camel-pop3-store.c (connect_to_server): Same as
	the smtp changes.

	* providers/smtp/camel-smtp-transport.c (connect_to_server): If
	HAVE_SSL is undefined, don't default to raw connections if the
	option to connect via ssl is set. Instead set an exception and
	return fail.

svn path=/trunk/; revision=23110
2003-10-28 19:01:58 +00:00
5e343da080 fill_popup_menu signal has 2 arguments.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* e-source-selector.c (class_init): fill_popup_menu signal has
	2 arguments.

svn path=/trunk/; revision=23109
2003-10-28 18:56:34 +00:00
6f42e19226 connect to "fill_popup_menu" on the ESourceSelector.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (impl_createControls): connect to
	"fill_popup_menu" on the ESourceSelector.
	(fill_popup_menu_callback): add popup menu items here.
	(add_popup_menu_item): new function to add items to the
	popup menu.
	(new_calendar_cb): callbacks for the popup menu items.

svn path=/trunk/; revision=23108
2003-10-28 18:45:49 +00:00
c6fb640109 connect to "fill_popup_menu" on the ESourceSelector.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (impl_createControls): connect to
	"fill_popup_menu" on the ESourceSelector.
	(fill_popup_menu_callback): add popup menu items here.
	(add_popup_menu_item): new function to add items to the
	popup menu.

svn path=/trunk/; revision=23107
2003-10-28 18:42:09 +00:00
66318ca6b0 added "fill_popup_menu" signal, to allow the addition of new items to the
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* e-source-selector.[ch]: added "fill_popup_menu" signal, to
	allow the addition of new items to the popup menu.
	(class_init): create new signal.
	(init): connect to "button_press_event" for the tree view.
	(selector_button_press_event): callback for "button_press_event".
	(e_source_selector_selection_shown): use g_return_val_if_fail.

svn path=/trunk/; revision=23106
2003-10-28 18:15:37 +00:00
c13d31f332 Add e-shell-view.h to evolution_SOURCES
2003-10-28  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Add e-shell-view.h to evolution_SOURCES

svn path=/trunk/; revision=23105
2003-10-28 16:38:03 +00:00
f635d88c63 Fix automake warning, and add e-shell-user-creatable-items-handler.h to
2003-10-28  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Fix automake warning, and add
	e-shell-user-creatable-items-handler.h to evolution_SOURCES

svn path=/trunk/; revision=23104
2003-10-28 15:33:53 +00:00
56914dafa4 no need to keep the timezone here, it is already stored in the model.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-view.c: no need to keep the timezone here, it is
	already stored in the model.
	(e_cal_view_get_timezone): call e_cal_model_get_timezone().
	(e_cal_view_set_timezone): call e_cal_model_set_timezone().
	(e_cal_view_new_appointment_for): use the model's timezone.

svn path=/trunk/; revision=23103
2003-10-28 15:20:18 +00:00
179cdf3686 New; tell each query about a created/modified/removed object.
* pcs/cal-backend.c (cal_backend_notify_object_created,
	cal_backend_notify_object_modified,
	cal_backend_notify_object_removed): New; tell each query about a
	created/modified/removed object.

	* pcs/cal.c (cal_notify_object_created): Use
	cal_backend_notify_object_created.
	(cal_notify_object_modified, cal_notify_object_removed): Likewise
	for modified/removed
	(cal_notify_objects_received): we need both the before and after
	forms for the modified objects so they can be resolved as
	adds/modifies/removes per-query. But the caller can just call the
	cal_backend_* routines for each object anyway, so just remove the
	created/modified/removed lists.

	* pcs/cal-backend-sync.c (cal_backend_sync_receive_objects):
	Remove created/modified/removed list arguments.
	(_cal_backend_receive_objects): Likewise.

	* pcs/cal-backend-file.c (cal_backend_file_receive_objects):
	Remove created/modified/removed list arguments. Replace the one
	use of *removed with a call to cal_backend_notify_object_removed.

svn path=/trunk/; revision=23102
2003-10-28 13:32:55 +00:00
196efb7acc better detection of broken date to give to broken_date_parser.
* camel-mime-utils.c: (camel_header_decode_date):
       better detection of broken date to give to broken_date_parser.

svn path=/trunk/; revision=23101
2003-10-28 13:22:13 +00:00
9d85d642b2 add new file for toggle cell a11y object. new a11y object toggle cell
2003-10-26  Yuedong Du  <yuedong.du@sun.com>

        * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y
         object.
        * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell        (gal_a11y_e_cell_toggle_get_type),
        (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the
        implementation of toggle cell action.
        (gal_a11y_e_cell_toggle_new):
        * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto
        * gal/a11y/e-table/gal-a11y-e-cell.c:
        (_gal_a11y_e_cell_get_action_info),
        (_gal_a11y_e_cell_destroy_action_info),
        (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action),
        (gal_a11y_e_cell_remove_action_by_name),
        (gal_a11y_e_cell_action_get_n_actions),
        (gal_a11y_e_cell_action_get_name),
        (gal_a11y_e_cell_action_get_description),
        (gal_a11y_e_cell_action_set_description),
        (gal_a11y_e_cell_action_get_keybinding), (idle_do_action),
        (gal_a11y_e_cell_action_do_action),
        (gal_a11y_e_cell_atk_action_interface_init),
        (gal_a11y_e_cell_type_add_action_interface),
        (gal_a11y_e_cell_add_state): helper functions for add a action,
        stealed from gailcell.c
        * gal/a11y/e-table/gal-a11y-e-cell.h:
        * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register
        toggle's a11y object.

svn path=/trunk/; revision=23095
2003-10-28 05:41:05 +00:00
238350ee21 store config objects as well (gnome_calendar_set_default_uri): return
2003-10-27  JP Rosevear <jpr@ximian.com>

	* gui/gnome-cal.c (setup_widgets): store config objects as well
	(gnome_calendar_set_default_uri): return FALSE if the
	pre-condition fails
	(gnome_calendar_update_config_settings): remove settings that are
	now handled by the config objects

	* gui/e-week-view.c (e_week_view_set_compress_weekend): queue a
	draw

	* gui/e-itip-control.c (start_default_server): comment out

	* gui/e-day-view-config.[hc]: a class to track config changes of
	interest to day views

	* gui/e-week-view.[hc]: ditto for week views

	* gui/calendar-config.h: add protos

	* gui/calendar-config.c: use the #defines for the keys and add
	notification routines

	* gui/calendar-config-keys.h: a list of defines for gconf keys

	* gui/Makefile.am: build new files

svn path=/trunk/; revision=23094
2003-10-27 22:46:10 +00:00
aa7103dfa1 Fix for "50065 chinese locales Input method hangs after a task entry and
* Fix for "50065 chinese locales Input method hangs after a task entry
        and new folder creation"

        * gal/e-table/e-cell-text.c: (ect_event) Added check to return
        if preedit_length == 0 and E_CELL_PREEDIT flag is set.

svn path=/trunk/; revision=23093
2003-10-27 22:21:18 +00:00
e2881f6524 Fixes bug #49816
2003-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* Fixes bug #49816

	* em-popup.c (emp_part_popup_reply_sender): No need to pass a
	parent window arg anymore.
	(emp_part_popup_reply_list): Same.
	(emp_part_popup_reply_all): Here too.
	(emp_part_popup_forward): Same.
	(emp_uri_popup_address_send): Here too.

	* em-folder-browser.c (emfb_mail_compose): No need to pass a
	parent window arg anymore.
	(emfb_mail_post): Same.

	* em-folder-view.c (emfv_message_reply): Don't pass a parent
	window argument anymore.
	(emfv_popup_forward): Same.
	(emfv_popup_resend): Same here.
	(em_folder_view_open_selected): Same.
	(emfv_message_forward_attached): Here too.
	(emfv_message_forward_inline): And here.
	(emfv_message_forward_quoted): Same.
	(emfv_message_redirect): Here too.
	(emfv_message_post_reply): And here.
	(emfv_format_link_clicked): ANd finally here.

	* em-utils.c (create_new_composer): Don't set_transient_for()
	anymore.
	(em_utils_compose_new_message): No longer takes a parent window
	argument.
	(em_utils_forward_attached): No longer takes a parent window arg.
	(em_utils_forward_inline): Same.
	(em_utils_forward_quoted): Same.
	(em_utils_forward_message): Same.
	(em_utils_forward_messages): Here too.
	(redirect_get_composer): Don't set_transient_for() here either.
	(em_utils_redirect_message): No longer takes a parent window arg.
	(em_utils_redirect_message_by_uid): Same.
	(reply_get_composer): Don't set_transient_for() here.
	(em_utils_reply_to_message): No longer takes a parent window arg.
	(em_utils_reply_to_message_by_uid): Same.
	(post_reply_to_message): Don't set_transient_for() here.
	(em_utils_post_reply_to_message_by_uid): No longer takes a parent
	window arg.
	(em_utils_compose_new_message_with_mailto): Don't
	set_transient_for() here.
	(em_utils_post_to_url): Same.
	(em_utils_edit_message): No longer takes a parent window arg.
	(em_utils_edit_messages): Same.

svn path=/trunk/; revision=23092
2003-10-27 21:31:19 +00:00
779d9a48b8 If a word is longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it.
2003-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-text-index.c (text_index_name_add_buffer): If a word is
	longer than CAMEL_TEXT_INDEX_MAX_WORDLEN, then ignore it. This
	fixes bug #50096.

svn path=/trunk/; revision=23091
2003-10-27 20:21:19 +00:00
81a6d7f5fe changed fill_component_from_model virtual method to get an ETableModel,
2003-10-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/e-cal-model.h: changed fill_component_from_model virtual
	method to get an ETableModel, not an ECalModel.

	* gui/e-cal-model.c (ecm_append_row): the source model sent from
	ETable is an ETableModel, not an ECalModel.

	* gui/e-cal-model-calendar.c (ecmc_fill_component_from_model):
	get an ETableModel for the 'source_model' argument.

	* gui/e-cal-model-tasks.c (ecmt_fill_component_from_model): ditto.

svn path=/trunk/; revision=23082
2003-10-27 13:11:52 +00:00
d14abf0434 pass FALSE as the 'only_if_exists' parameter, so that the calendar gets
2003-10-27  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (add_uri_for_source): pass FALSE as the
	'only_if_exists' parameter, so that the calendar gets created when
	it still does not exist.

svn path=/trunk/; revision=23080
2003-10-27 11:29:23 +00:00
285996988d initialize private structure on TasksComponent.
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* gui/tasks-component.c (tasks_component_init): initialize private
	structure on TasksComponent.

svn path=/trunk/; revision=23078
2003-10-24 22:07:52 +00:00
7e0411b464 If the system defines AI_ADDRCONFIG, set this flag on the hints.ai_flags
2003-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-host-utils.c (e_gethostbyname_r): If the system defines
	AI_ADDRCONFIG, set this flag on the hints.ai_flags member as well
	so that we don't resolve a host to an IPv6 addr when the node
	doesn't have any IPv6 source addresses.

svn path=/trunk/; revision=23077
2003-10-24 21:59:47 +00:00
b884a64790 added a configure check for AI_ADDRCONFIG
2003-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: added a configure check for AI_ADDRCONFIG

svn path=/trunk/; revision=23076
2003-10-24 21:57:11 +00:00
10c4c2efcf removed mail-summary.c
svn path=/trunk/; revision=23073
2003-10-24 21:03:04 +00:00
6886ea064b get rid of this bloody file...
svn path=/trunk/; revision=23072
2003-10-24 20:13:49 +00:00
6193e7ae7a more cruft gone to the bit bucket...
svn path=/trunk/; revision=23071
2003-10-24 20:12:34 +00:00
822bfe90dd good bye...
svn path=/trunk/; revision=23070
2003-10-24 20:10:22 +00:00
5bbd872a0d removed more cruft
svn path=/trunk/; revision=23069
2003-10-24 20:08:48 +00:00
99c8241ebb removed unused files
svn path=/trunk/; revision=23068
2003-10-24 20:05:53 +00:00
e10b461c43 fixed POTFILES.in
svn path=/trunk/; revision=23067
2003-10-24 19:32:50 +00:00
5ae78b362f Re-Namespaced mail-accounts.c
2003-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* em-account-prefs.[c,h]: Re-Namespaced mail-accounts.c

	* em-composer-prefs.[c,h]: Re-Namespaced mail-composer-prefs.c

	* em-mailer-prefs.[c,h]: Re-Namespaced mail-preferences.c

	* mail-accounts.[c,h]: Removed.

	* mail-composer-prefs.[c,h]: Removed.

	* mail-preferences.[c,h]: Removed.

	* mail-account-editor.c: Updated.

	* mail-account-gui.c: Updated.

	* mail-config-factory.c: Updated.

	* mail-component-factory.c: Updated.

svn path=/trunk/; revision=23066
2003-10-24 19:31:22 +00:00
602ee2f496 removed repeated initialization. (calendar_component_peek): use G_STRLOC
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* gui/calendar-component.c (calendar_component_class_init): removed
	repeated initialization.
	(calendar_component_peek): use G_STRLOC for g_warning's.

	* gui/tsaks-control.[ch] (tasks_control_activate,
	tasks_control_deactivate): made these 2 functions public.

	* gui/tasks-component.[ch]: implementation of the tasks component.

	* gui/Makefile.am:
	* gui/GNOME_Evolution_Calendar.server.in.in: added tasks component.

	* gui/main.c: ditto.
	(factory): added code to create the tasks component when requested.

svn path=/trunk/; revision=23065
2003-10-24 17:46:27 +00:00
ea5a22bc0e add AM_DISABLE_STATIC here too.
* configure.in: add AM_DISABLE_STATIC here too.

svn path=/trunk/; revision=23064
2003-10-24 16:59:33 +00:00
89e5f86d5e put back the conditional libpasldap stuff, and make evolution-wombat
* Makefile.am (evolution_wombat_LDADD): put back the conditional
	libpasldap stuff, and make evolution-wombat explicitly depend on
	the specific backends again; libpas itself cannot depend on the
	backends. Use libpcsfile.la for the calendar dependency, and
	remove libebook, libcal-util, libedb3util and libeutil, since
	they're properly pulled in by libtool now.

svn path=/trunk/; revision=23063
2003-10-24 15:41:14 +00:00
0e7e3a04bb libpas should depend on libebook, but NOT on libpasfile, etc, since it
* backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend
	on libebook, but NOT on libpasfile, etc, since it needs to be
	linked into all backends, not just the wombat.
	(libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la
	(libpasvcf_la_LIBADD): depend on libpas.la
	(libpasldap_la_LIBADD): depend on libpas.la and  $(LDAP_LIBS)

svn path=/trunk/; revision=23062
2003-10-24 15:37:56 +00:00
8fcca0ed99 build libpcs.la and libpcsfile.la instead of just .a. (libpcs_la_LIBADD):
* pcs/Makefile.am: build libpcs.la and libpcsfile.la instead of
	just .a.
	(libpcs_la_LIBADD): depend on libcal-util.la and libeutil.la
	(libpcsfile_la_LIBADD): depend on libpcs.la

svn path=/trunk/; revision=23061
2003-10-24 15:35:50 +00:00
d965dbd839 add $(DB3_LDADD)
* Makefile.am (libedb3util_la_LIBADD): add $(DB3_LDADD)

svn path=/trunk/; revision=23060
2003-10-24 15:34:09 +00:00
56d094b8c0 Remove type arg
* cal-client/cal-client.c (cal_client_get_changes): Remove type arg

	* conduits/calendar/calendar-conduit.c (pre_sync, post_sync):
	Update for that

	* conduits/todo/todo-conduit.c (pre_sync, post_sync): Likewise

	* idl/evolution-calendar.idl (getChanges): Remove type arg.

	* pcs/cal.c (impl_Cal_getChanges): Likewise

	* pcs/cal-backend.c (cal_backend_get_changes): Likewise

	* pcs/cal-backend-sync.c (cal_backend_sync_get_changes): Likewise

	* pcs/cal-backend-file.c (cal_backend_file_get_changes): Update
	for that

svn path=/trunk/; revision=23059
2003-10-24 15:00:11 +00:00
53f60e8802 new functions for individual instances management.
2003-10-24  Rodrigo Moya <rodrigo@ximian.com>

	* cal-util/cal-util.[ch] (cal_util_construct_instance,
	cal_util_remove_instances): new functions for individual
	instances management.

	* pcs/cal-backend-file.c (cal_backend_file_get_object): if we
	dont have a recurrence in our hash table, generate one for the
	specified recurrence ID.
	(match_recurrence_sexp): new function to match recurrences on
	regular expresessions.
	(match_object_sexp): call match_recurrence_sexp() for all recurrences.
	(cal_backend_file_modify_object): handle mod_types.
	(cal_backend_file_remove_object): handle mod_types.

svn path=/trunk/; revision=23058
2003-10-24 14:39:28 +00:00
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