Matthew Barnes
de752b010f
Including <glib-object.h> directly is rarely needed.
2011-05-28 11:12:08 -04:00
Matthew Barnes
394e580dfd
Including <glib.h> directly is rarely needed.
2011-05-28 10:39:52 -04:00
Milan Crha
756c8abcb8
Bug #646109 - Fix use of include <config.h> to make sure translations work
2011-05-27 15:23:07 +02:00
Matthew Barnes
a9dff2f33a
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-05-24 19:41:59 -04:00
Matthew Barnes
9692758dc5
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-05-23 21:50:50 -04:00
Matthew Barnes
cb97c2dc8f
Coding style and whitespace cleanup.
2011-05-21 17:56:06 -04:00
Matthew Barnes
86c9c4d793
Remove mail_remove_folder().
...
Use e_mail_folder_remove() instead.
2011-05-20 13:14:53 -04:00
Matthew Barnes
41337195f3
Bug 650223 - evolution-backup does not terminate without --gui
...
Use g_io_scheduler_push_job() instead of g_thread_create(). When the
operation is finished, call gtk_main_quit() from the main thread using
g_io_scheduler_job_send_to_mainloop().
Also, check for cancellation with a GCancellable instead of a boolean.
Note: We really should be using GLib's process spawning API
instead of system(), but that's a job for another day.
2011-05-16 16:53:03 -04:00
Matthew Barnes
527a1a020d
Reimplement part of the "templates" plugin.
...
Now uses camel_folder_get_message().
2011-05-13 12:44:01 -04:00
Matthew Barnes
e270dfde64
Keep forgetting to add prefixes to EAlert tags.
2011-05-12 19:26:34 -04:00
Matthew Barnes
20989209ae
Reimplement "mailing-list-actions" plugin.
...
Now uses camel_folder_get_message().
2011-05-12 19:24:10 -04:00
Matthew Barnes
b663d51f1b
Miscellaneous cleanups.
2011-05-12 19:00:09 -04:00
Matthew Barnes
3f196cf3bd
mark-all-read: Reimplement to not block.
...
I'm mainly trying to get rid of mail_get_folder(), but I'm also tired of
this plugin blocking the UI. If there's a lot of messages the lockup is
really noticable.
2011-05-11 21:36:34 -04:00
Matthew Barnes
1217a54192
Add a 'message_uid' param to em_utils_edit_message().
...
So we can remove the internal edit_message() function and do the work
directly in em_utils_edit_message().
2011-05-11 12:58:58 -04:00
Matthew Barnes
8a186c3588
Coding style cleanups.
2011-05-08 13:37:20 -04:00
Matthew Barnes
4cfb84c573
Whitespace and coding style cleanups.
2011-05-07 18:48:38 -04:00
Matthew Barnes
c7b455de89
Adapt to CamelFolder:name -> display-name.
2011-05-07 11:15:51 -04:00
Matthew Barnes
4660d0fcad
Adapt to CamelFolderInfo.name -> display_name.
2011-05-07 10:29:37 -04:00
Vibha Yadav
218bd67a1e
Bug 649365 - Creation of new repository evolution-groupwise
...
Removing groupwise plugin code from evolution.
2011-05-04 17:34:48 +05:30
Matthew Barnes
b4d14fdbe5
groupwise-features: Avoid e_get_account_by_source_url().
...
Use e_get_account_by_uid() instead.
2011-05-03 15:18:15 -04:00
Matthew Barnes
06411bdbbb
Remove 'from_uri' params from e-msg-composer-utils.c.
...
Pass CamelFolder objects instead, which are already available at almost
every call site.
2011-05-03 13:42:15 -04:00
Matthew Barnes
b8a932ae1e
Fix compiler warnings.
...
Mostly dead assignments.
2011-05-03 10:45:46 -04:00
Matthew Barnes
c3b983d6e1
Drop 'folder_uri' param from em_utils_folder_is_outbox().
2011-05-03 09:42:06 -04:00
Matthew Barnes
b9f932b1b8
Drop 'folder_uri' param from em_utils_folder_is_sent().
2011-05-03 09:42:06 -04:00
Matthew Barnes
9e0f0f529f
Drop 'folder_uri' param from em_utils_folder_is_drafts().
2011-05-03 09:42:06 -04:00
Matthew Barnes
7b4a69edc4
EMConfigTargetAccount: Add original_account member.
...
Rename the existing 'account' member to 'modified_account' and add an
'original_account' member so plugins have direct access to both.
Mostly of benefit to the imap-features plugin.
2011-05-02 15:37:22 -04:00
Matthew Barnes
5fcf41925b
EMEventTargetFolder: Add an EAccount member.
...
The mail-notification plugin can use the EAccount member directly
instead of searching for it by URI.
2011-05-02 15:12:55 -04:00
Matthew Barnes
384f70e958
groupwise-features: Fix a compiler warning.
2011-04-30 10:19:40 -04:00
Matthew Barnes
77397e699d
Adapt to extra arg in camel_session_get_service_by_url().
2011-04-29 09:49:38 -04:00
Dan Vrátil
5fcaadbc9a
Bug #641845 - Add default expansion variables to templates plugin
...
Users can read values from original message in the template
by $ORIG[header] and with a special value $ORIG[body].
2011-04-27 17:10:14 +02:00
Matthew Barnes
2594b0d00c
Add itip_address_is_user().
...
Convenience function that checks whether the given email address matches
a registered mail identity.
2011-04-26 11:21:38 -04:00
Matthew Barnes
8cd2068215
Remove redundant EAccountList utilities.
...
Kill itip_addresses_get() and itip_addresses_get_default(), and use
e_get_account_list() and e_get_default_account() instead.
2011-04-26 09:20:50 -04:00
Matthew Barnes
397aeade05
Adapt to CamelService changes.
2011-04-21 07:45:45 -04:00
Milan Crha
dddda73fe4
Bug #646197 - Crash with VALARM without ACTION property
2011-04-18 16:29:29 +02:00
Matthew Barnes
ea0fdf21ec
Adapt to sealed up CamelService.
2011-04-17 13:13:55 -04:00
Kjartan Maraas
88ae09989a
Fix translations being boken by removing calls to bindtextdomain() from plugins.
...
It shouldn't be needed for plugins that live in the evolution source tree anyway
since they should just use the translation domain they inherit from main().
2011-04-01 18:35:24 +02:00
Matthew Barnes
ea8326df3a
Remove the profiler plugin.
...
This plugin was for developers, but no one uses it anymore. Plus the
only profiling hooks left in Evolution were in the MessageList widget,
which performs fine. There's better ways to collect profiling data
these days anyway (sysprof, systemtap, etc.).
2011-03-28 16:12:42 -04:00
Matthew Barnes
a09a95559e
Fix alignment of extra widgets in EAlertDialogs.
...
Add e_alert_dialog_get_content_area(), which returns the GtkVBox
containing the primary and secondary labels. Use this instead of
gtk_dialog_get_content_area() to maintain the dialog's left margin
beneath the image.
2011-03-24 16:50:19 -04:00
Matthew Barnes
d5d651cf78
Bug 645545 - Attachment reminder dialog uses wrong expand
2011-03-24 16:50:19 -04:00
Milan Crha
40346a792f
Workaround for bug #644792 - [mail-notify] Crash when sending D-Bus message
2011-03-15 12:51:49 +01:00
Milan Crha
3df6594023
Fix build break after recent eds changes
2011-03-14 08:02:05 +01:00
Milan Crha
9a1d03400b
Bug #641939 - [publish-calendar] Doesn't read online state on start
2011-03-09 11:52:31 +01:00
Matthew Barnes
c6fd77460f
Coding style and whitespace cleanup.
2011-03-05 12:34:28 -05:00
Milan Crha
f1710c9a4a
Bug #643693 - Crash opening attached text/html mail
2011-03-04 14:01:03 +01:00
Milan Crha
2533e52b8c
Do not leak attachments in a mail view
2011-03-02 15:13:40 +01:00
Matthew Barnes
b22ac14482
Fix Gtk-Doc comment notation.
...
Seeing lots of what I assume to be doxygen syntax in comment blocks.
2011-03-01 13:09:11 -05:00
Milan Crha
7cd21fa82a
Bug #642447 - Invalid reads while disabling groupwise account
2011-03-01 12:08:39 +01:00
Milan Crha
a117ff9142
Bug #641456 - Crash in pst_process_appointment at pst-importer.c
2011-02-28 16:07:27 +01:00
Matthew Barnes
fcb29478f6
Coding style and whitespace cleanup.
2011-02-18 20:44:24 -05:00
Milan Crha
4b9ac3879d
Fix few memory leaks
2011-02-14 19:15:36 +01:00