Commit Graph

12212 Commits

Author SHA1 Message Date
22cd779002 Fixed warnings here.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c
	(e_font_to_native), gal/widgets/e-unicode.c
	(e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized,
	e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed
	warnings here.

svn path=/trunk/; revision=14132
2001-10-26 11:07:44 +00:00
16f1b8e591 Updated Ukrainian Translation
svn path=/trunk/; revision=14131
2001-10-26 09:46:45 +00:00
be6ff97858 Updated Ukrainian Translation
svn path=/trunk/; revision=14130
2001-10-26 09:41:54 +00:00
c1e7c69efe Updated Ukrainian Translation
svn path=/trunk/; revision=14129
2001-10-26 09:10:42 +00:00
ec99a18271 If the root node is hidden and selected, don't count it in the selected
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_selected_count): If the root node
	is hidden and selected, don't count it in the selected path count.

	* e-tree.c (et_canvas_root_event): Attach to the event handler on
	the root canvas item instead of the canvas itself when making the
	ETree leave editing state.

svn path=/trunk/; revision=14128
2001-10-26 09:00:36 +00:00
464c50e4d7 Updated Ukrainian Translation
svn path=/trunk/; revision=14127
2001-10-26 08:06:00 +00:00
1a5179564e Get a fresh CORBA_Environment for every CORBA call. Hopefully will fix
2001-10-26  Federico Mena Quintero  <federico@ximian.com>

	* pcs/cal.c (cal_construct): Get a fresh CORBA_Environment for
	every CORBA call.  Hopefully will fix #11978, but I'm not sure
	about what else could be happening.
	(cal_get_password): Free the exception.

svn path=/trunk/; revision=14126
2001-10-26 07:13:00 +00:00
92e4146738 Updated my email address.
2001-10-26  Kevin Breit  <mrproper@ximian.com>

	* AUTHORS: Updated my email address.

svn path=/trunk/; revision=14125
2001-10-26 04:55:39 +00:00
6784b6928a Fixes Ximian bug #6832.
2001-10-25  Federico Mena Quintero  <federico@ximian.com>

	Fixes Ximian bug #6832.

	* e-table.c (e_table_setup_table): Use a callback instead of
	gtk_widget_queue_draw() for focus events, as the latter does not
	have the correct prototype for an event handler.
	(group_start_drag): Emit START_DRAG, not KEY_PRESS!
	(focus_first_etable_item): Focus the first row in the first
	ETableItem if there is no focused item.

	* e-tree.c (e_tree_setup_table): Same change as in
	e_table_setup_table().
	(table_canvas_focus_event_cb): Focus the first row in the tree
	item if there is no focused item.

svn path=/trunk/; revision=14124
2001-10-26 04:47:53 +00:00
ccdcf468c8 Desensitize the parent dialog. (rule_edit): Same. (add_editor_clicked):
2001-10-26  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c (rule_add): Desensitize the parent dialog.
	(rule_edit): Same.
	(add_editor_clicked): Re-sensitize it.
	(edit_editor_clicked): Same.

svn path=/trunk/; revision=14123
2001-10-26 04:06:42 +00:00
7c6257f9a9 Keep track of the current editor dialog window so that on exit, we can
2001-10-25  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-editor.c: Keep track of the current editor dialog window so
	that on exit, we can close it too.
	(rule_edit): Don't make the dialog modal and set it's parent
	window as well as don't allow more than a single editor window to
	be popped up.
	(rule_add): Same.

svn path=/trunk/; revision=14122
2001-10-26 03:44:35 +00:00
6
8b01bc9334 Use a timeout not an idle handler.
2001-10-26    <NotZed@Ximian.com>

        * component-factory.c (owner_unset_cb): Use a timeout not an idle handler.

        * mail-callbacks.c (providers_config): Only set the parent window.

        * mail-accounts.c (mail_edit): Set the parent on the account editor.

svn path=/trunk/; revision=14121
2001-10-26 02:03:22 +00:00
f8b3f5bb88 added a missing close paren
svn path=/trunk/; revision=14120
2001-10-26 01:58:05 +00:00
966680aa9f Add accelerators for "Work Offline" and "Work Online".
* e-shell-view-menu.c (update_offline_menu_item): Add accelerators
for "Work Offline" and "Work Online".

svn path=/trunk/; revision=14119
2001-10-26 01:15:22 +00:00
11d2026485 Updates from anna evolution/po/da.po
Updates from anna
evolution/po/da.po

svn path=/trunk/; revision=14118
2001-10-26 01:07:26 +00:00
e1930a2952 More updates to make it a little more usable.
* it.po: More updates to make it a little more usable.

svn path=/trunk/; revision=14117
2001-10-26 01:06:33 +00:00
b6df48bee7 Don't allow translators to translate "Ximian Evolution".
* e-shell-view.c (update_for_current_uri): Don't allow translators
to translate "Ximian Evolution".

svn path=/trunk/; revision=14116
2001-10-26 00:46:30 +00:00
3b577252a7 used functions to get PUBLISH_OPTIONS etc., so we can translate them.
2001-10-25  Damon Chaplin  <damon@ximian.com>

	* gui/e-itip-control.c: used functions to get PUBLISH_OPTIONS etc.,
	so we can translate them.

