Commit Graph

1756 Commits

Author SHA1 Message Date
2b774ca162 s/Synchronising/Synchronizing/.
* mail-ops.c (sync_folder_desc): s/Synchronising/Synchronizing/.

svn path=/trunk/; revision=12270
2001-08-20 08:27:53 +00:00
41dcb0c01b camel_folder_create_folder can now return a heirachial tree so subscribe
2001-08-20  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (storage_create_folder):
	camel_folder_create_folder can now return a heirachial tree so
	subscribe to down the tree.

svn path=/trunk/; revision=12257
2001-08-20 07:29:26 +00:00
07782b1ab9 use new Cut/Copy/Paste icons.
2001-08-20  Damon Chaplin  <damon@ximian.com>

	* folder-browser-ui.c: use new Cut/Copy/Paste icons.

svn path=/trunk/; revision=12248
2001-08-20 05:40:14 +00:00
d9ed7a6a63 Added display_name and description to the type.
* evolution-test-component.c: Added display_name and description
to the type.

* evolution-shell-component.c (impl__get_supported_types): Pass
`display_name' and `description' here.
(evolution_shell_component_construct): Likewise.

* evolution-shell-component.h: New members `display_name',
`description' in `EvolutionShellComponentFolderType'.

* e-component-registry.c (register_type): New args @description
and @display_name.  Pass to
`e_folder_type_registry_register_type()'.
(register_component): Pass the values returned in the sequence
from __get_supported_types.

* e-folder-type-registry.c: New members `display_name' and
`description' in `struct _FolderType'.
(folder_type_new): New args @description and @display_name.
Initialize the respective fields in the `FolderType' accordingly.
(folder_type_free): Free `display_name' and `description'.
(register_folder_type): New args @display_name, @description.
(e_folder_type_registry_register_type): New args @display_name,
@description.
(e_folder_type_registry_get_description_for_type): New.
(e_folder_type_registry_get_display_name_for_type): New.

* Evolution-ShellComponent.idl: Added `display_name' and
`description' fields to the `FolderType' struct.

svn path=/trunk/; revision=12245
2001-08-20 04:42:04 +00:00
ac4f13b93e Allow the activity to be NULL if there isn't a global_shell_client so that
2001-08-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-mt.c (do_op_status): Allow the activity to be NULL if there
	isn't a global_shell_client so that we don't try and report status
	updates when the shell is destroyed.

	* mail-config.c (add_shortcut_entry): Return if there isn't a
	global_shell_client.

	* component-factory.c (owner_set_cb): set the global_shell_client
	here and connect to the destroy signal.

	* mail-vfolder.c (vfolder_create_storage): Use an extern global_shell_client.

svn path=/trunk/; revision=12242
2001-08-20 04:02:10 +00:00
8a11c38be7 Just wanted to mention, this fixes Ximian bug #6995.
svn path=/trunk/; revision=12237
2001-08-20 02:14:04 +00:00
8c156210fe Made delete make the cursor go backwards if the user is sorting by
2001-08-19  Christopher James Lahey  <clahey@ximian.com>

	* mail-callbacks.c (delete_msg): Made delete make the cursor go
	backwards if the user is sorting by descending date.

svn path=/trunk/; revision=12236
2001-08-20 02:13:12 +00:00
ee70366b8e Note: The following changes were based on Zbigniew Chyla's fixes.
2001-08-19  Jeffrey Stedfast  <fejj@ximian.com>

	Note: The following changes were based on Zbigniew Chyla's fixes.

	* mail-callbacks.c (mail_generate_reply): Convert the date string
	to UTF-8.
	(do_forward_non_attached): Same here.

svn path=/trunk/; revision=12231
2001-08-19 23:58:09 +00:00
4dd1972ef9 Convert the date string to UTF-8. (do_forward_non_attached): Same here.
2001-08-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): Convert the date string
	to UTF-8.
	(do_forward_non_attached): Same here.

svn path=/trunk/; revision=12222
2001-08-19 18:47:01 +00:00
61ff5c5bea Added missing #include <config.h>. (applied by Damon)
2001-08-05  Zbigniew Chyla  <cyba@gnome.pl>

	* folder-info.c: Added missing #include <config.h>. (applied by Damon)

