Commit Graph

191 Commits

Author SHA1 Message Date
395a311fe3 Cool Hack of the Day: right-click menu item to autodetect what mailing
list a message comes from and create the rule for it on the fly.
(Many thanks to Joakim for suggesting the way to implement this.)

Also, use the new shiny toolbar icons from TigerT and mark some
strings for translation.

svn path=/trunk/; revision=5362
2000-09-12 14:30:49 +00:00
7d777d329b Fix memory handling for the shell's CORBA object reference within the
folder browser.

svn path=/trunk/; revision=5221
2000-09-06 14:36:08 +00:00
53ebb93266 Applied Jesse's patch that will append a signature to the replied message
2000-09-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-format.c (mail_generate_reply): Applied Jesse's patch that
	will append a signature to the replied message text

	* folder-browser-factory.c: Changed "Send & Receieve" back to "Get
	Mail" temporarily so that the toolbar buttons don't all get
	stretched to some weird proportion

svn path=/trunk/; revision=5191
2000-09-04 05:14:55 +00:00
e6220851e3 Change the "Get Mail" toolbar button to become "Send & Receieve"
2000-09-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Change the "Get Mail" toolbar button
	to become "Send & Receieve"

	* mail-callbacks.c (send_queued_mail): New callback function for
	sending queued mail
	(send_receieve_mail): New callback for Send & Receieve that
	basically just calls send_queued_mail and then fetch_mail

	* mail-ops.c (cleanup_send_mail): Mod to be able to handle a NULL
	composer window
	(setup_send_mail): Modified to handle a NULL composer widget
	(mail_do_send_queue): New convenience async function to send all
	messages in a folder (aka all messages in a queue)