svn path=/trunk/; revision=14115
2001-10-26 00:42:10 +00:00
5
95235bb6eb s/iconv/e_iconv/.
2001-10-25    <NotZed@Ximian.com>

        * openpgp-utils.c (openpgp_verify): s/iconv/e_iconv/.

svn path=/trunk/; revision=14114
2001-10-26 00:38:02 +00:00
5
5b449d9ca7 Remove the stupid warning that should never have been there in the first
2001-10-25    <NotZed@Ximian.com>

        * camel-search-private.c (utf8_get): Remove the stupid warning
        that should never have been there in the first place.

        * camel-sasl-digest-md5.c (digest_response): s/iconv/e_iconv/

        * camel-pgp-context.c (pgp_verify): "

        * camel-mime-utils.c (rfc2047_decode_word, rfc2047_decode_word,
        append_8bit, rfc2047_encode_word, rfc2184_decode,
        header_decode_param): "

        * camel-mime-part-utils.c (convert_buffer, convert_buffer): "

        * camel-mime-filter-charset.c (reset, complete, filter): "

svn path=/trunk/; revision=14113
2001-10-26 00:37:52 +00:00
6
b822bc381f Bump gal requirement.
2001-10-26    <NotZed@Ximian.com>

	* configure.in: Bump gal requirement.

svn path=/trunk/; revision=14112
2001-10-26 00:37:30 +00:00
5
ac091e954d Bumped version to 0.15.99.4 for e-iconv changes.
2001-10-25    <NotZed@Ximian.com>

        * configure.in: Bumped version to 0.15.99.4 for e-iconv changes.

        * gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): "
        (e_utf8_to_iconv_string_sized): "
        (e_utf8_from_gtk_string_sized): "
        (e_utf8_to_gtk_string_sized): "

        * gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/

        * gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to
        make sure we link with and execute the right iconv to match the
        right iconv_open.  (BLAH!)

svn path=/trunk/; revision=14111
2001-10-26 00:35:20 +00:00
79c7cb13de New helper function. (e_component_registry_restart_component): Use it.
* e-component-registry.c (wait_for_corba_object_to_die): New
helper function.
(e_component_registry_restart_component): Use it.
(component_free): Call it to wait for the unowned object to die.

svn path=/trunk/; revision=14110
2001-10-25 23:37:32 +00:00
9900118629 added bug number
svn path=/trunk/; revision=14109
2001-10-25 23:29:11 +00:00
e4e894969e subtract 1 from any positive BYSETPOS value, since our array is 0-based.
2001-10-25  Damon Chaplin  <damon@ximian.com>

	* cal-util/cal-recur.c (cal_obj_bysetpos_filter): subtract 1 from
	any positive BYSETPOS value, since our array is 0-based.

	* gui/dialogs/recurrence-page.c (simple_recur_to_comp):
	(recurrence_page_fill_widgets): Outlook (2000) will not accept monthly
	recurrences like BYDAY=2TU. Instead it uses BYDAY=TU;BYSETPOS=2.
	So to be compatable with it we now do the same, although we still
	accept and convert the old format.

	* cal-client/cal-client.c (cal_client_get_component_as_string): new
	function to return a complete VCALENDAR string containing a VEVENT
	or VTODO with all the VTIMEZONEs it uses.

	* gui/dialogs/comp-editor.c (save_as_ok): use above function so we
	save the VTIMEZONE data with the VEVENT/VTODO. Fixes bug #????.
	Also made sure we output "METHOD:PUBLISH" since Outlook (2000) will
	not import it otherwise.

	* gui/dialogs/comp-editor.c (page_mapped_cb):
	(page_unmapped_cb): install/uninstall the GtkAccelGroup for the page.
	(comp_editor_append_page): connect to the map/unmap signals to
	install/uninstall the accelerators. (This is all for bug #11609,
	though of course it doesn't work too well in GTK+ 1.2 anyway.)

	* gui/dialogs/task-page.c (get_widgets):
	* gui/dialogs/task-details-page.c (get_widgets):
	* gui/dialogs/schedule-page.c (get_widgets):
	* gui/dialogs/recurrence-page.c (get_widgets):
	* gui/dialogs/meeting-page.c (get_widgets):
	* gui/dialogs/event-page.c (get_widgets):
	* gui/dialogs/alarm-page.c (get_widgets): got the GtkAccelGroup from
	the original window, ref'ed it and placed it in the CompEditorPage
	struct.

	* gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
	any GtkAccelGroup for the page.

	* gui/dialogs/task-page.glade: changed '_Confidential' to
	'Con_fidential' as it clashed with '_Contacts'. It now matches the
	event editor as well.

	* gui/dialogs/event-page.glade:
	* gui/dialogs/task-page.glade: Set CAN_FOCUS to TRUE for the custom
	EDateEdit widgets, and set them as the accel targets of the labels.

svn path=/trunk/; revision=14108
2001-10-25 23:28:15 +00:00
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