Commit Graph

16887 Commits

Author SHA1 Message Date
bc78d367b0 removed main.c from the build.
2003-03-10  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (libevolution_mail_la_SOURCES): removed main.c from
        the build.

        * component-factory.c (component_factory_init): Remove, not used
        anymore, causes linking problems some places.
        (factory): Removed the debug printf.

svn path=/trunk/; revision=20226
2003-03-10 04:27:35 +00:00
67974fa1e0 Doh! If inptr == pos + 1, then return FALSE (before it was checking for
2003-03-09  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-url-scanner.c (camel_url_addrspec_end): Doh! If inptr ==
	pos + 1, then return FALSE (before it was checking for inptr ==
	pos, but it will never be pos).

svn path=/trunk/; revision=20225
2003-03-09 17:57:34 +00:00
c8a10fa6da fix drawing bugs, and disable the stupid looking focus rect, since I can't
2003-03-07  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-text.c (e_text_draw): fix drawing bugs, and disable
	the stupid looking focus rect, since I can't find a theme that
	uses them.
	(e_text_event): force redraw in the focus-out case if the cursor
	is shown (so we can erase it), and also trick ourselves into
	drawing it immediately (by setting it to FALSE) in the focus-in
	case.

svn path=/trunk/; revision=20223
2003-03-07 22:57:40 +00:00
518cb00c28 removed erroneous static prototype (it is now supposed to be a public symbol)
svn path=/trunk/; revision=20222
2003-03-07 21:10:34 +00:00
0b5acb6141 All this snot just to fix bug #38925 and an attempt to fix bug #38926 (but
2003-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	All this snot just to fix bug #38925 and an attempt to fix bug
	#38926 (but it seems no matter what I do, I can't work around the
	bonoboness/modality/whatever of the shell's preferences dialog).

	* mail-account-gui.c (sig_add_new_signature): Get the toplevel
	parent GtkWindow and pass that along to
	mail_composer_prefs_new_signature() so that window layering can be
	done correctly.

	* mail-composer-prefs.c (mail_composer_prefs_new_signature):
	Simplify. We don't want to add the signature to the list until
	after they have saved.
	(sig_edit_cb): Pass FALSE as the is_new argument to
	mail_signature_editor().
	(sig_event_client): Listen for signatures being added.
	(mail_composer_prefs_new_signature): Now takes a GtkWindow arg as
	the first arg rather than a MailComposerPrefs arg since we don't
	really need it to be a MailComposerPrefs object. We'd rather use
	the first arg as the parent GtkWindow so that we can set
	transience for the editor window.

	* mail-signature-editor.c (mail_signature_editor): Now takes a
	'parent' argument (so we can set transient_for()) and a 'is_new'
	argument specifying whether the editor is editing a new signature
	or not. If it is, when the user saves, it will be added to the
	signature list. otherwise it won't.
	(sig_name_changed): Only use the mail_config_signature_set_name()
	interface if it is *not* a new signature.
	(menu_file_save_cb): If is_new, then save the signature to the
	config - otherwise do what we did before and set the modifications
	to it and emit the CHANGED event.

	* mail-config.c (mail_config_signature_new): Renamed from
	mail_config_signature_add(). We no longer immediately add the
	signature to the list of saved signatures.
	(mail_config_signature_add): New function which adds the signature
	and emits the SIG_ADDED event.

svn path=/trunk/; revision=20221
2003-03-07 20:54:54 +00:00
fd2588484f Add some escapes to the newly added locations so they get split properly.
* Locations (name): Add some escapes to the newly added locations
so they get split properly.

* e-summary-weather.c (e_summary_weather_init_locations): Fetch
the Locations file from the right path.  If you find an invalid
entry in the Locations file, complain with an informative
g_warning() instead of just returning FALSE.
(e_summary_weather_fill_etable): Do the same thing here.

svn path=/trunk/; revision=20220
2003-03-07 19:46:38 +00:00
36d9b4794e If the part url is a text part, use
2003-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_url_requested): If the part url is a text
	part, use mail_format_data_wrapper_write_to_stream(). This should
	fix bug #39204.

	* mail-format.c (mail_format_data_wrapper_write_to_stream): Make public.

