Commit Graph

34731 Commits

Author SHA1 Message Date
c728cc2d96 EMFilterFolderElement cleanups. 2011-06-29 18:42:22 +02:00
1eb782e310 EMFolderSourceElement: Store UIDs instead of URIs.
For backward-compatibility we can still decode <uri> elements, but new
source rules will store the account UID, which is easier to deal with.
2011-06-29 18:42:22 +02:00
584486a915 EMFilterSourceElement: Add an EMailBackend constructor property. 2011-06-29 18:42:22 +02:00
74b64d63f6 EMFilterSourceElement cleanups. 2011-06-29 18:42:22 +02:00
80e3a3ad4b Fix more places where old-style folder URIs are used. 2011-06-29 18:42:22 +02:00
cf2877c49a Bug #649939 - Cann't create new folder 2011-06-29 18:42:22 +02:00
7b0c569148 Bug #651062 - Emit operation progress on the correct cancellable 2011-06-29 18:42:22 +02:00
5f7fff5065 e_mail_store_add_by_account(): Fix a potential use-before-set. 2011-06-29 18:42:22 +02:00
8055965328 Remove em_utils_folder_name_from_uri(). 2011-06-29 18:42:21 +02:00
96947a0bcf Change EMEventTargetFolder contents.
Give it a CamelStore and folder name instead of an EAccount and folder
URI.  Both the EAccount and folder URI can be easily retrieved from the
CamelStore and folder name.
2011-06-29 18:42:21 +02:00
084298cae5 [l10n]Updated Catalan (Valencian) translation 2011-06-29 18:42:21 +02:00
ebdaad049d Remove e_get_subscribable_accounts().
Another EAccount utility function down...
2011-06-29 18:42:21 +02:00
b7a86ea957 EMSubscriptionEditor: Manage stores, not accounts.
We'll query the accounts to get display names for the combo box,
but that's it.  Use CamelStores instead.
2011-06-29 18:42:21 +02:00
0c205a55ed EMailShellView: Avoid e_get_subscribable_accounts().
Use em_folder_tree_model_list_stores() to determine whether to enable
the folder subscription editor.
2011-06-29 18:42:21 +02:00
4abf3ae25f Add em_folder_tree_model_list_stores().
Lists all the CamelStores added to EMFolderTreeModel.  Note that
CamelStores with a corresponding EAccount are only added if the EAccount
is enabled, so it's safe to assume all returned CamelStores are enabled.
2011-06-29 18:42:21 +02:00
6606589fa8 EMFolderTreeModel: Miscellaneous cleanups. 2011-06-29 18:42:21 +02:00
f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
63d86c794e Remove account from EMFolderTreeModelStoreInfo.
The struct already has a CamelStore, and the CamelStore UID is the same
as the EAccount UID, so it's easy to lookup the corresponding EAccount.
2011-06-29 18:42:21 +02:00
0fdaf826c2 EMFolderTreeModel: Remove internal account_index.
The store_index is sufficient.
2011-06-29 18:42:21 +02:00
8afd0b13ad Remove display_name from EMFolderTreeModelStoreInfo.
It was only being used to look up an EAccount UID, but we already had
the CamelStore, and the CamelStore UID is the same as the EAccount UID.
2011-06-29 18:42:21 +02:00
3f67582bbd Bug #229244 - Re-ordering email addresses in contact list editor 2011-06-29 18:42:21 +02:00
c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
bb204a16ea Bug #651135 - Crash using saved search with an empty expression 2011-06-29 18:42:20 +02:00
7d94ff7913 Bug 651062 - refresh_folders_exec() reports progress incorrectly. 2011-06-29 18:42:20 +02:00
f38ba5f59d Updated Spanish translation 2011-06-29 18:42:20 +02:00
2c5c883e00 Bug 651001 - Cannot send message from accounts not having a provider 2011-06-29 18:42:20 +02:00
d9ccdb7484 Check for vfolder stores by UID, not URI. 2011-06-29 18:42:20 +02:00
0c4f4aa6ce Bug #651039 - Always update signature in composer on account change 2011-06-29 18:42:20 +02:00
4aa025ed59 Updated the help license from GFDL 1.2 to GFDL 1.3 and CC-BY-SA 3.0
Checkout http://mail.gnome.org/archives/evolution-list/2010-December/msg00170.html
for more details.
2011-06-29 18:42:20 +02:00
6e610403e4 Fix em_folder_selector_get_selected_uri().
Another case of custom logic to build old-style folder URIs.
The new format simplifies things considerably.
2011-06-29 18:42:20 +02:00
4482f93f33 EMFolderSelector: Fix some silly typos. 2011-06-29 18:42:20 +02:00
6e6da8a408 Use em_folder_tree_get_selected() in places to simplify code.
There were a few places where we were accessing the folder tree model
directly to get the selected store + folder name, or were asking for the
selected URI only to parse back into its store + folder name components.
2011-06-29 18:42:20 +02:00
851a872865 Remove em_folder_tree_get_selected_path().
em_folder_tree_get_selected() supercedes it.
2011-06-29 18:42:20 +02:00
cf138322ff Add em_folder_tree_get_selected().
Returns the CamelStore and folder name of the selected row.
2011-06-29 18:42:20 +02:00
fffba9a3be EMFolderTree: Rewrite async folder info loading.
When a folder is expanded and child folder info needs to be retrieved,
submit an EActivity and call camel_store_get_folder_info() instead of
using the legacy MailMsg API.
2011-06-29 18:42:20 +02:00
6a810a5114 Add em_folder_tree_new_activity().
Similar to e_mail_reader_new_activity().  Creates, configures and
submits a new EActivity instance, so asynchronous operations can easily
be dispatched without a lot of boilerplate code.
2011-06-29 18:42:20 +02:00
672132f8a0 EMFolderTree: Add an EAlertSink property.
Now EMFolderTree has access to both an EShellBackend and an EAlertSink;
everything it needs to build and submit EActivity instances.
2011-06-29 18:42:19 +02:00
8decdbc4cb Let EMFolderSelector create its own EMFolderTree.
Also, minimize the EMFolderSelector API by removing frivolous wrapper
functions and unused functions.
2011-06-29 18:42:19 +02:00
fcfe3ec2a1 EMFolderTree: Whitespace cleanups. 2011-06-29 18:42:19 +02:00
3cd0ca95df Bug 649993 - Change behavior of --component option
This is primarily for the GNOME Shell calendar.

