Commit Graph

17059 Commits

Author SHA1 Message Date
c7db899624 Fix for server files from Antonio Xu
2003-02-27  Rodney Dawes  <dobey@ximian.com>

	* backend/ebook/Makefile.am: Fix for server files from Antonio Xu

svn path=/trunk/; revision=20087
2003-02-27 19:56:03 +00:00
12e852982d Add e-config-upgrade.h
2003-02-27  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am (evolution_SOURCES): Add e-config-upgrade.h

svn path=/trunk/; revision=20086
2003-02-27 15:25:26 +00:00
6200259d43 This makes alarm notification work.
2003-02-26  Hans Petter Jansson  <hpj@ximian.com>

	This makes alarm notification work.

	* gui/alarm-notify/notify-main.c (main): Initialize GTK. Don't
	initialize bonobo activation - bonobo_init() does that for us.

svn path=/trunk/; revision=20085
2003-02-27 05:34:16 +00:00
531d7a496f Undo jeff's changes.
2003-02-27  Not Zed  <NotZed@Ximian.com>

	* camel-multipart-signed.c: Undo jeff's changes.

	* providers/local/camel-spool-store.c (scan_dir): Fix a paste-o in
	the object_bag_get key.

svn path=/trunk/; revision=20084
2003-02-27 04:53:09 +00:00
da0afe53d2 remove the grab_cancelled_check_id if it's still active.
2003-02-26  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_dispose): remove the
	grab_cancelled_check_id if it's still active.

svn path=/trunk/; revision=20083
2003-02-27 04:13:06 +00:00
954e8117ea This makes creating appointments and tasks from the "New" button work.
2003-02-26  Hans Petter Jansson  <hpj@ximian.com>

	This makes creating appointments and tasks from the "New" button work.

	* gui/main.c (comp_editor_factory_fn): Doesn't need to take any args.
	(factory): Add a handler for CompEditorFactory.

svn path=/trunk/; revision=20082
2003-02-27 02:25:29 +00:00
1e957be629 Updated to use g_alloca instead of alloca so that we can skip all the
2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-multipart-signed.c: Updated to use g_alloca instead of
	alloca so that we can skip all the #ifdef checks and skip checking
	for alloca in configure.in and all that foo.

svn path=/trunk/; revision=20081
2003-02-26 22:51:02 +00:00
77e9bd8497 if we fail to activate factories for a given protocol, return.
2003-02-26  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book.c (e_book_load_uri): if we fail to activate
	factories for a given protocol, return.

	* gui/component/ldap-config.glade: remove the two unused custom
	widgets to cut down on gtk warning spam.

svn path=/trunk/; revision=20080
2003-02-26 22:39:27 +00:00
bf636265e0 make this more robust - only assume it's a folderlistitem node if the name
2003-02-26  Chris Toshok  <toshok@ximian.com>

	* e-folder-list.c (e_folder_list_parse_xml): make this more robust
	- only assume it's a folderlistitem node if the name of the node
	is "folder".

svn path=/trunk/; revision=20079
2003-02-26 22:37:40 +00:00
b91b7c9a0b Fixes Ximian #37895.
2003-02-26  Hans Petter Jansson  <hpj@ximian.com>

	Fixes Ximian #37895.

	* gui/e-day-view.c (e_day_view_destroy): g_object_unref () ->
	pango_font_description_free ().
	(e_day_view_style_set): Ditto.

	* gui/e-week-view.c (e_week_view_destroy): Ditto.

svn path=/trunk/; revision=20078
2003-02-26 22:20:08 +00:00
34bd7b0984 Fixes Ximian #38306.
2003-02-26  Hans Petter Jansson  <hpj@ximian.com>

	Fixes Ximian #38306.

	* gui/e-itip-control.c (clean_up): Do nothing if the private structure
	has been freed. Don't call non-g_free() freers with NULL pointers.
	(destroy): Do nothing if the private structure has been freed. Clear
	pointers to freed blocks.

svn path=/trunk/; revision=20077
2003-02-26 21:58:43 +00:00
f29756cf1a don't #include camel-iconv.h
svn path=/trunk/; revision=20075
2003-02-26 19:40:37 +00:00
34eb50bc14 Updated Swedish translation.
2003-02-26  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=20074
2003-02-26 19:11:51 +00:00
d3a45d7415 Change the type of load_http_images to INT rather than BOOL. Fixes bug
2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* e-config-upgrade.c: Change the type of load_http_images to INT
	rather than BOOL. Fixes bug #38767.

svn path=/trunk/; revision=20073
2003-02-26 18:35:52 +00:00
66b36e63de New routine to attempt to start each available startup wizard in priority
* e-shell-startup-wizard.c (start_wizard): New routine to attempt
        to start each available startup wizard in priority order, and
        return once it has successfully started one. (Allows Connector,
        etc, to override the mailer startup wizard.)
	(make_corba_dialog_pages): Use it.