svn path=/trunk/; revision=20219
2003-03-07 18:43:38 +00:00
d17a298a0c Updated Swedish translation.
2003-03-07  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=20218
2003-03-07 17:59:49 +00:00
43d1185654 create the array to be returned only once.
2003-03-07  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/save.c (get_calendars_to_load): create the array
	to be returned only once.

svn path=/trunk/; revision=20217
2003-03-07 12:53:19 +00:00
a9b73c75a8 Update Czech translation
svn path=/trunk/; revision=20216
2003-03-07 12:29:49 +00:00
bc03ae066b handle a null return from search_by_expression, for bug #33786.
2003-03-07  Not Zed  <NotZed@Ximian.com>

        * camel-vee-folder.c (vee_search_by_expression): handle a null
        return from search_by_expression, for bug #33786.

svn path=/trunk/; revision=20215
2003-03-07 03:38:45 +00:00
647671b615 ** reverted the following patch from ettore, this is a gnome 2.2 api
2003-03-07  Not Zed  <NotZed@Ximian.com>

        ** reverted the following patch from ettore, this is a gnome 2.2
        api change, and shouldn't be used yet.

        * e-shell.c (impl_finalize): Use
        bonobo_activation_unregister_active_server() instead of
        bonobo_activatino_active_server_unregister().
        (e_shell_construct): Use
        bonobo_activation_register_active_server() instead of
        bonobo_activation_active_server_register().

svn path=/trunk/; revision=20214
2003-03-07 02:26:11 +00:00
414157e544 s/g_strncasecmp/strncasecmp/g
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/imap/camel-imap-utils.c (imap_next_word):
	s/g_strncasecmp/strncasecmp/g

	* camel-iconv.c: Updated to be an exact copy of e-iconv (except
	names changed). We don't use this yet, but we may in the future.

	* camel-url.c (camel_url_new_with_base): Here too.

	* camel-sasl-kerberos4.c (krb4_challenge): Use camel_strdown()
	here instead of g_strdown() since the latter has been deprecated.

	* providers/imap/camel-imap-utils.c (imap_parse_body): Use
	camel_strdown() since g_ascii_strdown() does not do what we
	thought.

	* providers/imap/camel-imap-store.c:
	s/strstrcase/camel_strstrcase/g

	* providers/imap/camel-imap-folder.c (do_append):
	s/strstrcase/camel_strstrcase/
	(handle_copyuid): Same.

	* string-utils.c (camel_strdown): New function because the
	g_ascii_strdown interface sucks.
	(camel_strstrcase): Renamed from strstrcase.

