Commit Graph

12287 Commits

Author SHA1 Message Date
750c920dcd Outlooks (2000) places "Standard Time" and "Daylight Time" in the TZNAME
2001-10-25  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_tznames_from_vtimezone):
	Outlooks (2000) places "Standard Time" and "Daylight Time" in the
	TZNAME strings, which is useless, so return NULL in that case.
	ETimezoneEntry will then use the TZID instead, in which Outlook does
	place the actual timezone name. (I just hope Outlook doesn't translate
	"Standard Time" to other languages, as we won't be able to fix it then)

svn path=/trunk/; revision=14107
2001-10-25 23:27:47 +00:00
62f4997a26 add separator before text size menu
2001-10-25  Larry Ewing  <lewing@ximian.com>

	* evolution-mail-message.xml: add separator before text size menu

svn path=/trunk/; revision=14106
2001-10-25 22:54:53 +00:00
8ede51a94d Updated Norwegian (bokmål) translation. Updated with some missing files.
2001-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
	* POTFILES.in: Updated with some missing files.

svn path=/trunk/; revision=14105
2001-10-25 22:31:07 +00:00
fb5bec84e9 Handle failure from XGetClassHint properly. Also, free res_name and
* e-shell.c (impl_Shell_selectUserFolder): Handle failure from
XGetClassHint properly.  Also, free res_name and res_class in case
of success.  Fixes #13554.

svn path=/trunk/; revision=14104
2001-10-25 22:28:13 +00:00
5fe02094b8 Don't forget to unref the filter driver here.
2001-10-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (send_mail_free): Don't forget to unref the filter
	driver here.

svn path=/trunk/; revision=14103
2001-10-25 22:04:48 +00:00
54433d0888 Don't display an icon for storages that have subfolders.
* e-storage-set-view.c (etree_icon_at): Don't display an icon for
storages that have subfolders.

svn path=/trunk/; revision=14102
2001-10-25 21:55:39 +00:00
5
cab9406217 So apparently the uicomp can just 'vanish' while we're using it. Joy. Take
2001-10-25    <NotZed@Ximian.com>

	* folder-browser-ui.c (fbui_sensitize_timeout): So apparently the
	uicomp can just 'vanish' while we're using it.  Joy.  Take care of
	that case here, fixes #13482.
	(fbui_sensitise_item): Check here too just for kicks.

	* mail-folder-cache.c (store_finalised): If we can't destroy our
	async event, then queue another one to do it.
	(store_finalised_finish): And handle it here, until we can, then
	free it.
	(mail_note_store): Queue an async event to get folderinfo, dont
	use mail_get_folderinfo.
	(update_folders_get): thread-async event to retrieve the
	folderinfo, and build it, then queues gui-async event to update
	the gui.
	(add_unmatched_info): Taken from mail-ops, adds unmatched if
	required.
	(add_vtrash_info): From mail-ops, add trash if required.
	(update_folders): Thread async event to update gui.
	(mail_note_store): Ref the store and storage when created.
	(update_1folder): Changed to assume we have info_lock, and store
	updates in an updates list.
	(setup_folder): Same.
	(folder_changed): Changed to call update_1folder directly.
	(real_folder_changed): Removed.
	(mail_note_folder): Changed to call update_1folder directly.
	(real_note_folder): Removed.
	(store_folder_subscribed): Call setup_folder directly.
	(real_folder_created): Removed.
	(real_flush_update): Function that actually does the updates in
	the gui thread.
	(mail_note_store): Go back to using mail_get_folderinfo.
	(update_folders): Fixed upf ro changed api's.
	(unset_folder_info): Changed to queue pending updates.
	(real_folder_deleted): Removed.
	(store_folder_unsubscribed): Do the removal work directly.
	(mail_note_store): Dont link to finalised event of store - we now
	ref it.
	(mail_note_store_remove): If we have any pending updates, clear
	them out.  Also cancel any pending folderinfo retrieve operations.
	(update_folders): Remove our update from the storeinfo list, if it
	still exists.
	(update_1folder): Make 'sent folder shows all counts' optional via
	an environmental variable EVOLUTION_COUNT_SENT for all those
	bloody whinging lusers out there.
	(mail_note_store_remove): Unref the storage when done.

	* mail-mt.c (mail_async_event_emit): If we're in main and have a
	gui task, set it to run via an idle function.
	(idle_async_event): Wrapper for calling do_async_event from idle
	function, and freeing the message when done.
	(idle_async_event): Call mail_msg_free not free on the finished
	message.

	* component-factory.c (mail_remove_storage): Destroy the storage
	async.
	(store_disconnect): This does the work.
	(free_storage): Un-note the store when we remove it, so the store
	noting code can unref things properly.
	(idle_quit): Return false when done, dont loop.

2001-10-24    <NotZed@Ximian.com>

	* component-factory.c (owner_set_cb): Setup an async_event
	handler.
	(idle_quit): Try to destroy the async_event, or keep dropping out
	if it can't (deadlock).

	* mail-mt.c (do_async_event): Set the threadid of the thread we're
	running in so we know its running/which thread its in.
	(mail_async_event_emit): Added new argument 'type' which is the
	type of thread to execute against, gui or another one.  Fixed all
	callers.
	(mail_async_event_destroy): Return -1 if this operation will fail
	(deadlock possibility).  If we're in the thread of the task
	we're going to wait for, then return a failure (since we will
	deadlock).
	(mail_async_event_emit): Chagned to use MailAsyncFunc type as the
	function type, which just takes 3 void args, change args to suit.

	* mail-folder-cache.c (mail_note_store): Record the pending update
	events in a pending list.  We should really be able to use an
	async event for this, but that doesn't return to the gui loop when
	done :-/
	(update_folders): Remove from pending update when done.

