Commit Graph

306 Commits

Author SHA1 Message Date
cb8915bcaa Miscellaneous GtkAction-related cleanups.
Prefer the newer GtkAction "set" functions over g_object_set().
2011-06-29 18:41:50 +02:00
392973975c Restore lockdown integration.
With lockdown settings available through GSettings, widgets can handle
lockdown integration themselves without having to use EShellSettings.

Also fixed a few places where printing or save-to-disk actions were
either not properly wired up or not responding to lockdown settings,
but much more work needs done.  Attachments, for example, are not
honoring the disable-save-to-disk setting at all.

This too requires the recently-added gsettings-desktop-schemas
dependency.
2011-06-29 18:41:50 +02:00
b30716185a Bug 643507 - Font preferences don't work 2011-06-29 18:41:43 +02:00
7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
0f01c08352 Bug #642093 - Frees message attachment content on Reply 2011-06-29 18:41:40 +02:00
c003c99a75 Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-06-29 18:41:39 +02:00
3b6c8972a5 Coding style and whitespace cleanup. 2011-06-29 18:41:36 +02:00
65bc58546c Bug #638333 - Critical warning when invoking File->New->Mail Folder 2011-06-29 18:41:35 +02:00
f03d5a9023 Bug 642171 - Implicit libgnome dependency for lockdown GConf keys
Lockdown keys have moved to gsettings-desktop-schemas, so disable
lockdown integration until we're ready for GSettings.
2011-06-29 18:41:34 +02:00
274697623e Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-06-29 18:41:34 +02:00
8efc1bc6f9 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-06-29 18:41:31 +02:00
dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
6af0c53b69 Coding style and whitespace cleanup. 2011-06-29 18:41:29 +02:00
b5aba428f4 Adapt size_request vfuncs to latest gtk+-3.0 API. 2011-06-29 18:41:26 +02:00
cadcc080ee Adapt to GtkComboBox class reorg. 2011-06-29 18:41:25 +02:00
a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
c36bd27fa8 Bug #634403 - Mails Label popup menu is not updated properly 2011-06-29 18:41:20 +02:00
2e68a6a74d Bug #633982 - Crash when trying to Create a search folder from a search 2011-06-29 18:41:20 +02:00
d009b5b365 Bug #633788 - Mail plugin's update-actions handler is never called 2011-06-29 18:41:19 +02:00
c5265294a3 Avoid idle callbacks in EMailBackend initialization.
If the migration phase has to show a dialog the idle callback for
intializing mail stores will run too soon.  Instead, hook it onto
the EShellBackend start() method.

Migration code can initialize mail stores early if it needs to.
2011-06-29 18:41:16 +02:00
6e9c9986ac Bug #637906 - Don't ask again when sending to non-mail recipients 2011-06-29 18:41:15 +02:00
6217c41106 Fix menu item capitalizaion. 2011-06-29 18:41:14 +02:00
97fac153c5 Bug #567879 - Add View >> Gallery Option In Email Composer 2011-06-29 18:41:13 +02:00
f18f55f251 Bug #637162 - May not add toolbar Send/Receive button multiple times 2011-06-29 18:41:11 +02:00
49dd425fc9 Bug #631568 - Scheduling Meetings with CalDAV calendars 2011-06-29 18:41:09 +02:00
ca3faa17a9 Free/busy meeting view doesn't work due to non-working extension 2011-06-29 18:41:08 +02:00
53bed7cc63 Bug 636265 - Trash is untranslated in the window title 2011-06-29 18:41:08 +02:00
fc91bfc86e Add option "Check for new messages in all active accounts"
As a follow-up for bug #633949
2011-06-29 18:41:05 +02:00
3738a9e12f Set mnemonic widget for lblDefaultCharset in Mail Preferences 2011-06-29 18:41:05 +02:00
e419261d18 Bug #633949 - Add an option to disable new e-mail check at startup 2011-06-29 18:41:05 +02:00
48d805df31 Bug #207580 - Allow new mail check on individual accounts 2011-06-29 18:41:04 +02:00
64d24b234e Bug #633783 - Folder->Expunge enabled when no folder selected 2011-06-29 18:41:02 +02:00
12a91dbb21 Bug #633779 - GtkComboBoxText issues 2011-06-29 18:41:01 +02:00
8c1a1ef609 Bug #632683 - Remove-duplicates should work on selection 2010-11-16 10:43:15 +01:00
7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
ee148f2bbe Bug #632562 - Disabled account in preferences not remove in folder tree 2010-11-09 23:33:21 +01:00
eb5f523bd7 EMailReader: Add a get_alert_sink() method. 2010-11-09 23:33:20 +01:00
a2747569c8 Kill em_folder_utils_unsubscribe_folder().
Use e_mail_session_unsubscribe_folder() instead.
2010-11-09 23:33:20 +01:00
4b88140cb6 Bug 633172 - Folder->Subscriptions is always enabled 2010-11-09 23:33:19 +01:00
0b3647d161 Bug #632767 - Some widgets removed from mail-config.ui 2010-10-27 11:54:54 +02:00
d6d0d1050a Bug #445439 - Delete mail from pop-server when deleted from Inbox/Trash 2010-10-27 10:06:57 +02:00
a910a31a06 Fix capitalization in menu labels. 2010-10-22 14:33:15 -04:00
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
8da37ea812 Bug 632641 - Handle combo box text API going away 2010-10-20 15:08:16 -04:00
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
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
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
ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
22ef5aa7e6 Kill mail_config_get_gconf_client(). 2010-10-18 12:32:37 -04:00
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