Commit Graph

31598 Commits

Author SHA1 Message Date
5783bb4eb0 Kill more redundant save functions. 2009-11-07 16:09:05 -05:00
86ecfc5053 Convert some "Save As" actions to run asynchronously.
This introduces e-shell-utils for miscellaneous utility functions
that integrate with the shell or shell settings.  First function
is e_shell_run_save_dialog(), which automatically remembers the
selected folder in the file chooser dialog.

Also, kill some redundant save dialog functions, as well as some
write-this-string-to-disk functions that block.
2009-11-07 14:01:46 -05:00
aa66a17e40 Test drive EIOActivity with a simple asynchronous function.
Rename e-fsutils to e-file-utils.  This is where we'll add asynchronous
functions for common file I/O operations with EActivity integration.

Start with e_file_replace_contents_async() (and corresponding finish()
function).  This is a simple wrapper for g_file_replace_contents_async()
which also returns an EActivity.  It replaces e_write_file_uri().

Also redesign EIOActivity to -contain- a GAsyncResult rather than
implement the interface for itself.  This is easier for now but I may
change my mind again when I figure out how to tie centralized error
reporting into the EActivity framework.
2009-11-07 14:01:46 -05:00
b2dd9c1535 Prototype EIOActivity, which integrates with GIO.
EIOActivity implements the GAsyncResult interface, and the idea is to
use this instead of GSimpleAsyncResult.  In addition to the features
offered by EActivity, it also contains GAsyncReadyCallback information
and a GCancellable.

  - Calling e_activity_cancel() triggers the GCancellable.

  - Calling e_activity_complete() triggers the GAsyncReadyCallback.

Functions that follow GIO's asynchronous pattern should return an
EIOActivity (cast as an EActivity) instead of 'void', so it can be
handed to an EShellBackend or whatever else dispatches activities.

This is not yet feature-complete.  It's missing API for storing result
values and GErrors.  I don't have a complete picture of the final API in
my head yet, so I'll copy things over from GSimpleAsyncResult as needed.
2009-11-07 14:01:45 -05:00
a1f990ef82 Move EActivity and subclasses to e-util.
Planning to write some asynchronous utility functions in e-util that
return EActivity objects.
2009-11-07 14:01:45 -05:00
f81497d2b9 Updated Spanish translation 2009-11-07 14:12:37 +01:00
1cc81bb6cc Updated Spanish translation 2009-11-06 21:51:12 +01:00
db0d0594b0 Bug #482327 - Save attached calendar with multiple items easily 2009-11-06 18:05:39 +01:00
1d59b8a596 Updated Spanish translation 2009-11-06 16:11:57 +01:00
53f1800103 Support other forward types for Anjal. 2009-11-06 15:06:42 +00:00
c44073c91f Updated Slovenian translation 2009-11-06 15:06:03 +01:00
8854cef92f Updated Slovenian translation 2009-11-06 15:02:13 +01:00
d209b89674 Bug #599792 - Anjal composer's Send button doesn't work after pressed Save Drafts button
This is due to an old hack that hiding a composer means we're closing
it so save_draft_done() destroys the composer after saved draft. But
in Anjal, the composer widget is always hidden (since the editor is
reparented to the tab), and will be wrongly destroyed by
save_draft_done() when you clicked "Save Draft" button.

This patch improved the old hack, by adding a new API
e_msg_composer_request_close() that can be used to request closing a
composer (so the old hack is no longer needed). Internally,
composer->priv->application_exiting is used to store this exiting
status.

So by this we no longer use a composer's visibility to check whether
we're to close it. When you no longer need a composer after saved
draft, call e_msg_composer_request_close() before sending the
save-draft signal.

The e_msg_composer_is_exiting() (removed by 983bea9) has to be bring
back, which is needed by other programs that use the composer (Anjal
here).