svn path=/trunk/; revision=20072
2003-02-26 18:11:49 +00:00
36e3f76a67 Reverted back to using e-iconv
2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-preferences.c: Reverted back to using e-iconv

	* mail-composer-preferences.c: Same.

svn path=/trunk/; revision=20071
2003-02-26 18:08:52 +00:00
77427e635f add a repo_id and a priority level to the startup wizard
* GNOME_Evolution_Mail.server.in.in: add a repo_id and a priority
	level to the startup wizard

svn path=/trunk/; revision=20070
2003-02-26 17:57:36 +00:00
2c488d4c81 Added a key for /apps/evolution/version - seems the best place to put it.
2003-02-26  Not Zed  <NotZed@Ximian.com>

        * apps_evolution_shell.schemas: Added a key for
        /apps/evolution/version - seems the best place to put it.  This
        should not return any value if unset, so i'm not sure if this is
        the right mechanism ...

        * e-config-upgrade.c: Upgrade settings from earlier versions of evolution.

        * main.c (upgrade_from_1_0_if_needed): Removed.
        (main): Call e_config_upgrade before going into gmainloop.
        (main): Turn off the --force-upgrade option, since it doesn't work
        yet ...

svn path=/trunk/; revision=20068
2003-02-26 12:49:04 +00:00
d9d3e0d627 Make sure the folder is non-NULL before trying to remove it from the
2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-store.c (camel_store_delete_folder): Make sure the folder
	is non-NULL before trying to remove it from the store's
	object-bag.

svn path=/trunk/; revision=20067
2003-02-26 06:10:40 +00:00
1bc1b31cc0 Use fixed margins of 5% of page width/height. This is the same cheat as
2003-02-25  Hans Petter Jansson  <hpj@ximian.com>

	* gui/print.c (print_calendar): Use fixed margins of 5% of page
	width/height. This is the same cheat as gtkhtml employs to get
	around the fact that GNOME_PRINT_KEY_PAGE_MARGIN_* don't return
	useful values (I think). It sort of sucks, but is better than
	no margins at all.
	(print_comp): Ditto.

svn path=/trunk/; revision=20066
2003-02-26 00:07:41 +00:00
14f14718af Get default view from correct key.
2003-02-25  Hans Petter Jansson  <hpj@ximian.com>

	* gui/calendar-config.c (calendar_config_get_default_view): Get
	default view from correct key.

svn path=/trunk/; revision=20064
2003-02-25 22:52:26 +00:00
9ae85b8c07 New internal function to parse the locale language code. (e_iconv_init):
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-iconv.c (locale_parse_lang): New internal function to
	parse the locale language code.
	(e_iconv_init): Parse and set the locale_lang variable.
	(e_iconv_locale_language): Return the locale_lang.
	(e_iconv_charset_language): Map some CJKR charsets to a language
	code.

svn path=/trunk/; revision=20063
2003-02-25 22:37:11 +00:00
ef315a410d Show start/end-of-day widgets.
2003-02-25  Hans Petter Jansson  <hpj@ximian.com>

	* gui/dialogs/cal-prefs-dialog.c (get_widgets): Show start/end-of-day
	widgets.

svn path=/trunk/; revision=20062
2003-02-25 22:31:18 +00:00
fe3f84b975 Update Czech translation
svn path=/trunk/; revision=20061
2003-02-25 21:58:14 +00:00
ce15f6d076 Reverted back to using e-iconv instead of camel-iconv.
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c: Reverted back to using e-iconv instead of
	camel-iconv.

svn path=/trunk/; revision=20060
2003-02-25 21:18:24 +00:00
e5f2139df7 Same as below.
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Same as below.

	* e-msg-composer-attachment-bar.c: Go back to using
	e_iconv_charset_name().

svn path=/trunk/; revision=20059
2003-02-25 20:54:19 +00:00
bcae81e843 removed unused filter code that was wrong anyway
svn path=/trunk/; revision=20058
2003-02-25 20:45:22 +00:00
35bce81941 canonicalise the charset name (if it is an iso charset) so that our
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-part-utils.c
	(simple_data_wrapper_construct_from_parser): canonicalise the
	charset name (if it is an iso charset) so that our strncasecmp to
	see if it is an iso-8859-# charset will be guarenteed to work on
	all systems.
	(canon_charset_name): New function to return the canonical iso
	charset name.
	(simple_data_wrapper_construct_from_parser): If the charset is
	NULL *or* the charset == "us-ascii" then check that it is 7bit
	clean to decide if it is rawtext (we did not check the case where
	charset was "us-ascii" before).