svn path=/trunk/; revision=14101
2001-10-25 21:21:33 +00:00
7e6933926a #include "e-util/e-gtk-utils.h".
* e-shell-importer.c: #include "e-util/e-gtk-utils.h".

* e-shell-folder-creation-dialog.c
(e_shell_show_folder_creation_dialog): Constify a local variable
to placate a warning.

* e-activity-handler.c (task_widget_cancel_callback): #if 0'ed
out.

* evolution-shell-component-client.c
(evolution_shell_component_client_new): Remove unused variable
`ior'.

svn path=/trunk/; revision=14100
2001-10-25 21:19:01 +00:00
4f0f5db2c0 Set ->priv to NULL. (impl_operationStarted): Check for priv not being
* e-activity-handler.c (impl_destroy): Set ->priv to NULL.
(impl_operationStarted): Check for priv not being NULL.
(impl_operationProgressing): Likewise.
(impl_operationFinished): Likewise.
(impl_requestDialog): Likewise.

svn path=/trunk/; revision=14099
2001-10-25 21:08:35 +00:00
e5b46e5078 Updated Polish translation by GNOME PL Team <translators@gnome.pl>
svn path=/trunk/; revision=14098
2001-10-25 20:03:14 +00:00
580b80f5b3 It is possible for start_foo.value to be NULL after a cal to
2001-10-25  Jon Trowbridge  <trow@ximian.com>

	* e-summary-tasks.c (sort_uids): It is possible for
	start_foo.value to be NULL after a cal to
	cal_component_get_dtstart, so we need to check for this before
	dereferencing it. (Bug #13259)

svn path=/trunk/; revision=14097
2001-10-25 19:45:07 +00:00
33fc2cca98 Check for a NULL provider. (build_dialogue): Check for invalid source
2001-10-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (get_receive_type): Check for a NULL provider.
	(build_dialogue): Check for invalid source urls.
	(mail_receive_uri): Same.

svn path=/trunk/; revision=14096
2001-10-25 19:28:20 +00:00
3644ccebcc Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise
* e-shell-startup-wizard.c (make_mail_dialog_pages): Set the
->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise
the caller will not realize about the problem.

svn path=/trunk/; revision=14095
2001-10-25 18:31:57 +00:00
06a3557507 Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise.
* evolution-wizard.c (evolution_wizard_set_buttons_sensitive):
Don't use __FUNCTION__.
(evolution_wizard_set_show_finish): Likewise.
(evolution_wizard_set_page): Likewise.

* e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use
__FUNCTION__ and __LINE__.  This breaks the string freeze, but the
old way made Evolution non-compilable with non-GNU compilers.

svn path=/trunk/; revision=14094
2001-10-25 18:25:17 +00:00
9707f61559 Updated Ukrainian Translation
svn path=/trunk/; revision=14093
2001-10-25 16:39:05 +00:00
7923d73cc9 Updated Ukrainian Translation
svn path=/trunk/; revision=14092
2001-10-25 16:28:35 +00:00
c99de6b90c Updated Ukrainian Translation
svn path=/trunk/; revision=14091
2001-10-25 16:08:34 +00:00
8f14d0c6c9 show an error message when we can't update the object on the calendar
2001-10-25  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/comp-editor.c (save_comp): show an error message when
	we can't update the object on the calendar server

svn path=/trunk/; revision=14090
2001-10-25 12:00:00 +00:00
165526e4cf Ifdef-ed out the PersistFile bits.
2001-10-25  Federico Mena Quintero  <federico@ximian.com>

	* gui/control-factory.c: Ifdef-ed out the PersistFile bits.

svn path=/trunk/; revision=14089
2001-10-25 08:51:13 +00:00
18399fc356 The tasks folder does not support the PersistFile interface; removed it.
2001-10-25  Federico Mena Quintero  <federico@ximian.com>

	* gui/GNOME_Evolution_Calendar.oaf.in: The tasks folder does not
	support the PersistFile interface; removed it.  Removed it as well
	from the calendar folder since it is aggregated but not actually
	implemented.

svn path=/trunk/; revision=14088
2001-10-25 08:38:08 +00:00
871947bc26 Handle tasks folders as well; was always using "calendar.ics" as the
2001-10-25  Federico Mena Quintero  <federico@ximian.com>

	* gui/component-factory.c (xfer_folder): Handle tasks folders as
	well; was always using "calendar.ics" as the filename.

svn path=/trunk/; revision=14087
2001-10-25 08:34:49 +00:00
8426853c5b Updated Ukrainian Translation
svn path=/trunk/; revision=14086
2001-10-25 08:24:43 +00:00
37e623251c No longer need to pass a settext argument. (do_forward_non_attached):
2001-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): No longer need to pass a
	settext argument.
	(do_forward_non_attached): Same.

svn path=/trunk/; revision=14085
2001-10-25 03:28:21 +00:00
84dcb1413f New function that replaces handle_multpart() and
2001-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (add_attachments_from_multipart): New function
	that replaces handle_multpart() and handle_multipart_alternative()
	for add_message_attachments().
	(e_msg_composer_add_message_attachments): Call
	add_attachments_from_multipart().
	(handle_multipart_alternative): Now only used by
	new_with_message() and is really only designed to work well with
	messages generated by Evolution (ie for editing Drafts and such).
	(handle_multipart): Same.
	(e_msg_composer_new_with_message): No longer calls
	add_message_attachments() because we can't ever have this fail and
	the logic in add_message_attachments() is impossible
	logic. Instead do like what we used to do before the addition of
	add_message_attachments() came along.

svn path=/trunk/; revision=14084
2001-10-25 03:27:00 +00:00
6e1b3c2bd8 Add a few names to the box.
* e-shell-about-box.c: Add a few names to the box.

svn path=/trunk/; revision=14083
2001-10-25 01:18:51 +00:00
9522b556a2 oops, minor fixity fix.
svn path=/trunk/; revision=14082
2001-10-25 01:09:02 +00:00
e877791d81 Fix to not always return NULL for html parts, doh!.
2001-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_get_message_body): Fix to not always return
	NULL for html parts, doh!.

svn path=/trunk/; revision=14081
2001-10-25 00:51:10 +00:00
0f9a7b1c32 Initialize gnome-vfs.
2001-10-24  Jon Trowbridge  <trow@ximian.com>

	* gui/component/addressbook-factory.c (main): Initialize
	gnome-vfs.

	* gui/component/addressbook-component.c (xfer_file): Added.
	(Copied from the calendar.)
	(xfer_folder): Fixed to allow renaming of contact folders.

svn path=/trunk/; revision=14080
2001-10-25 00:37:00 +00:00
d9545bc20c Don't let fi->name be NULL.
* providers/imap/camel-imap-store.c (unsubscribe_folder): Don't
	let fi->name be NULL.

svn path=/trunk/; revision=14079
2001-10-25 00:27:39 +00:00
bcd57ec7f9 g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there
* evolution-storage.c (evolution_storage_new_folder):
	g_return_if_fail if the display_name is NULL. "Fixes" 11182
	although there may be a few more cases lying around that pass
	NULLs in.

svn path=/trunk/; revision=14078
2001-10-25 00:26:45 +00:00
162035d400 rework this so that we don't end up freeing the cid then reading from it.
2001-10-24  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c
	(e_msg_composer_add_inline_image_from_mime_part): rework this so
	that we don't end up freeing the cid then reading from it.

svn path=/trunk/; revision=14077
2001-10-25 00:03:17 +00:00
7a2d1a768b Set the WMClass of the quit dialog to be different from the default one in
* main.c (quit_box_new): Set the WMClass of the quit dialog to be
different from the default one in an attempt to fix #13441.

svn path=/trunk/; revision=14076
2001-10-24 23:39:41 +00:00
51058a71f7 I updated this becuase the screenshot was humerously _old_.
2001-10-24  Kevin Breit  <mrproper@ximian.com>

	* C/figures/mail-composer.png: I updated this becuase the screenshot was humerously _old_.

svn path=/trunk/; revision=14075
2001-10-24 23:12:44 +00:00
c0a83c38f7 added sections for Tasks factory and control. I hope someone checks these!
2001-10-24  Damon Chaplin  <damon@ximian.com>

	* gui/GNOME_Evolution_Calendar.oaf.in: added sections for Tasks
	factory and control. I hope someone checks these!

svn path=/trunk/; revision=14074
2001-10-24 22:58:30 +00:00
994553e4e1 Updated Greek messages
svn path=/trunk/; revision=14073
2001-10-24 22:53:39 +00:00
f1172ec0fd Added #include "gal/widgets/e-unicode.h".
2001-10-24  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-combo.c: Added #include "gal/widgets/e-unicode.h".

	* e-cell-text.c: Added lots of deactivated debugging printfs here.
	(ect_event): Fixed the flags check here.  Set edit->actions to 0
	before calling e_text_event_processor_handle_event.

	* e-table-item.c, e-table-item.h: Use eti_grab and eti_ungrab all
	over the place.  Added lots and lots of deactivated debugging
	printfs here.
	(eti_grab, eti_ungrab): New functions to encapsulate grabbing and
	ungrabbing the cursor and to allow for recursive grabs
	(refcounting style.)

	* e-table.c: Added deactivated debugging printfs here.
	(et_canvas_root_event): Attach to the event handler on the root
	canvas item instead of the canvas itself when making the ETable
	leave editing state.  Fixes Ximian bug #9737.

svn path=/trunk/; revision=14072
2001-10-24 22:41:13 +00:00
4d261c55e5 Fixed to only copy the calendar.ics' and calendar.ics~' files.
* gui/component-factory.c (xfer_folder): Fixed to only copy the
`calendar.ics' and `calendar.ics~' files.