svn path=/trunk/; revision=12210
2001-08-18 23:03:09 +00:00
1674bd705b Change the default values for "always-sign" to false.
2001-08-18  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Change the default values for
	"always-sign" to false.

	* mail-callbacks.c (open_msg): if the folder is Outbox, let the
	user edit the message(s) too I guess.

svn path=/trunk/; revision=12208
2001-08-18 20:52:25 +00:00
59d6a959b1 Change pixtype of "MessageDelete" to "pixbuf".
* evolution-mail-message.xml: Change pixtype of "MessageDelete" to
"pixbuf".

* folder-browser-ui.c: Hook the new `delete-message.png' up.

* Makefile.am (buttons_DATA): Added `delete-message.png'.

svn path=/trunk/; revision=12204
2001-08-18 20:18:09 +00:00
e66c822c86 stop signal emission so the GtkButton class method doesn't mess up the
2001-08-17  Damon Chaplin  <damon@ximian.com>

	* mail-display.c (pixmap_press): stop signal emission so the GtkButton
	class method doesn't mess up the popup menu. Hopefully fixes bug #1828.

svn path=/trunk/; revision=12192
2001-08-18 02:49:40 +00:00
c351fabe58 Put _() instead of N_() around of the "Search" string,
2001-08-17  Zbigniew Chyla  <cyba@gnome.pl>

	* mail-search.c (mail_search_construct): Put _() instead of N_()
	around of the "Search" string, gnome_dialog_constructv doesn't
	translate button names.

svn path=/trunk/; revision=12183
2001-08-17 22:10:00 +00:00
a6a5660ead We want wax-seal.png instead, since I added the png files to cvs and
2001-08-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (mail_write_authenticity): We want wax-seal.png
	instead, since I added the png files to cvs and renamed it to
	wax-seal.png.

svn path=/trunk/; revision=12180
2001-08-17 21:33:52 +00:00
d5ea07e5be Compile fixes
svn path=/trunk/; revision=12172
2001-08-17 19:44:17 +00:00
10291068a6 don't init the config here
2001-08-17  JP Rosevear  <jpr@ximian.com>

	* component-factory.c (owner_set_cb): don't init the config here

	* main.c (main): init the config here

svn path=/trunk/; revision=12166
2001-08-17 18:35:11 +00:00
4267d55b9f remove a cmpiler warning
svn path=/trunk/; revision=12163
2001-08-17 17:49:40 +00:00
688a8ead7b remove dead structure
2001-08-17  JP Rosevear  <jpr@ximian.com>

	* mail-config-druid.c: remove dead structure

svn path=/trunk/; revision=12159
2001-08-17 17:42:01 +00:00
c5f6d53e86 Save the always-sign options for pgp and smime. (config_read): Read in the
2001-08-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_write): Save the always-sign options
	for pgp and smime.
	(config_read): Read in the always-save options for pgp and smime.

svn path=/trunk/; revision=12156
2001-08-17 16:33:58 +00:00
c142e4626d Made the default values for column expansions here more reasonable.
2001-08-17  Christopher James Lahey  <clahey@ximian.com>

	* message-list.etspec: Made the default values for column
	expansions here more reasonable.

svn path=/trunk/; revision=12149
2001-08-17 08:15:08 +00:00
4e60b7d947 Startup assistant stuff
svn path=/trunk/; revision=12145
2001-08-17 04:29:11 +00:00
056a9a3236 Only starting cutting the signature out when we match "-- \n", so "--\n"
2001-08-16  Jason Leach  <jleach@ximian.com>

	* mail-tools.c (mail_tool_quote_message): Only starting cutting
	the signature out when we match "-- \n", so "--\n" in the middle
	of a mail won't omit the rest for a quoted reply.  Bug #7454.

svn path=/trunk/; revision=12143
2001-08-17 03:07:42 +00:00
6b1869912e Respect the user's desire to be prompted to confirm that he wants to
2001-08-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (confirm_expunge): Respect the user's desire to
	be prompted to confirm that he wants to expunge the blasted
	folder. Also, don't set the usize - that's just an evil hack and
	you may find it will cut off text once the label has been
	translated.
	(create_msg_composer): In order for the security options to be
	checked when composing a new message, we must set the from account
	explicitly even though the composer hdrs sets the default from
	account and emits the signal because at that stage the composer
	hasn't yet connected to the signals and thus the bonobo menu items
	don't get set.

	* mail-config.c (mail_config_set_confirm_expunge): New.
	(mail_config_get_confirm_expunge): New.

