Matthew Barnes
d305e8ff10
Reduce GConf usage in em-composer-utils.c.
...
To reduce GConf usage in em-composer-utils.c:
- Relevant functions in em-composer-utils.c now take arguments for
reply and forward styles.
- Redundant forwarding functions were removed:
em_utils_forward_attached()
em_utils_forward_inline()
em_utils_forward_quoted()
- EMailReader now has "forward-style" and "reply-style" properties,
which get bound to the appropriate EShellSettings properties in
modules/mail/e-mail-config-reader.c. These same EShellSettings
properties are bound to the combo boxes in Composer Preferences.
2010-10-19 13:41:14 -04:00
Matthew Barnes
ec170e47fd
Move more account utilities to e-account-utils.c.
2010-10-18 12:32:38 -04:00
Matthew Barnes
22ef5aa7e6
Kill mail_config_get_gconf_client().
2010-10-18 12:32:37 -04:00
Matthew Barnes
ed45d23b84
Remove mail_tools_folder_to_url().
...
Use camel_folder_get_uri() instead.
2010-10-12 13:59:00 -04:00
Matthew Barnes
a06e4484b8
Give MailSession a permanent home.
...
Global variables in shared libraries are a bad idea. EMailBackend now
owns the MailSession instance, which is actually now EMailSession.
Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants. Same approach as Camel.
Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend. Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
Milan Crha
c0050ee921
Bug #619387 - EMailBrowser doesn't honour sorting of a mail window
2010-10-12 12:52:59 +02:00
Matthew Barnes
a91eeb6471
Pass GCancellable to Camel.
2010-09-28 11:35:55 -04:00
Matthew Barnes
cd53ba9900
Coding style cleanups.
2010-09-13 08:28:58 -04:00
Matthew Barnes
6cb0cbd0be
Pass an EShell to EMsgComposer instances.
...
Reduce the composer's dependency on e_shell_get_default().
2010-08-13 20:56:33 -04:00
Matthew Barnes
699e36491b
Change em_format_redraw() to em_format_queue_redraw().
...
This changes the behavior of the function: instead of redrawing
immediately it schedules the redraw from an idle callback. This
allows us to make multiple changes to EMFormat before redrawing.
2010-08-10 18:53:31 -04:00
Matthew Barnes
9279429501
Drop the "quote-from-selection" property.
...
David's solution is simpler: check if the HTML widget is mapped.
Avoids having to propagate the property to Srini's new classes.
2010-07-26 07:40:48 -04:00
David Woodhouse
8ae4bf802a
Fix two memory leaks when replying
...
1: em_utils_reply_to_message() can be passed a newly-created message (from
a current selection. It needs to unref it. Which means that when we pass it
a message which *isn't* newly-created, we have to obtain a ref of our own.
It was that or add a boolean parameter to tell it whether to unref or not.
2: emf_finalize() wasn't unreferencing emf->message -- so when we clone
the EMFormat in em_utils_message_to_html() and immediately unreference the
clone, a refcount on the message got leaked. Fix emf_finalize() to unref
emf->message as presumably it should.
2010-07-15 16:48:45 +01:00
David Woodhouse
8b8fdabfa6
Warn on reply-to-all with too many recipients
2010-07-15 16:48:45 +01:00
Matthew Barnes
a972d9ab59
Bug 624285 - When replying, ignore text selection if preview is hidden
2010-07-13 19:30:20 -04:00
Milan Crha
179db75ce0
Bug #620815 - Memory leaks with Evolution
2010-06-24 20:43:16 +02:00
Matthew Barnes
0439c01a9a
Bug 616724 - Initialize message window with threaded state of main window
2010-06-19 11:39:49 -04:00
Matthew Barnes
b3cdfb6bad
Bug 620628 - Checkbox in vfolder deletion prompt is saved backwards
2010-06-05 13:03:24 -04:00
Matthew Barnes
4f01d3d182
Keep chipping away at direct GtkHTML usage.
...
EMFormatHTML now holds a sealed EWebView instead of a public GtkHTML,
accessible through em_format_html_get_web_view().
Rename e_mail_reader_get_html_display() to e_mail_reader_get_formatter()
and have it return an EMFormatHTML instead of an EMFormatHTMLDisplay,
since that's usually the type you want (or else an EMFormat, but never
an EMFormatHTMLDisplay).
2010-05-31 12:01:49 -04:00
Matthew Barnes
6640519e48
Use EWebView functions whenever possible.
2010-05-30 23:05:14 -04:00
Matthew Barnes
c9ec8c3f4d
Merge branch 'express2'
2010-05-26 13:09:33 -04:00
Matthew Barnes
9653887891
Coding style and whitespace cleanup.
2010-05-25 10:15:32 -04:00
Matthew Barnes
c30d29425e
Coding style and whitespace cleanup.
2010-05-01 23:18:28 -04:00
Matthew Barnes
aec33928b7
Adapt to Camel API changes.
2010-04-30 11:30:19 -04:00
Milan Crha
260715a957
Use default headers when none stored to display in mailer
...
As part of bug #603418 , to fix a corner case
2010-04-29 12:40:25 -04:00
Milan Crha
5d08bbfe4c
Bug #603418 - Custom headers not displayed in message preview
2010-04-29 12:40:24 -04:00
Milan Crha
ad1b3754f7
Bug #545505 - Properly free unused message infos periodically
2010-04-29 16:31:31 +02:00
Milan Crha
f1eae39e4e
Use default headers when none stored to display in mailer
...
As part of bug #603418 , to fix a corner case
2010-04-26 18:06:08 +02:00
Milan Crha
cd7c20d152
Bug #603418 - Custom headers not displayed in message preview
2010-04-26 16:42:02 +02:00
Matthew Barnes
fabb6b035c
Only #include Camel's top-level header.
2010-04-02 16:59:20 -04:00
Matthew Barnes
cae22334fa
Remove dead assignments found by clang.
2010-01-15 21:50:05 -05:00
Jonathon Jongsma
31204c9cc2
Port all error code to use GObject-ified EAlert / EAlertDialog
...
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h. This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
Matthew Barnes
5e938b590f
Expand the EMailReader interface so it's easier to use.
...
Adds the following methods:
CamelFolder * (*get_folder) (EMailReader *reader);
const gchar * (*get_folder_uri) (EMailReader *reader);
GPtrArray * (*get_selected_uids) (EMailReader *reader);
2009-12-01 15:01:14 -05:00
Matthew Barnes
76fbb9d232
Kill message_list_free_uids().
...
Use em_utils_uids_free() instead.
2009-12-01 15:01:14 -05:00
Matthew Barnes
d94534c367
Merge bits and pieces of the anjal-evo-2-30 branch.
2009-11-30 18:34:38 -05:00
Jonathon Jongsma
c2ee0afbc8
Rename EError to EAlert to match general use better
...
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.
This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
Jonathon Jongsma
ae906bbae5
port mail/ to use new EError API
...
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:31:19 -06:00
Ritesh Khadgaray
82e862889d
Bug 563555 - Confirm before forwarding many emails inline
2009-11-19 16:08:34 -05:00
Matthew Barnes
2b16aef841
Cleanup and rename filter classes.
2009-10-27 09:25:01 -04:00
Milan Crha
586725125f
Bug #593922 - Reply freezes evo
2009-09-02 16:30:37 +02:00
Matthew Barnes
cee7273ff2
Bug 592032 - Marks message as read when preview is off
2009-08-17 14:14:03 -04:00
Matthew Barnes
f0d3f3afdf
Radically reorganize source code.
...
- Collect all shell modules into a new top-level 'modules' directory:
$(top_srcdir)/modules/addressbook
$(top_srcdir)/modules/calendar
$(top_srcdir)/modules/mail
Nothing is allowed to link to these, not plugins nor other modules.
THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.
- Mimic the libevolution-mail-shared library from master (except drop
the "shared" suffix) and have libevolution-mail-importers and all
mail-related plugins link to it.
- Discard the a11y subdirectories and have the files live alongside
their counterpart widgets.
2009-06-24 18:29:22 -04:00
Matthew Barnes
9e98dc9bd9
Bug 586343 – Search folder delete confirmation missing check box
2009-06-20 09:41:37 -04:00
Matthew Barnes
cc3a98fc1a
Merge branch 'master' into kill-bonobo
...
Conflicts:
a11y/widgets/ea-combo-button.c
a11y/widgets/ea-combo-button.h
addressbook/gui/component/addressbook-component.c
addressbook/gui/component/addressbook-component.h
addressbook/gui/component/addressbook-view.c
addressbook/gui/component/addressbook-view.h
addressbook/gui/component/component-factory.c
addressbook/gui/widgets/e-addressbook-view.c
addressbook/gui/widgets/eab-contact-display.c
addressbook/gui/widgets/eab-gui-util.h
addressbook/gui/widgets/eab-menu.c
addressbook/gui/widgets/eab-menu.h
addressbook/gui/widgets/eab-popup-control.c
addressbook/gui/widgets/eab-popup-control.h
addressbook/gui/widgets/eab-popup.c
addressbook/gui/widgets/eab-popup.h
calendar/gui/cal-search-bar.c
calendar/gui/calendar-commands.c
calendar/gui/calendar-component.c
calendar/gui/comp-editor-factory.c
calendar/gui/comp-editor-factory.h
calendar/gui/control-factory.c
calendar/gui/dialogs/comp-editor.c
calendar/gui/e-cal-component-memo-preview.c
calendar/gui/e-cal-component-memo-preview.h
calendar/gui/e-calendar-table.c
calendar/gui/e-memo-table.c
calendar/gui/e-memos.c
calendar/gui/e-tasks.c
calendar/gui/gnome-cal.c
calendar/gui/gnome-cal.h
calendar/gui/itip-bonobo-control.c
calendar/gui/itip-bonobo-control.h
calendar/gui/main.c
calendar/gui/memos-component.c
calendar/gui/memos-control.c
calendar/gui/memos-control.h
calendar/gui/migration.c
calendar/gui/migration.h
calendar/gui/tasks-component.c
calendar/gui/tasks-control.c
calendar/importers/main.c
composer/Makefile.am
composer/e-composer-header-table.c
composer/e-composer-header.c
composer/e-composer-header.h
composer/e-composer-name-header.c
composer/e-composer-private.c
composer/e-composer-text-header.c
composer/e-msg-composer.c
composer/e-msg-composer.h
e-util/e-corba-utils.h
e-util/e-logger.c
e-util/e-logger.h
e-util/e-util-labels.c
e-util/e-util-labels.h
em-format/em-format.c
mail/Makefile.am
mail/e-mail-shell-migrate.c
mail/em-account-editor.c
mail/em-account-editor.h
mail/em-composer-prefs.c
mail/em-composer-utils.c
mail/em-composer-utils.h
mail/em-folder-browser.c
mail/em-folder-tree-model.c
mail/em-folder-tree.c
mail/em-folder-tree.h
mail/em-folder-utils.c
mail/em-folder-utils.h
mail/em-folder-view.c
mail/em-format-html-display.c
mail/em-format-html.c
mail/em-mailer-prefs.c
mail/em-mailer-prefs.h
mail/em-message-browser.c
mail/em-message-browser.h
mail/em-network-prefs.h
mail/em-popup.c
mail/em-utils.c
mail/importers/Makefile.am
mail/mail-component-factory.c
mail/mail-component.c
mail/mail-config-factory.c
mail/mail-config-factory.h
mail/mail-config.c
mail/mail-dialogs.glade
mail/mail-types.h
plugins/calendar-weather/calendar-weather.c
plugins/mail-account-disable/mail-account-disable.c
plugins/select-one-source/select-one-source.c
po/POTFILES.in
shell/e-component-registry.c
shell/e-component-registry.h
shell/e-component-view.c
shell/e-component-view.h
shell/e-corba-config-page.c
shell/e-corba-config-page.h
shell/e-shell-constants.h
shell/e-shell-settings-dialog.c
shell/e-shell-settings-dialog.h
shell/e-shell-window-commands.c
shell/e-shell-window.c
shell/e-shell.h
shell/e-sidebar.c
shell/e-sidebar.h
shell/e-user-creatable-items-handler.c
shell/e-user-creatable-items-handler.h
shell/es-menu.c
shell/es-menu.h
shell/evolution-component.h
shell/evolution-config-control.c
shell/evolution-config-control.h
shell/evolution-listener.c
shell/evolution-listener.h
shell/evolution-shell-component-utils.c
shell/evolution-shell-component-utils.h
shell/importer/evolution-importer-client.c
shell/importer/evolution-importer-client.h
shell/importer/evolution-importer-listener.c
shell/importer/evolution-importer-listener.h
shell/importer/evolution-importer.c
shell/importer/evolution-importer.h
shell/importer/evolution-intelligent-importer.c
shell/importer/evolution-intelligent-importer.h
shell/importer/intelligent.c
shell/main.c
shell/test/evolution-test-component.c
shell/test/evolution-test-component.h
widgets/menus/gal-view-instance.c
widgets/menus/gal-view-menus.c
widgets/menus/gal-view-menus.h
widgets/misc/Makefile.am
widgets/misc/e-activity-handler.c
widgets/misc/e-activity-handler.h
widgets/misc/e-charset-picker.c
widgets/misc/e-combo-button.c
widgets/misc/e-combo-button.h
widgets/misc/e-config-page.h
widgets/misc/e-dropdown-button.c
widgets/misc/e-dropdown-button.h
widgets/misc/e-filter-bar.c
widgets/misc/e-info-label.c
widgets/misc/e-info-label.h
widgets/misc/e-multi-config-dialog.c
widgets/misc/e-multi-config-dialog.h
widgets/misc/e-search-bar.c
widgets/misc/e-search-bar.h
widgets/misc/e-task-bar.c
widgets/misc/e-task-bar.h
widgets/misc/e-task-widget.c
widgets/misc/e-task-widget.h
widgets/misc/test-dropdown-button.c
widgets/misc/test-error.c
widgets/misc/test-info-label.c
widgets/table/e-table-example-1.c
2009-05-27 08:37:17 -04:00
Matthew Barnes
03fe4bdcbc
Fix most of the compiler warnings in mail.
2009-05-07 21:12:02 -04:00
Matthew Barnes
16e2beab9e
Adapt mail to EShellBackend changes.
...
Again, builds but not tested. Lots of compiler warnings to clean up,
but I don't have the energy for it. This was pretty grueling.
2009-05-07 16:38:32 -04:00
Matthew Barnes
bc80332460
Miscellaneous stuff.
...
svn path=/branches/kill-bonobo/; revision=37134
2009-01-26 18:49:51 +00:00
Matthew Barnes
8bfadde575
Fix more runtime warnings.
...
svn path=/branches/kill-bonobo/; revision=37132
2009-01-25 17:36:30 +00:00
Matthew Barnes
3c7a575407
Fix some runtime warnings.
...
Copy that nasty message list scrolling hack to EMailShellContent.
Remember the scrollbar position for each folder. Now I just have to make
it select a message automatically.
svn path=/branches/kill-bonobo/; revision=37119
2009-01-21 21:03:14 +00:00
Matthew Barnes
f8b33bc4eb
Add a couple missing files.
...
svn path=/branches/kill-bonobo/; revision=37047
2009-01-12 03:30:06 +00:00