svn path=/trunk/; revision=14071
2001-10-24 22:39:28 +00:00
0ac0b8d0e8 Fixed to only copy the calendar.ics' and calendar.ics~' files.
* gui/component-factory.c (xfer_folder): Fixed to only copy the
`calendar.ics' and `calendar.ics~' files.

svn path=/trunk/; revision=14070
2001-10-24 22:38:52 +00:00
dcc99c020b do a test that is not only always false, but works with autoconf 2.52 and
2001-10-24  jacob berkman  <jacob@ximian.com>

	* aclocal-include.m4 (AM_ACLOCAL_INCLUDE): do a test that is not
	only always false, but works with autoconf 2.52 and isn't trying
	to be too smart

svn path=/trunk/; revision=13996
2001-10-24 22:17:05 +00:00
1569d31133 updated the SIMULATE_FLAKY_NETWORK code
svn path=/trunk/; revision=13995
2001-10-24 22:15:47 +00:00
c10ff3cbd7 Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref our
2001-10-24  Jon Trowbridge  <trow@ximian.com>

	* menus/gal-view-menus.c (gal_view_menus_apply): Ref the
	BonoboUIComponent that we are holding.
	(gvm_destroy): Unref our BonoboUIComponent.

svn path=/trunk/; revision=13994
2001-10-24 21:23:46 +00:00
66c5805817 Same as in the TcpStreamRaw code. (stream_write): And again here...
2001-10-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-stream-fs.c (stream_read): Same as in the TcpStreamRaw code.
	(stream_write): And again here...

	* camel-tcp-stream-raw.c (stream_read): Handle the EAGAIN error
	case as well.
	(stream_write): Same here, this might fix the SMTP truncation
	thing? I hope?

