Commit Graph

527 Commits

Author SHA1 Message Date
Milan Crha 48d805df31 Bug #207580 - Allow new mail check on individual accounts 2011-06-29 18:41:04 +02:00
Milan Crha aaf95d222d Bug #632962 - Duplicate "On this computer" sources after update 2011-06-29 18:41:04 +02:00
Milan Crha 64d24b234e Bug #633783 - Folder->Expunge enabled when no folder selected 2011-06-29 18:41:02 +02:00
Milan Crha 12a91dbb21 Bug #633779 - GtkComboBoxText issues 2011-06-29 18:41:01 +02:00
Milan Crha 8c1a1ef609 Bug #632683 - Remove-duplicates should work on selection 2010-11-16 10:43:15 +01:00
Matthew Barnes 7439ad9ca1 Fix distcheck errors. 2010-11-09 23:33:23 +01:00
Matthew Barnes 7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
Milan Crha 64fe66dc6b Bug #634088 - Uses uninitialized variable in action_contact_new_cb 2010-11-09 23:33:22 +01:00
Matthew Barnes dce5bdc369 Move calendar preferences to the calendar module.
Continue replacing the use of calendar-config functions with GObject
property bindings to EShellSettings properties.
2010-11-09 23:33:22 +01:00
Milan Crha d0fcf91106 Bug #612181 - Show recurring events in italic in date navigator 2010-11-09 23:33:21 +01:00
Milan Crha ee148f2bbe Bug #632562 - Disabled account in preferences not remove in folder tree 2010-11-09 23:33:21 +01:00
Matthew Barnes 26afa6081c Utilize the new ESourceSelector:primary-selection property. 2010-11-09 23:33:21 +01:00
Matthew Barnes eb5f523bd7 EMailReader: Add a get_alert_sink() method. 2010-11-09 23:33:20 +01:00
Matthew Barnes a2747569c8 Kill em_folder_utils_unsubscribe_folder().
Use e_mail_session_unsubscribe_folder() instead.
2010-11-09 23:33:20 +01:00
Matthew Barnes 4a929caada Pass an EAlertSink to e_alert_sink_submit_alert().
Passing a random GtkWidget and then searching its ancestors for an
EAlertSink turned out to be not as useful as I thought.  Most of the
time we know about and have access to the widget that implements
EAlertSink, so just pass it directly as an EAlertSink.
2010-11-09 23:33:20 +01:00
Matthew Barnes eea1fa0fd0 Bug 628139 - Thread-safety issues in libical time zone loading 2010-11-09 23:33:19 +01:00
Matthew Barnes 4b88140cb6 Bug 633172 - Folder->Subscriptions is always enabled 2010-11-09 23:33:19 +01:00
Benjamin Otte 2ee8cffd6e Remove unused function
gcc warning fix
2010-10-29 13:49:57 -04:00
Milan Crha 475c08d68f Bug #632199 - Opening calendar from panel clock goes to previous day 2010-10-29 15:54:19 +02:00
Milan Crha 0b3647d161 Bug #632767 - Some widgets removed from mail-config.ui 2010-10-27 11:54:54 +02:00
Milan Crha d6d0d1050a Bug #445439 - Delete mail from pop-server when deleted from Inbox/Trash 2010-10-27 10:06:57 +02:00
Matthew Barnes a910a31a06 Fix capitalization in menu labels. 2010-10-22 14:33:15 -04:00
Matthew Barnes c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
Matthew Barnes 4a08257b83 Deal with GtkComboBoxEntry removal in gtk+-3.0. 2010-10-20 16:10:15 -04:00
Matthias Clasen 8da37ea812 Bug 632641 - Handle combo box text API going away 2010-10-20 15:08:16 -04:00
Milan Crha 61999b493f Bug #631451 - Add handlers for x-scheme-handler/mailto 2010-10-20 15:24:29 +02:00
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 a133df0caf Add an "ellipsize" property to EMFolderTree.
So we don't have to access GConf directly from EMFolderTree.  The
property gets bound to an EShellSettings property, which is in turn
bound to the "no_folder_dots" GConf key by way of a transform function.
2010-10-18 16:00:29 -04:00
Matthew Barnes ae478d1e3c Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].

Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.