svn path=/trunk/; revision=20057
2003-02-25 20:07:35 +00:00
74205e83d1 Same as the ones below.
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-mime-message.c: Same as the ones below.

	* camel-mime-part.c: Reverted back to pre-camel-iconv

	* camel-filter-search.c: Same as below.

	* camel-folder-summary.c: Reverted back to pre-camel-iconv

	* camel.c (camel_init): Reverted to pre-camel-iconv

	* camel-charset-map.c (camel_charset_locale_name): Removed (part
	of the revert).
	(camel_charset_canonical_name): Same.

	* camel-mime-filter-charset.c: Revert back to using e_iconv from GAL.

	* camel-mime-part-utils.c: Revert back to using e_iconv from GAL.

	* camel-mime-utils.c: Revert back to using e_iconv from GAL.

	* camel-sasl-digest-md5.c: Revert back to using e-iconv from GAL.

svn path=/trunk/; revision=20056
2003-02-25 19:43:22 +00:00
f9f6af4bce updated Vietnamese file
svn path=/trunk/; revision=20055
2003-02-25 18:50:29 +00:00
5671315af5 Update for new EvolutionWizard interfaces.
* mail-config-druid.c: Update for new EvolutionWizard interfaces.

svn path=/trunk/; revision=20054
2003-02-25 15:46:39 +00:00
e9b3db536d Change this to let the Wizard provide an array of title/icon/control
* Evolution-Wizard.idl: Change this to let the Wizard provide an
	array of title/icon/control triplets, instead of just controls, so
	the shell doesn't need to know the name of each page a priori.

	* glade/evolution-startup-wizard.glade: Remove the mailer-specific
	pages, which are now inserted at run time based on info from the
	mailer.

	* evolution-wizard.c: Update for new idl.
	(evolution_wizard_new): Now takes no arguments.
	(evolution_wizard_add_page): New function to add page info to the
	wizard.

	* e-shell-startup-wizard.c: Various renamings to make this
	slightly less mailer-centric, though it still explicitly launches
	the mailer startup wizard.
	(make_corba_page): Replaces make_identity_page, make_receive_page,
	etc. Uses the new Wizard idl to generically create a page and
	insert it into the druid.
	(e_shell_startup_wizard_create): Update

svn path=/trunk/; revision=20053
2003-02-25 15:45:53 +00:00
176204b94f Use g_signal_handlers_disconnect_by_func since
* e-map.c (e_map_destroy): Use
	g_signal_handlers_disconnect_by_func since
	gtk_signal_disconnect_by_data doesn't seem to work right.
	(e_map_set_scroll_adjustments): Likewise.