(forward ported from 08150f6 of gnome-2-28)
2009-11-06 16:43:58 +08:00
23c781c247 Remove redundant URI/filename conversion functions.
Use g_filename_to_uri() instead of e_util_filename_to_uri().
Use g_filename_from_uri() instead of e_util_uri_to_filename().
2009-11-05 23:26:32 -05:00
f2e75c5d13 Bug #598877 - Crash while sending mail, in report_status function 2009-11-05 21:01:18 +01:00
4fd8fbc29a Bug #573304 - Forward an email shouldn't strip signature 2009-11-05 20:52:15 +01:00
c46630b0d5 Build filename using g_build_filename instead of hardcoding forward-slash 2009-11-05 19:00:31 +00:00
8cff3c4e4c Quote filename during restore to prevent user assisted arbitrary code execution
Fixes bug 540516.
2009-11-05 19:00:31 +00:00
c79efd6590 Bug #597582 - Original Date: header should be given precedence 2009-11-05 14:53:05 +01:00
df1f9b3b33 Bug #596027: In Anjal, although invalid mail address warning popup, mail's tab closed automatically
A new field "mail_sent" is added to the Composer to indicate whether the
mail is sent successfully or not. This is needed by Anjal to know
whether it can destroy the composer or not.
2009-11-05 11:50:34 +08:00
ca509c991b Updated Spanish translation 2009-11-04 22:37:41 +01:00
b8f4231f24 Updated Spanish translation 2009-11-04 17:43:52 +01:00
e2e50af52c Fix a compiler error 2009-11-04 16:15:04 +00:00
b958de6faa Sync to disk the outbox, since if we crash, we endup sending mail again. 2009-11-04 16:15:04 +00:00
fa057e9f04 Bug #557505 - [bbdb] hangs and is unresponsive
Reverted some parts of bug #599199 and did the same differently
2009-11-04 14:33:09 +01:00
62c105cfab Bug #596827 - Don't remove meeting attendees after edit 2009-11-04 13:01:11 +01:00
7d66ca3796 Add support for Googlemail and hotmail/live/msn.com accounts. 2009-11-04 11:14:37 +00:00
872a31a00c Bug 600402 - Clear search is always enabled in calendar/contact/task 2009-11-03 23:57:17 -06:00
64892e739d Bug #599124 - Signature always includes an empty line in front of text 2009-11-03 19:49:22 +01:00
fbbb865ed4 Bug #599627 - Crash when adding a new task in a table 2009-11-03 15:03:39 +01:00
c75bacce45 Fix few compiler warnings 2009-11-03 13:06:38 +01:00
9f955cf7c1 Added Tamil translation 2009-11-02 20:16:17 +05:30
7dd6b50577 Updated Spanish translation 2009-11-02 13:39:09 +01:00
daa8339f17 Bug #464400 - New mail notify should display sender and subject 2009-10-30 17:01:01 +01:00
eff08fcad7 Bug #583450 - [prefer-plain] Ability to hide html attachments 2009-10-30 14:03:45 +01:00
07fb0ffe30 Lets the saved searches to work. 2009-10-30 16:01:13 +05:30
adadf13c77 Fix distcheck errors. 2009-10-29 22:23:17 -04:00
c8a9da9436 Bug 599890 - Search should not be remembered across folders 2009-10-29 19:35:40 -04:00
7e8315f353 Bug #570835 - Custom e-mail headers inserted with double column 2009-10-29 18:59:31 +01:00
46bfd9b497 Bug 599837 - Junk plugin combo box is invisible 2009-10-29 13:46:27 -04:00
d474c030d7 Bug #561843 - Properly check for filename being set, to not crash 2009-10-29 18:09:32 +01:00
bafba91e9d Bug 600019 - Menu glitches when an account name is selected 2009-10-29 10:41:57 -04:00
7013e0891a Bug 600014 - Remove warnings from ech_config_widget_factory() 2009-10-29 08:14:33 -04:00
1f455a0855 Bug #268644 - unread mail shortcut collides with gtk tree search
Re-applied, as it got lost on kill-bonobo merge
2009-10-29 12:35:01 +01:00
2b7aa4a797 Bug 599896 - Flush outbox option is missing
This also reverts commit f5165c618a.
2009-10-28 18:46:41 -04:00
5a7992dca2 Bug 599882 - Crash in em_folder_tree_select_prev_path() when wrapping to bottom
Also fixes a whole bunch of memory leaks caused by unfreed strings and
unfreed GtkTreePaths.
2009-10-28 15:32:41 -04:00
38caddc649 fix a regression caused by EEvent cleanup 2009-10-28 21:23:05 +02:00
1cd5fb6de3 Don't update the message list when right-clicking on a folder.
After the folder's context menu closes the folder tree selection jumps
back to the folder whose contents are showing in the message list.
Suggested by Philippe LeCavalier on evolution-list.
2009-10-28 09:47:57 -04:00
b89a9ae09d Fix a regression caused by the Forward button feature. 2009-10-28 05:25:03 -04:00
f43bc7ed11 Add a menu to the Forward toolbar button.
Allows users to choose different mail forwarding methods without
navigating the main menu.  Suggested by Ng Oon-Ee on evolution-list.
2009-10-28 04:45:06 -04:00