TODO: We should do this for calendar and addressbook too.
2010-10-18 14:31:16 -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 35e55a8d6e Send errors to an EAlertSink instead of the task bar.
This marks the end of unintrusive error dialogs, which were too
unintrusive.  We now show errors directly in the main window using
the EAlert / EAlertSink framework.
2010-10-18 12:32:37 -04:00
Matthew Barnes b674a37a38 Add an EOfflineAlert module.
This module posts an alert to the first EShellWindow when starting
offline, and also posts an alert when the network connection drops.

We get frequent questions on the mailing list from users not realizing
Evolution is starting in offline mode, so this is meant to help address
that confusion.
2010-10-18 12:32:36 -04:00
Matthew Barnes 51ebf20237 EAlert: Allow arbitrary actions to be added.
You can now amend the predefined actions in an EAlert by calling
e_alert_add_action().  Useful for adding actions from an existing
GtkUIManager.

Call e_alert_peek_actions() to obtain a combined list of predefined
and custom actions.  These will typically serve as "related" actions
for GtkButtons (cf. gtk_activatable_set_related_action()).

Also, both EShellWindow and EShellView now implement EAlertSink.  Use
EShellWindow for application-wide alerts, EShellView for view-specific
alerts.
2010-10-18 12:32:36 -04:00
Bharath Acharya bed8e97cd7 Bug #604981 - Always bcc ignored for Contacts.
Add the Bcc destinations instead of setting it.
2010-10-18 10:36:17 +05:30
Milan Crha df6f8dc010 Bug #587011 - Integrate remove-duplicates into evolution 2010-10-15 09:39:16 +02:00
Matthew Barnes b277e14a6a Bug 632171 - "New Address Book" dialog accepts whitespace for name 2010-10-14 17:17:17 -04:00
Matthew Barnes 1e663aa132 Replace EBinding with GBinding.
GObject now does property bindings itself.

Requires GLib >= 2.26.
2010-10-14 07:12:52 -04:00
Matthew Barnes 192b603ef6 Bug 305425 - Toolbar cancel button is always sensitive 2010-10-13 17:38:00 -04:00
Matthew Barnes 3fbcc8ef80 EShellBackend: Respond to EShell::prepare-for-quit signals.
Listen for "prepare-for-quit" signals from the shell and inhibit
shutdown until all the activities we're tracking are finalized.

Also, add a couple supporting functions:

  gboolean  e_shell_backend_is_busy     (EShellBackend *shell_backend);
  void      e_shell_backend_cancel_all  (EShellBackend *shell_backend);

These will eventually replace mail_msg_active() and mail_cancel_all().
2010-10-13 16:00:03 -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 4118d671d4 Composer: Show cancellable operations and errors inline.
'Send' and 'Save Draft' are now asynchronous and run outside of
Evolution's MailMsg infrastructure.

Add an EActivityBar to the composer window so these asynchronous
operations can be tracked and cancelled even in the absense of a main
window.  Also add an EAlertBar to the composer window so error messages
can be shown directly in the window.

Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit()
and pass the EMsgComposer as the widget argument.  The EMsgComposer will
decide whether to show an EAlertDialog or use the EAlertBar, depending
on the GtkMessageType of the alert.
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 a051d7ea7e Calendar's "Open Web Page" actions doesn't work 2010-10-06 10:07:56 +02:00
Matthew Barnes d00c445e8e Bug 588851 - Don't show unsubscribe option for local folders 2010-10-05 08:39:36 -04:00
Matthew Barnes 9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
Matthew Barnes a69cbcd79a Bug 510020 - Add "Manage Subscriptions" to store context menus 2010-10-03 09:39:10 -04:00
Matthew Barnes ec089b4a41 Rewrite the folder subscription editor.
Redesign the "Folder Subscriptions" dialog and use Camel's async API
instead of the MailMsg infrastructure to simplify the implementation.
2010-10-02 15:22:07 -04:00
Matthew Barnes e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
Milan Crha 6ec1118c92 Bug #629462 - Tasks 'Due' filters don't work properly 2010-09-29 11:39:26 +02:00