svn path=/trunk/; revision=20213
2003-03-06 21:42:11 +00:00
0fc34dcc90 Alias gb-2312 to gb2312 also (since iconv doesn't have "gb-2312"). I
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-iconv.c: Alias gb-2312 to gb2312 also (since iconv
	doesn't have "gb-2312"). I wonder if we should capitalise GB2312?
	At least my iconv lists it in all caps (although I have the
	benefit of having gnu iconv which is case insensitive so I dunno).
	(e_strdown, e_strup): New functions to replace
	g_ascii_str[down,up]: because the glib versions return a newly
	allocated string buf and that is not what we want.
	(e_iconv_charset_name): Use the new e_strdown.
	(e_iconv_open): Save errno.

svn path=/trunk/; revision=20212
2003-03-06 20:52:31 +00:00
8f3ca8febc (impl_Shell_selectUserFolder): At least for now,
disable the nasty XWMHints trick to fool WMs; it is not needed now
that everything is in-proc.

svn path=/trunk/; revision=20211
2003-03-06 19:44:13 +00:00
12cf52d717 (e_shell_folder_name_is_valid): Do not allow
names with a "#" in them either.

svn path=/trunk/; revision=20210
2003-03-06 19:32:46 +00:00
d039f69326 (update_other_users_folder_items_sensitivity):
New function to toggle the "open other user's folder" menu item
sensitivity on or off depending on whether there are any storages
that actually support that.
(storage_set_removed_storage_callback): New callback for the
EStorageSet's "removed_storage" signal; it updates the sensitivity
if necessary.
(storage_set_new_storage_callback): Likewise, new callback for the
EStorageSet's "new_storage" signal.
(e_shell_view_construct): Connect these two signal callbacks here.
Also, call update_other_users_folder_items_sensitivity() to set up
the initial sensitivity of the menu item.
(update_for_current_uri): Add a missing EStorageSetView cast here.

svn path=/trunk/; revision=20209
2003-03-06 19:25:20 +00:00
bfb03e8441 (folder_name_entry_changed_callback): New callback to set the
sensitivity of the OK button according to whether the folder name
entry is empty or not.
(show_dialog): Connect here.  Pop up an error message if no user
is selected.

svn path=/trunk/; revision=20208
2003-03-06 18:53:34 +00:00
2e4ccf263e (e_request_string): Make the entry activate the
default response in the dialog.

svn path=/trunk/; revision=20207
2003-03-06 18:25:23 +00:00
fee7743aa0 Added more Swedish locations, submitted by Marten
Woxberg.  [See #5344]

svn path=/trunk/; revision=20206
2003-03-06 18:06:30 +00:00
b59d15607b (mail_accounts_treeview_new): Set the
shadow_type of the scrlled window to GTK_SHADOW_IN.

svn path=/trunk/; revision=20205
2003-03-06 18:01:41 +00:00
72a9c92228 Add some spacing to the buttons. [#38227]
svn path=/trunk/; revision=20204
2003-03-06 17:58:43 +00:00
4311a1916c Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):
* backend/ebook/load-pine-addressbook.c (ebook_create): Likewise.
* backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise.
* backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise.
* backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise.
* backend/ebook/test-client.c (get_cursor_cb): Likewise.
(ebook_create): Likewise.
* gui/widgets/e-minicard.c (e_minicard_set_property): Likewise.
(card_modified_cb): Likewise.
(e_minicard_event): Likewise.
* gui/widgets/gal-view-minicard.c (column_width_changed): Likewise.
* gui/widgets/test-minicard-view.c (ebook_create): Likewise.
* gui/widgets/gal-view-treeview.c (column_width_changed): Likewise.

svn path=/trunk/; revision=20203
2003-03-06 17:30:54 +00:00
1363750693 Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. Likewise.
* importers/evolution-mbox-importer.c (IN): Use G_GNUC_FUNCTION
instead of __FUNCTION__.
(OUT): Likewise.
* importers/netscape-importer.c (netscape_import_file): Likewise.
* mail-send-recv.c (receive_done): Likewise.
* mail-summary.c (SUMMARY_OUT): Likewise.
(SUMMARY_IN): Likewise.
(folder_changed_cb): Likewise.
(message_changed_cb): Likewise.

svn path=/trunk/; revision=20202
2003-03-06 17:27:48 +00:00
34b5562c9f (destroy): Removed unused variable.
svn path=/trunk/; revision=20201
2003-03-06 17:24:48 +00:00
3de88468be Use G_GNUC_FUNCTION instead of __FUNCTION__.
* menus/gal-view-menus.c (gal_view_menus_unmerge): Use
G_GNUC_FUNCTION instead of __FUNCTION__.

* e-dropdown-button.c (menu_deactivate_cb): Removed debugging
spew.

svn path=/trunk/; revision=20200
2003-03-06 17:24:22 +00:00
e60b2a82ff Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise.
* e-summary-calendar.c (e_summary_calendar_protocol): Use
G_GNUC_FUNCTION instead of __FUNCTION__.
* e-summary-rdf.c (e_summary_rdf_update): Likewise.
* e-summary-tasks.c (e_summary_tasks_protocol): Likewise.
(e_summary_tasks_protocol): Likewise.
* e-summary-weather.c (e_summary_weather_update): Likewise.

svn path=/trunk/; revision=20199
2003-03-06 17:23:05 +00:00
6681286707 (impl_finalize): Use
bonobo_activation_unregister_active_server() instead of
bonobo_activatino_active_server_unregister().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().

svn path=/trunk/; revision=20198
2003-03-06 17:22:10 +00:00
f451e0990a (IN): Use G_GNUC_FUNCTION instead of
__FUNCTION__.
(OUT): Likewise.

svn path=/trunk/; revision=20197
2003-03-06 17:21:55 +00:00
42261b4c8a [Patch from Not Zed <NotZed@Ximian.com>]
(show_development_warning): Separated the current stable
version number from the warning prompt, and fixed a minor
grammatical error.  For bug #38775.

svn path=/trunk/; revision=20196
2003-03-06 16:53:31 +00:00
1f0f670580 (import_bonobo_config): Protect from val
being NULL when printf()ing -- should fix #39096 (Solaris-specific
crash).

svn path=/trunk/; revision=20195
2003-03-06 16:42:00 +00:00
b85ba12a6c #include <string.h>
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-factory.c: #include <string.h>

svn path=/trunk/; revision=20194
2003-03-06 15:34:30 +00:00
b327312920 Don't use __inline__ as not all platforms/compilers support this keyword.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__
	as not all platforms/compilers support this keyword.
	(g): Same.

svn path=/trunk/; revision=20193
2003-03-06 15:32:24 +00:00
f1e001698a Same as below.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-text-index.c (camel_utf8_next): Same as below.

	* camel-search-private.c (camel_utf8_getc): Updated since not all
	platforms/compiles support __inline__.

svn path=/trunk/; revision=20192
2003-03-06 15:22:56 +00:00
b268196c1c Get rid of the const return - it mismatches the prototype and we don't
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the
	const return - it mismatches the prototype and we don't need it
	anyway. Fixes bug #39173.

svn path=/trunk/; revision=20191
2003-03-06 15:15:41 +00:00
2585b48f24 Added AC_C_INLINE - this should fix bug #39171.
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Added AC_C_INLINE - this should fix bug #39171.

svn path=/trunk/; revision=20190
2003-03-06 14:58:23 +00:00
d8298a3e80 Fixes for bug #39170
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39170

	* filter-element.c (filter_element_xml_create): Remove return
	keyword.
	(filter_element_build_code): Same.
	(filter_element_format_sexp): Here too.

svn path=/trunk/; revision=20189
2003-03-06 14:51:36 +00:00
9720adbb52 Fixes for bug #39170
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39170

	* camel-store-summary.c (camel_store_info_set_string): Remove
	return keyword.

	* camel-session.c (camel_session_thread_msg_free): Remove return
	keyword.
	(camel_session_thread_wait): Same.

	* camel-index.c (camel_index_cursor_reset): Remove return keyword.

svn path=/trunk/; revision=20188
2003-03-06 14:47:05 +00:00
a0c1a491f1 Fixes for bug #39168
2003-03-06  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39168

	* providers/local/camel-spool-summary.c: Get rid of the empty
	private struct.

	* providers/local/camel-mbox-summary.c: Get rid of the empty
	private struct.

	* camel-vee-store.c: Get rid of the empty private struct.

	* camel-mime-filter-from.c: Get rid of the empty private struct.

2003-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/sendmail/camel-sendmail-transport.c
	(sendmail_send_to): Add a CRLF filter to the output stream to
	convert any CRLF sequences into plain old line-feeds to work
	around a bug in some local transport programs.

svn path=/trunk/; revision=20187
2003-03-06 14:39:30 +00:00
9b665c1a82 ref the CalClient. (notify_dialog_cb): unref the CalClient.
2003-03-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-queue.c (display_notification): ref the CalClient.
	(notify_dialog_cb): unref the CalClient.

svn path=/trunk/; revision=20186
2003-03-06 12:44:37 +00:00
245d1c200e new function. (alarm_notify_dialog): made it return a pointer to the
2003-03-06  Rodrigo Moya <rodrigo@ximian.com>

	* gui/alarm-notify/alarm-notify-dialog.[ch]
	(alarm_notify_dialog_disable_buttons): new function.
	(alarm_notify_dialog): made it return a pointer to the dialog structure.

	* gui/alarm-notify/alarm-queue.c (remove_alarms, remove_comp): splitted
	alarm removal out of remove_comp.
	(obj_updated_cb): remove the component only when needed. In normal
	updates, just update the internal structure.
	(edit_component): don't get a CompQueuedAlarms as argument, since it
	might be removed.
	(on_dialog_obj_updated_cb, on_dialog_obj_removed_cb): callbacks for
	modifications during dialog display.
	(notify_dialog_cb): disconnect from "obj_*ed" signals and call
	edit_component with the new set of arguments.
	(display_notification): added more data to the closure structure.

svn path=/trunk/; revision=20185
2003-03-06 12:21:49 +00:00
64c201dff2 Fix kerberos include paths.
2003-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* configure.in: Fix kerberos include paths.

svn path=/trunk/; revision=20184
2003-03-06 00:02:33 +00:00
f7589488e0 Fixes #31382
2003-03-05  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #31382

	* gui/e-meeting-model.c (async_read): don't assume the buffer is
	always full, but use GNOME_VFS_ERROR_EOF instead for knowing when
	the read has finished.

svn path=/trunk/; revision=20183
2003-03-05 22:27:30 +00:00
53e2f660cd Up to 1.3.1.99.
svn path=/trunk/; revision=20182
2003-03-05 22:14:35 +00:00
3d3bee1f49 Update Czech translation
svn path=/trunk/; revision=20178
2003-03-05 19:37:37 +00:00
e51771e50c Added icon for "/popups/NewPopup/Folder".
svn path=/trunk/; revision=20176
2003-03-05 17:48:07 +00:00
bc48dcb0a2 (BUILT_SOURCES): $(IDL_GENERATED), not
$(IDL_GENERATED_H).
(CLEANFILES): Make the same as $(BUILT_SOURCES).
(GNOME_Evolution_Importer-impl.o): Removed useless rule.

svn path=/trunk/; revision=20175
2003-03-05 17:46:48 +00:00
cdac8a4da7 Likewise, assume weather_refresh_time of zero means "never update the
* e-summary-weather.c (e_summary_weather_set_online): Likewise,
assume weather_refresh_time of zero means "never update the
weather".
(e_summary_weather_init): Likewise here.
(e_summary_weather_reconfigure): And here.

* e-summary-rdf.c (e_summary_rdf_init): Don't add the news feeds
here -- it should be handled with a GConf schema.  Also, assume
that prefs is always not NULL (as is the case with the current
code), and interpret a timeout value of zero as "never update
automatically".
(e_summary_rdf_reconfigure): Likewise here.  If rdf->timeout is
zero, assume there is no pending timeout.
(e_summary_rdf_set_online): Likewise here.  Sigh, so much
duplication in this code.

svn path=/trunk/; revision=20174
2003-03-05 17:13:34 +00:00
f56716d0d3 fix defaults and descriptions to match what calendar-config wants them to
2003-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/apps_evolution_calendar.schemas: fix defaults and
	descriptions to match what calendar-config wants them to be

svn path=/trunk/; revision=20173
2003-03-05 16:35:49 +00:00
7f8c51d30d g_objectify ref/unref
2003-03-05  JP Rosevear  <jpr@ximian.com>

	* gui/e-itip-control.c (show_current): g_objectify ref/unref

	* gui/itip-bonobo-control.c (set_data_idle_cb): as above
	(pstream_load): ditto

	* gui/dialogs/alarm-options.c (alarm_to_malarm_widgets): as above

svn path=/trunk/; revision=20172
2003-03-05 15:50:34 +00:00