svn path=/trunk/; revision=5184
2000-09-03 05:56:14 +00:00
4654c4625e Make the Home' and End' keys do the Right Thing. Remove circular
reference to the shell.  Bind "Open in New Window" to `Ctrl-O'.

svn path=/trunk/; revision=5181
2000-09-02 19:01:04 +00:00
b3a5afcf5b Added bonobo menu handler for mark_all_deleted function.
2000-08-27  Ariel Rios  <ariel@arcavia.com>

        * folder-browser-factory.c (control_activate): Added bonobo menu handler for mark_all_deleted function.

        * mail.h: (mark_all_deleted): Added prototype.

        * mail-callbacks.c (mark_all_deleted): Added callback for marking all displayed messages in a folder as$

svn path=/trunk/; revision=5067
2000-08-27 20:14:12 +00:00
f6e3d603c9 Sync the right-click menu with the main menu for modifying messages
svn path=/trunk/; revision=5018
2000-08-24 20:20:28 +00:00
d397b9d2ce Fixed some warnings in the uihandler code.
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* folder-browser-factory.c: Fixed some warnings in the uihandler
	code.

svn path=/trunk/; revision=5008
2000-08-24 19:01:47 +00:00
0b9b384a2b Fix GDK_THREADS_entering and leaving, hopefully once and for all. Genericify the recursive-store-loading. Load stores when they're added to the config page.
svn path=/trunk/; revision=5005
2000-08-24 17:22:12 +00:00
aaedfc4628 Reformat a bit, make "Folder" appear before "Message", fill in the Message
* folder-browser-factory.c (control_activate): Reformat a bit,
	make "Folder" appear before "Message", fill in the Message menu
	more.

svn path=/trunk/; revision=4989
2000-08-23 21:40:52 +00:00
7edf922a6c Fix menu items
svn path=/trunk/; revision=4870
2000-08-17 19:43:25 +00:00
df2c6c922a Move menu items around, fix some GUI bits.
svn path=/trunk/; revision=4867
2000-08-17 17:53:36 +00:00
7cf30eb792 Filtering on demand! booyeah!
svn path=/trunk/; revision=4864
2000-08-17 17:42:21 +00:00
e3b786b5cf Add support for copying messages
svn path=/trunk/; revision=4845
2000-08-15 19:10:45 +00:00
d5e7aef9f2 Fix the ugly hack to get rid of a CORBA race condition. Yes, it's
even uglier now.

svn path=/trunk/; revision=4814
2000-08-13 22:41:02 +00:00
53337e992f Get the mail component to use the new Evolution::ShellView interface.
This implementation is so ugly and evil and needs to be replaced.
Don't look at it.  Go away.

svn path=/trunk/; revision=4797
2000-08-13 05:20:54 +00:00
8a58a73369 Move menu items that affect a single message together, ditto with ones
2000-08-11  JP Rosevear  <jpr@helixcode.com>

	* folder-browser-factory.c (control_activate): Move menu items
	that affect a single message together, ditto with ones that
	affect multiple messages, put a separator in.

svn path=/trunk/; revision=4764
2000-08-12 03:15:44 +00:00
d5f9483b16 Fixed some warnings.
2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

	* folder-browser-factory.c, message-list.c, message-thread.c,
	session.c: Fixed some warnings.

svn path=/trunk/; revision=4722
2000-08-11 03:41:26 +00:00
8cb514d6dd Merge with camel-async.
svn path=/trunk/; revision=4687
2000-08-10 17:30:50 +00:00
57b053b875 Made the toolbars conform to the user's gnomecc settings for detachable
toolbars.

svn path=/trunk/; revision=4677
2000-08-09 23:59:37 +00:00
555d9111ec Use menu stock icons instead of normal stock icons for the menu items.
svn path=/trunk/; revision=4653
2000-08-09 18:16:32 +00:00
5bdcadd4cf Use the placeholder for the "Print message..." menu item.
svn path=/trunk/; revision=4633
2000-08-09 05:28:16 +00:00
491b3c3c77 Value for threaded list view is now saved via gnome-config. This means that you can FINALLY shut off the threaded view once and for all :)
svn path=/trunk/; revision=4621
2000-08-09 02:06:20 +00:00
b9eece78e6 Redone to show a dialogue first, and show progress of whats happening as
2000-08-07  Not Zed  <NotZed@HelixCode.com>

        * mail-local.c (local_reconfigure_folder): Redone to show a
        dialogue first, and show progress of whats happening as its done.

        * Makefile.am (glade_DATA): Added local-config.glade, for mailbox
        reconfig dialogue.

2000-08-04  Not Zed  <NotZed@HelixCode.com>

        * folder-browser.c (mail_uri_to_folder): Use local_uri_to_folder()
        for local uri's (file://).

        * mail-local.c (local_uri_to_folder): Handle looking up folder
        storage type before opening the store/folder.
        (local_reconfigure_folder): Function to reconfigure the format of
        a local mailbox into another storage format.

        * Makefile.am (evolution_mail_SOURCES): Added mail-local.c and
        missing mail-vfolder.h.

svn path=/trunk/; revision=4591
2000-08-08 03:55:11 +00:00
573ea91f0c Added mail-view.c
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* Makefile.am: Added mail-view.c

	* folder-browser-factory.c (control_activate): Adda menu item for
	viewing the message

	* mail-view.c: New file containing methods for viewing messages in
	separate windows

	* mail-ops.c (view_message): New callback for viewing messages in
	a new window.

svn path=/trunk/; revision=4588
2000-08-08 02:08:44 +00:00
9739fb5219 New menu item under Actions to allow editing of messages.
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c (control_activate): New menu item under
	Actions to allow editing of messages.

	* mail-ops.c (edit_message): New function for editing messages.

svn path=/trunk/; revision=4563
2000-08-07 06:55:53 +00:00
51df4b80b2 Update the README and the text of the Bonobo configure check to match
* configure.in, README: Update the README and the text of the
	Bonobo configure check to match reality. Remove the 0.15 vs
	0.15-and-a-half check since we require post-0.16 now.

	* folder-browser-factory.c (control_activate): Remove bonobo 0.15
	vs 0.15-and-a-half ifdef, since we require post-0.16 now.

svn path=/trunk/; revision=4552
2000-08-05 16:37:22 +00:00
623b1de43d Everywhere unref the remote_uih having done a set_container.
svn path=/trunk/; revision=4524
2000-08-04 03:09:01 +00:00
8ec2a002e8 only whack the sig in if the file exists.
2000-08-03  Michael Meeks  <michael@helixcode.com>

	* mail-config.c (identity_page_new): only whack the sig in if the
	file exists.

	* component-factory.c (factory_fn): count running instances,
	attach destroy signal (factory_destroy): add.

	* main.c (main): pass orb around.

svn path=/trunk/; revision=4523
2000-08-04 02:00:02 +00:00
4f1ecbb64b Remove hack to pass the storage around.
2000-07-29  Not Zed  <NotZed@HelixCode.com>

        * component-factory.c (create_view): Remove hack to pass the
        storage around.

        * folder-browser-factory.c (control_activate): Changed to call
        renamed vfolder editor.

        * mail-ops.c (vfolder_edit_vfolders): renamed from vfolder_edit,
        call new edit function.
        (vfolder_editor_clicked): Removed.
        (filter_druid_clicked):
        (filter_edit): Updated for api change.
        (real_fetch_mail): Fixed up for api change and fucked up indent.
        (filter_get_folder): callback for filter driver.

        * mail-vfolder.c: New file to manage virtual folders.

svn path=/trunk/; revision=4417
2000-07-30 03:21:16 +00:00
f34353458d Added mark_all_seen(), to mark every message in the list with
2000-07-28  Cody Russell  <bratsche@gnome.org>
        * mail-ops.c, mail.h: Added mark_all_seen(), to mark every
        message in the list with CAMEL_MESSAGE_SEEN.

        * folder-browser-factory.c: Added "Actions/Mark all seen".

svn path=/trunk/; revision=4412
2000-07-29 04:20:38 +00:00
f062013d51 s/struct refile_data/struct move_data (real_move_msg): Renamed from
2000-07-26  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-ops.c: s/struct refile_data/struct move_data
	(real_move_msg): Renamed from real_refile_msg()
	(move_msg): Renamed from refile_msg()

	* folder-browser-factory.c: Changed Refile to Move.

svn path=/trunk/; revision=4347
2000-07-26 16:09:18 +00:00
9a6b1689a7 Remove GOAD support.
* component-factory.c, folder-browser-factory.c, test-mail.c:
	Remove GOAD support.

	* main.c: Remove GOAD support.
	(main): More "guess the build mistake" fun, this time for the
	failure to initialize Bonobo case.

svn path=/trunk/; revision=4301
2000-07-25 01:38:08 +00:00
a80bd46ba3 Use _()' instead of N_()' for strings that need to be translated on
the fly.

svn path=/trunk/; revision=4283
2000-07-23 12:21:13 +00:00
642c7db8af Work with both current and 0.15 bonobo
* folder-browser-factory.c (control_activate): Work with both
	current and 0.15 bonobo

svn path=/trunk/; revision=4054
2000-07-10 21:23:35 +00:00
1cc1f0a7a7 Add a "Threaded Message List" item to the "View" menu.
* folder-browser-factory.c (control_activate): Add a "Threaded
	Message List" item to the "View" menu.

	* message-list.c (message_list_toggle_threads): Handler for that.
	(build_flat): New function to build a "flat" message list using
	the tree model.
	(message_list_regenerate): Build tree or flat message list
	depending on the global setting.

svn path=/trunk/; revision=3999
2000-07-09 03:06:56 +00:00
a4e0069b9c Move the "Expunge" command to the "Actions" menu.
svn path=/trunk/; revision=3987
2000-07-09 01:08:47 +00:00
443433db56 fix warnings.
* folder-browser-factory.c, folder-browser.c, mail-ops.c,
	message-list.c: fix warnings.

svn path=/trunk/; revision=3931
2000-07-07 00:47:24 +00:00
8a2058e527 Use gnome-print to do a print preview.
* mail-ops.c (print_msg): Use gnome-print to do a print preview.

	* folder-browser-factory.c: Hook up "Print" button.

svn path=/trunk/; revision=3835
2000-06-30 21:33:54 +00:00
6f95a96083 New function, a wrapper around e_table_selected_row_foreach, which calls
* message-list.c (message_list_foreach): New function, a wrapper
	around e_table_selected_row_foreach, which calls the callback
	function with UIDs rather than row numbers.

	* folder-browser-factory.c: Remove never-used "Find" button from
	the toolbar and replace it with "Refile". (We need a better icon
	for this...). Hook up "Refile" to "refile_msg".

	* mail-ops.c (refile_msg): Call the shell's user_select_folder
	routine, and then use message_list_foreach and real_refile_msg to
	do the work.
	(delete_msg): Update to use message_list_foreach.

	* folder-browser.c (mail_uri_to_folder): new function, extracted
	from folder_browser_load_folder, to turn a URI into a folder.
	(folder_browser_load_folder): Use it.

svn path=/trunk/; revision=3833
2000-06-30 20:05:47 +00:00
f8498f1b3a Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.
	Also changed the pixmap to MAIL_NEW instead of MAIL_SND

svn path=/trunk/; revision=3807
2000-06-29 21:14:45 +00:00
d2bd0132f7 Changed "Send" to "Compose" to avoid user confusion. Compose is a little
2000-06-29  Jeffrey Stedfast  <fejj@helixcode.com>

	* folder-browser-factory.c: Changed "Send" to "Compose" to
	avoid user confusion. Compose is a little more intuitive.

	* mail-ops.c (compose_msg): Renamed to avoid confusion

svn path=/trunk/; revision=3805
2000-06-29 21:06:28 +00:00
860fb187ff Return the result of folder_browser_load_folder. (get_prop, set_prop,
* folder-browser.c (folder_browser_set_uri): Return the result of
	folder_browser_load_folder.
	(get_prop, set_prop, folder_browser_properties_init): Remove. No
	longer needed.

	* folder-browser-factory.c (folder_browser_factory_new_control):
	Add a "uri" argument, return NULL if setting it fails.
	(folder_browser_factory_new_control): Remove property bag stuff.
	(folder_browser_factory_init, folder_browser_factory): Remove
	this, since we're using the component factory now.

	* component-factory.c (create_view): Update for
	folder_browser_factory_new_control change and return NOTFOUND as
	appropriate.

	* main.c (main): Don't call folder_browser_factory_init.

svn path=/trunk/; revision=3532
2000-06-12 19:29:17 +00:00
88b0244b32 Add a serial number to FolderBrowser.
* folder-browser.c (folder_browser_new): Add a serial number to
	FolderBrowser.

	* folder-browser-factory.c (control_activate, control_deactivate):
	Include fb serial number in the name of the Bonobo toolbar to
	prevent problems with disappearing toolbars. This is a kludge and
	should go away.

svn path=/trunk/; revision=3501
2000-06-10 01:52:51 +00:00
2f8b4bc14f Remember passwords between calls. (forget_passwords): Callback for "Forget
* session.c (evolution_auth_callback): Remember passwords between
	calls.
	(forget_passwords): Callback for "Forget Passwords" menu item.

	* folder-browser-factory.c (control_activate):
	(control_deactivate): Add "Forget Passwords" menu item.

svn path=/trunk/; revision=3434
2000-06-05 22:33:51 +00:00
cc8422198a Finished the configuration dialogs and renamed some Tools/ menu items
this should also fix the bug where the VFolders menu item isn't removed when using the Calendar/etc

svn path=/trunk/; revision=3336
2000-06-01 18:27:48 +00:00
7d0efdf785 Make the toolbar look like a standard GNOME toolbar my putting it into
a GtkFrame.  Also, make sure it cannot be dragged to the left or right
of the dock, because with the current non-BonoboUIHandler system we
use it causes bad bad things to happen.

svn path=/trunk/; revision=3319
2000-06-01 03:46:13 +00:00
8e70b18c3f started to add a camel provider configuration tool
svn path=/trunk/; revision=3287
2000-05-30 17:46:17 +00:00
5b887fe6dc vfolder gui! So you can define them,k they show up in the list (well,
after a restart), but they always come up empty - doesn't search any
folders yet.

2000-05-27  Not Zed  <NotZed@HelixCode.com>

        * Makefile.am (SHELL_OBJS): Include mail storage so we can
        initialise folders.

        * component-factory.c (create_test_storage): Parses vfolder
        defintions and adds them to the storage.  Definetly needs more
        work.

        * folder-browser-factory.c (control_activate): Add the VFolder
        druid menu item.
        (control_deactivate): And remove it.

        * mail-ops.c (vfolder_editor_clicked): For editing vfolder
        definitions (rather like filters, oddly enough :).  Tries to
        update the shell but it doesn't seem to work properly - requires a
        mail component restart to take effect.

        * folder-browser.c (folder_browser_load_folder): Handle vfolder:
        urls' appropriately and map to camel.  Still needs a way to tell
        the vfolder what folders to search! (all vfolders come up empty!).

svn path=/trunk/; revision=3241
2000-05-28 06:18:11 +00:00
bb241192eb Reorganized the shell to allow dynamic registration of storages and
folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
2000-05-25 05:55:59 +00:00