svn path=/trunk/; revision=12141
2001-08-17 03:01:37 +00:00
907c848f76 Sort the nodes here... (fe_sort_folder): ... using this function.
2001-08-16  Peter Williams  <peterw@ximian.com>

	* subscribe-dialog.c (fe_got_children): Sort the nodes here...
	(fe_sort_folder): ... using this function.

	* folder-browser-ui.c (folder_browser_ui_message_loaded): Check for uic
	== NULL. I'm not sure how this could happen, but...

svn path=/trunk/; revision=12130
2001-08-16 21:59:05 +00:00
78606cdb93 Disable "Search Message" when more or less than exactly one message is
2001-08-16  Peter Williams  <peterw@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_set_selection_state): Disable
	"Search Message" when more or less than exactly one message is selected.

svn path=/trunk/; revision=12112
2001-08-16 19:01:43 +00:00
ba9b1480dd (fe_node_to_shell_path): Use node->name and node->full_name to generate
2001-08-16  Peter Williams  <peterw@ximian.com>

	(fe_node_to_shell_path): Use node->name and node->full_name to generate
	the the shell path of this item. Don't need to escape the URL, and
	handle cases when dir_sep != '/'
	(fe_done_subscribing): Use fe_node_to_shell_path instead of the CamelURL.
	Third time's the charm...

svn path=/trunk/; revision=12101
2001-08-16 17:47:15 +00:00
0d2e6f76a9 Instead of hackfully getting the path, use a CamelURL so that escaping is
2001-08-16  Peter Williams  <peterw@ximian.com>

	* subscribe-dialog.c (fe_done_subscribing): Instead of hackfully
	getting the path, use a CamelURL so that escaping is handled. Silly
	me.

svn path=/trunk/; revision=12090
2001-08-16 15:38:08 +00:00
ca8708ec26 Remove some stray cvs collision markers.
svn path=/trunk/; revision=12082
2001-08-16 06:23:11 +00:00
02d49661f3 Remember the filename is in utf8, so use the e_utf8 functions to set the
2001-08-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (save_part): Remember the filename is in utf8, so
	use the e_utf8 functions to set the filename in the file selection
	dialog.

svn path=/trunk/; revision=12076
2001-08-15 21:47:04 +00:00
7da638d6aa Always remove the idle and return FALSE, instead of returning TRUE if more
2001-08-15  Peter Williams  <peterw@ximian.com>

	* message-list.c (on_cursor_activated_idle): Always remove the
	idle and return FALSE, instead of returning TRUE if more than one
	message is selected.

svn path=/trunk/; revision=12075
2001-08-15 21:28:59 +00:00
23de5fcdf5 Stop building the quote after a sigdash, hence, omitting the signature
2001-08-15  Jason Leach  <jleach@ximian.com>

	* mail-tools.c (mail_tool_quote_message): Stop building the quote
	after a sigdash, hence, omitting the signature from a
	reply/forward.  Bug #5529.

svn path=/trunk/; revision=12074
2001-08-15 21:27:18 +00:00
3b25ec8b5e Re-added, at Ettore's request, the confirm-expunge dialog.
2001-08-15  Anna Marie Dirks <anna@ximian.com>

	* mail-callbacks.c (expunge-folders): Re-added, at Ettore's
	request, the confirm-expunge dialog.

svn path=/trunk/; revision=12071
2001-08-15 20:27:26 +00:00
0c485b040f Use ALWAYS for scroll frame policy because ETable acts lame with
2001-08-15  Jason Leach  <jleach@ximian.com>

	* message-list.c (message_list_init): Use ALWAYS for scroll frame
	policy because ETable acts lame with AUTOMATIC.  Bug #6925.

svn path=/trunk/; revision=12061
2001-08-15 19:25:01 +00:00
634a4e12f4 Don't confirm expunge.
2001-08-16  Not Zed  <NotZed@Ximian.com>

        * mail-callbacks.c (expunge_folder): Don't confirm expunge.

svn path=/trunk/; revision=12053
2001-08-15 15:48:56 +00:00
21a13fbcb6 gets rid of those annoying operation-re-registered messages at last.
2001-08-15  Not Zed  <NotZed@Ximian.com>

        * mail-local.c (register_folder_register): Remove operation
        registration/etc.  Handled by mail-mt.c

        * message-list.c (regen_list_regen): Remove camel operation
        registration/etc.