If, for example, "evolution --component calendar" is invoked and there
is already an Evolution window opened to the calendar view, present that
window.  Otherwise open a new Evolution window to the requested view.

Same behavior applies to all requested views.
2011-06-29 18:42:19 +02:00
7050475f84 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-06-29 18:42:19 +02:00
a98cb0a982 Remove emfu_create_folder_real().
Use e_mail_store_create_folder() instead.
2011-06-29 18:42:19 +02:00
ef4592c1eb Bug #643819 - Autocomplete the Location field 2011-06-29 18:42:19 +02:00
47b5a37ad4 Updated Irish translation. 2011-06-29 18:42:19 +02:00
b0f826ba58 Bug 537691 - Account editor window HIG
Change the OK button to Apply, and fix the padding around the window
edges.  People already bitching about the window being too tall are just
gonna bitch louder now, but it does look better on normal size screens.
2011-06-29 18:42:19 +02:00
0d8be64df6 Revert "Correct garbled mailto: uris passed in through GApplication interface"
This reverts commit 94d5fb1b66.

Wrong solution.  See bug #650491.
2011-06-29 18:42:19 +02:00
9a2cffb057 Bug 650491 - Shell handles forwarding uris to existing process wrong
This adds a "handle-uris" GAction which takes a string array argument,
so the URIs can be passed to the primary process verbatim.
2011-06-29 18:42:19 +02:00
df724f1652 Updated Spanish translation 2011-06-29 18:42:19 +02:00
2191c224c0 Bug 650524 - Use g_unix_signal_add_watch_full() for SIGTERM
We can't call anything safely except write() inside a signal handler,
g_unix_signal_add_watch_full() handles this for us nicely.
2011-06-29 18:42:18 +02:00