svn path=/trunk/; revision=13993
2001-10-24 21:09:35 +00:00
1c61950527 when iterating over the subcomponents, use 'subcomp' rather than
2001-10-24  Damon Chaplin  <damon@ximian.com>

	* pcs/cal-backend-file.c (cal_backend_file_update_objects): when
	iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
	That meant it wasn't working at all well when an entire VCALENDAR
	was passed in.

	* cal-util/cal-component.c: handle DURATION property used instead of
	DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
	+ DURATION if necessary. In set_dtend/due we remove any DURATION
	property. Fixes bug #11262.

	* gui/e-meeting-model.c (build_etable):
	* gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
	ECellCombo popdown strings, as it expects UTF-8 strings.

svn path=/trunk/; revision=13992
2001-10-24 21:02:43 +00:00
bb7d2c4499 New. (async_xfer_folder_callback): Use it so we get the right error
* e-local-storage.c (storage_result_from_component_result): New.
(async_xfer_folder_callback): Use it so we get the right error
message.
(async_xfer_folder_complete): New arg @success.  Don't remove the
directory and the metadata if @success is %FALSE.

svn path=/trunk/; revision=13991
2001-10-24 20:44:31 +00:00
4
b61e480c42 Same.
2001-10-24    <NotZed@Ximian.com>

	* folder-browser-ui.c (ui_add):
	(fbui_sensitize_timeout): Same.

	* folder-browser-factory.c (control_activate): Comment out freeze/thaw.
	(control_deactivate):