svn path=/trunk/; revision=20052
2003-02-25 15:39:47 +00:00
17d13191de Redo this to not use the CORBA interfaces in the local case (in
* mail-config-druid.c: Redo this to not use the CORBA interfaces
	in the local case (in preparation for redoing the CORBA
	interfaces).
	(mail_config_druid_new): Remove unused "shell" arg

	* mail-account-gui.c (mail_account_gui_transport_complete): Don't
	crash if there's no transport selected at all.
	(mail_account_gui_new): Don't try to set cc_addrs/bcc_addrs if
	they're NULL.

	* mail-accounts.c (account_add_clicked): Don't need to pass shell
	to mail_config_druid_new.

	* mail-callbacks.c (configure_mail): Don't need to pass shell to
	mail_config_druid_new.

svn path=/trunk/; revision=20051
2003-02-25 14:49:58 +00:00
7a0f761f14 remove some cvs merge cruft
svn path=/trunk/; revision=20050
2003-02-25 14:45:09 +00:00
71caaeddaa Use g_signal_connect_after to connect to the "prepare" signal to work
* e-shell-startup-wizard.c (connect_page, make_importer_page): Use
	g_signal_connect_after to connect to the "prepare" signal to work
	around a GnomeDruidPageStandard bug (b.g.o 81869)
	(e_shell_startup_wizard_create): Remove the "return TRUE" that was
	added here a while back to disable the startup wizard.

	* glade/evolution-startup-wizard.glade: Change "Next" and "Finish"
	in the text to "Forward" and "Apply" to match the gnome 2 druid
	buttons.

svn path=/trunk/; revision=20049
2003-02-25 14:44:16 +00:00
f446063c57 Same as below.
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* e-dateedit.c (on_date_popup_date_selected): Same as below.

	* e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also
	updated to use the new GDate API from glib 2.0

	* test-calendar.c (on_selection_changed): Fixed to use glib 2.0's
	GDate API.

	* e-calendar-item.c (e_calendar_item_get_week_number): Port to
	glib 2.0's GDate API.
	(e_calendar_item_set_selection): Same.

	* e-search-bar.c (append_xml_menu_item): Use
	g_string_append_printf instead of g_string_sprintfa since the
	latter is now deprecated.
	(setup_bonobo_menus): Same.

	* e-filter-bar.c (do_advanced): Use gtk_window_set_resizable()

	* e-charset-picker.c: Fixes to make it build cleanly with
	-DG_DISABLE_DEPRECATED
	(add_charset): Escape _'s so we don't get underline weirdness due
	to GtkLabel thinking the _ means to underline the next char.
	(e_charset_picker_bonobo_ui_populate): Same here.

svn path=/trunk/; revision=20048
2003-02-25 07:03:46 +00:00
bcc58d8bc7 g_alloca (strlen (charset) + 1) so we don't overflow the buffer.
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-charset-map.c (camel_charset_canonical_name): g_alloca
	(strlen (charset) + 1) so we don't overflow the buffer.

svn path=/trunk/; revision=20047
2003-02-25 03:46:06 +00:00
afea60336c Make sure the url is != NULL? I can't think of anything else in this code
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (drag_data_received): Make sure the url is !=
	NULL? I can't think of anything else in this code that could
	possibly cause bug #38382.

svn path=/trunk/; revision=20046
2003-02-24 22:15:26 +00:00
910eaf99d2 Don't write the passwd, fixes "bug" #38601.
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/pop3/camel-pop3-stream.c (stream_write): Don't write
	the passwd, fixes "bug" #38601.

svn path=/trunk/; revision=20045
2003-02-24 20:30:00 +00:00
4b4eb5589a Fixed a memory leak.
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Fixed a
	memory leak.

svn path=/trunk/; revision=20044
2003-02-24 19:57:54 +00:00
f154a49a01 Make sure m->config_service is non-NULL before using
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (request_password): Make sure m->config_service
	is non-NULL before using m->config_service->save_passwd since PGP
	stuff will not have a config_service. Fixes bug #38149.

	* mail-account-gui.c (mail_account_gui_save):
	s/e_account_list_changed/e_account_list_change - otherwise we get
	an undefined symbol and we crash :-)

svn path=/trunk/; revision=20043
2003-02-24 19:38:57 +00:00
9e43f18147 Updated Ukrainian translation
svn path=/trunk/; revision=20041
2003-02-24 19:16:49 +00:00
b6fadac1f1 Don't unref the GtkInvisible - instead, destroy it.
2003-02-24  Hans Petter Jansson  <hpj@ximian.com>

	* gal/e-text/e-text.c (e_text_dispose): Don't unref the GtkInvisible -
	instead, destroy it.

svn path=/trunk/; revision=20040
2003-02-24 19:07:09 +00:00
9cd1c39bc5 Don't always append "[script]" to the signature name. Also cleaned up some
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_new_signature): Don't
	always append "[script]" to the signature name. Also cleaned up
	some memory leakage.

svn path=/trunk/; revision=20039
2003-02-24 18:55:57 +00:00
eda567cddb Doh, forgot to remove the e-gray-bar.h include
2003-02-24  Rodney Dawes  <dobey@ximian.com>

	* e-shell-view.c: Doh, forgot to remove the e-gray-bar.h include

svn path=/trunk/; revision=20038
2003-02-24 18:35:08 +00:00
b89f7f0979 fixed the purple druid pages
svn path=/trunk/; revision=20037
2003-02-24 18:16:53 +00:00
32f0a2a911 We don't need e-gray-bar.[ch] anymore Remove these unused files now We are
2003-02-24  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: We don't need e-gray-bar.[ch] anymore
	* e-gray-bar.[ch]: Remove these unused files now
	* e-shell-folder-title-bar.c: We are themeable now!!!!
	Use GtkArrows now instead of pixmaps
	Get rid of the hardcoded colors
	Add an expose_event to paint a flat box for the background
	* e-shell-view.c: Don't need e-gray-bar anymore

svn path=/trunk/; revision=20036
2003-02-24 16:53:22 +00:00
acf12a49d6 Make bucket->refcount 31 bits and bucket->used 1 bit instead of having
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-iconv.c: Make bucket->refcount 31 bits and bucket->used 1
	bit instead of having each use their own 32bit int.

svn path=/trunk/; revision=20035
2003-02-24 16:35:42 +00:00
e6cae5170e Use g_iconv_close() here, missed this before. (camel_iconv): Might as well
2003-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-iconv.c (iconv_cache_bucket_expire): Use g_iconv_close()
	here, missed this before.
	(camel_iconv): Might as well call g_iconv here even though it just
	calls iconv directly.

svn path=/trunk/; revision=20034
2003-02-24 16:17:55 +00:00