svn path=/trunk/; revision=12041
2001-08-15 04:46:35 +00:00
84f12a913e removed send_receive_mockups.glade
svn path=/trunk/; revision=12038
2001-08-14 23:45:46 +00:00
d4a1de64f1 Convert the UTF-8 account name string into a gtk-string before using it in
2001-08-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (load_accounts): Convert the UTF-8 account name
	string into a gtk-string before using it in the GtkCList.

svn path=/trunk/; revision=12036
2001-08-14 21:37:54 +00:00
aabe697d0b Make previous unread wrap around too.
2001-08-14  Peter Williams  <peterw@ximian.com>

	* mail-callbacks.c (previous_unread_msg): Make previous unread
	wrap around too.

svn path=/trunk/; revision=12029
2001-08-14 19:29:27 +00:00
f604364042 If the account is enabled, set a checkmark pixmap instead of a strange
2001-08-14  Peter Williams  <peterw@ximian.com>

	* mail-accounts.c (load_accounts): If the account is enabled,
	set a checkmark pixmap instead of a strange plus sign.
	(mail_accounts_dialog_init): Load the pixmap here.
	(mail_accounts_dialog_finalise): Free it here.

	* mail-accounts.h: Prototype it here.

svn path=/trunk/; revision=12017
2001-08-14 16:35:14 +00:00
866a960fd9 Fix bug #215... desensitize menu items based on the number of selected
2001-08-09  Peter Williams  <peterw@ximian.com>

	Fix bug #215... desensitize menu items based on the number of
	selected messages (and whether there's a message in the pane)

	* folder-browser-ui.c (folder_browser_ui_add_message): Sensitize
	the menu items appropriately based on the old state.
	(fbui_sensitize_items): New function. Set the sensitivity of a
	list of commands.
	(folder_browser_ui_set_selection_state): New function. Move the FB
	to a new state of selected-ness, and sensitize menu items
	appropriately.
	(folder_browser_ui_message_loaded): New function. When notified
	that a message has been loaded, sensitize some menu items.

	* folder-browser-ui.h: Prototype new functions.

	* folder-browser.h: New enumeration,
	FolderBrowserSelectionState, that records the previous state
	of the selection (_NONE, _SINGLE, _MULTIPLE).

	* folder-browser.c (got_folder): If the component is set,
	set our selection state to _NONE, because that's the default
	state of the ETree.
	(on_selection_changed): When the number of selected messages
	is updated, notify the FBUI code of our new state.
	(folder_browser_gui_init): Hook up to the selection_changed
	signal and default to the _NONE selection state.
	(done_message_selected): Notify when a message is loaded.

2001-08-08  Peter Williams  <peterw@ximian.com>

	* mail-folder-cache.c: Display how many messages are selected,
	too.
	(make_folder_status): If multiple messages are selected, add that
	to the string (the 0 and 1 cases are boring)
	(selection_changed): New function, update the selected count.
	(mail_folder_cache_note_fb): Connect to the selection_changed
	signal.

svn path=/trunk/; revision=12012
2001-08-14 15:26:00 +00:00
28d41bb474 Fix the fix for #6722.
* folder-browser.c (message_list_drag_data_get): Fix the fix for
	#6722.

	* mail-ops.c (save_messages_save): Likewise.
	(save_part_save): Deal with the possibility that
	camel_mime_filter_charset_new_convert will return NULL (bad
	charset name). Fixes #6611.

svn path=/trunk/; revision=12008
2001-08-14 14:14:55 +00:00
45de213476 Disable the "search forward/backward" option in the search dialog. Why?
2001-08-13  Jon Trowbridge  <trow@ximian.com>

	* mail-search.c (mail_search_construct): Disable the "search
        forward/backward" option in the search dialog.  Why?  Well, it
	doesn't work properly (bug #4869), and the reason it doesn't work
	is because of some scary stuff deep inside of gtkhtml that I don't
	understand at all.  So since I'm paranoid, and since the GUI
	freeze is tomorrow, and since it isn't really an important feature
        at all,	I'm #if 0-ing it out.  If the gtkhtml stuff gets sorted
        out, we can slip it back in for 1.1.

svn path=/trunk/; revision=11985
2001-08-14 02:45:14 +00:00
ecc57b7556 New function, handle "user creatable items". (component_fn): Tell the
2001-08-13  Peter Williams  <peterw@ximian.com>

	* component-factory.c (user_create_new_item_cb): New function,
	handle "user creatable items".
	(component_fn): Tell the shell that we're capable of creating
	mail messages.

svn path=/trunk/; revision=11965
2001-08-13 21:59:50 +00:00
df8180e04a Fix this so it can actually get folders from the hash of folders on the
2001-08-13  Jason Leach  <jleach@ximian.com>

	* mail-local.c (get_folder): Fix this so it can actually get
	folders from the hash of folders on the local store (it was
	looking up plain @folder_name, which is typically "mbox", instead
	of the full URI, /home/jleach/evolution/local/Foo/mbox).

	* component-factory.c (do_remove_folder): Rename to
	remove_folder_done, more fitting for it's purpose.
	(do_xfer_folder): Similar name change.
	(do_create_folder): Similar name change.
	(remove_folder): Don't notifyResult for the component here, we
	will notify with our result in remove_folder_done.
	(xfer_folder): Ditto.

	* mail-vfolder.c (vfolder_refresh): Create new folders with unread
	counts of "0" instead of #FALSE (which just happens to be #defined
	as zero).