svn path=/trunk/; revision=13990
2001-10-24 19:00:22 +00:00
5cd755bc7d track the spacer vbox (e_meeting_time_selector_style_set): make sure the
2001-10-24  JP Rosevear  <jpr@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	track the spacer vbox
	(e_meeting_time_selector_style_set): make sure the rows are the
	correct size for the style

	* gui/e-meeting-time-sel-item.c
	(e_meeting_time_selector_item_paint_day_top): slight adjustments
	to where the text is drawn

	* gui/e-meeting-time-sel.h: new member

	* gui/e-meeting-model.c (build_etable): ensure uniform row height

	* conduits/todo/todo-conduit.c (comp_from_remote_record): mark
	status as completed in appropriate places and don't overwrite
	legitimate percentages and such

svn path=/trunk/; revision=13989
2001-10-24 18:22:29 +00:00
31d99df0f4 Fixed some weird casting crack that got in here somehow, removed
2001-10-24  Jon Trowbridge  <trow@ximian.com>

	* mail-search.c (mail_search_construct): Fixed some weird casting
	crack that got in here somehow, removed superfluous box-packing
	that was generating a gtk warning.

svn path=/trunk/; revision=13988
2001-10-24 17:40:57 +00:00
7b89f4f8d2 Updated Polish translation by GNOME PL Team <translators@gnome.pl>
svn path=/trunk/; revision=13987
2001-10-24 17:38:47 +00:00
c3876df777 Fixes bug #5282.
2001-10-24  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #5282.

	* cal-util/timeutil.c (icaltimetype_to_tm_with_zone): New function
	to avoid copying the same code all over the place.
	(icaltimetype_to_tm): Also set the tm.tm_wday.

	* gui/alarm-notify/alarm-queue.c (queue_midnight_refresh): Use
	time_day_end_with_zone().
	(load_alarms_for_today): Likewise.  And oops, we were only
	computing the times and not loading the alarms.
	(obj_updated_cb): Likewise.
	(load_alarms): Removed assertion that is no longer valid because
	we may load the alarms for a client in two stages.

	* gui/dialogs/alarm-page.c (get_alarm_string): Convert absolute
	trigger times to the local timezone.

	* gui/alarm-notify/alarm-notify-dialog.c (write_html_heading):
	Convert the times to the local timezone.
	(alarm_notify_dialog): Likewise, for the window title.
	(alarm_notify_dialog): Set the window layer to WIN_LAYER_ONTOP.

	* gui/e-cell-date-edit-text.c (ecd_get_text): Use
	icaltimetype_to_tm_with_zone().

	* gui/alarm-notify/save.c (get_config_db): Made public.
	(discard_config_db): Made public.

	* gui/alarm-notify/config-data.[ch]: New files with functions to
	fetch the calendar configuration data used by the alarm daemon.

svn path=/trunk/; revision=13986
2001-10-24 17:27:22 +00:00
4d26929f07 Updated Ukrainian Translation
svn path=/trunk/; revision=13985
2001-10-24 15:20:50 +00:00