svn path=/trunk/; revision=11964
2001-08-13 21:36:41 +00:00
e86531cbd1 Break most of the functionality into a separate function.
2001-08-13  Peter Williams  <peterw@ximian.com>

	* mail-send-recv.c (mail_autoreceive_setup): Break most of the
	functionality into a separate function.
	(autoreceive_setup_list): Rename of mail_autoreceive_setup that is
	passed a list of accounts.
	(mail_autoreceive_setup_account): New function. Set up a single
	account using autoreceive_setup_account.

	* mail-send-receive.h: Prototype mail_autoreceive_setup_account.

	* mail-account-gui.c (mail_account_gui_save): Instead of setting
	up all accounts, set up only this source with the new
	mail_autoreceive_setup_account.

	* mail-config-druid.c (druid_finish): ... which means we can call
	mail_config_add_account() after the MailConfigAccount has been
	created by mail_account_gui_save() because we no longer need the
	account to be in the list for mail_autoreceive_setup()

	* mail-config.c (mail_config_add_account): ... which means we can
	possibly add a shortcut to the account's sources's Inbox here.
	(maybe_add_shortcut): New function. If the store is a storage, add
	a shortcut to its inbox. Hope that /INBOX exists.
	(add_shortcut_entry): New function. Creates a shortcut if it doesn't
	yet exist.

2001-08-13  Peter Williams  <peterw@ximian.com>

	* mail-account-gui.c (service_complete): Take account of the fact that
	service->path may be NULL (if service is a transport.)

	* mail-config-druid.c (druid_finish): Bleah, bugfix in case the
	account has no source.

svn path=/trunk/; revision=11961
2001-08-13 21:23:04 +00:00
a5facd0e78 Changed all instances of "Wizard" and "Druid" to "Assistant".
2001-08-13  Anna Marie Dirks <anna@ximian.com>
	* mail-config.glade: Changed all instances of "Wizard" and "Druid"
	to "Assistant".

	* mail-config-druid.c: Ditto.

svn path=/trunk/; revision=11960
2001-08-13 21:02:59 +00:00
b89002edea Do some g_assert() action. Make sure that the node passed in is non-NULL
2001-08-13  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (get_message_uid): Do some g_assert()
	action. Make sure that the node passed in is non-NULL and also
	make sure that the CamelMessageInfo gotten from the ETree is
	non-NULL.
	(get_message_info): Same here.

svn path=/trunk/; revision=11959
2001-08-13 20:41:50 +00:00
47df5e395c Changed the title of the Mail Settings dialog from "Evolution Account
2001-08-13  Anna Marie Dirks <anna@ximian.com>
	* mail-accounts.c: Changed the title of the Mail Settings
	dialog from "Evolution Account Manager" to "Mail Settings" .

svn path=/trunk/; revision=11957
2001-08-13 20:30:01 +00:00
5be8aeed4c Confirm that the user really wants to expunge. (save_msg_ok): Set the
2001-08-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (expunge_folder): Confirm that the user really
	wants to expunge.
	(save_msg_ok): Set the parent window here.

svn path=/trunk/; revision=11949
2001-08-13 19:55:40 +00:00