Commit Graph

39218 Commits

Author SHA1 Message Date
4792c683b0 EMailReader: Remove unused actions.
These are just Express Mode leftovers.

Also remove obsolete functions:

  e_mail_reader_get_enable_show_folder()
  e_mail_reader_enable_show_folder()
  e_mail_paned_view_set_enable_show_folder()
2013-06-02 17:10:30 -04:00
89d274e476 Remove unused EMailNotebookView.
This is just an Express Mode leftover.
2013-06-02 16:44:51 -04:00
a27c70e427 Add e_mail_reader_forward_messages().
Replaces em_utils_forward_messages().
2013-06-02 15:48:42 -04:00
13b2bd263c Add e_mail_reader_edit_messages().
Replaces em_utils_edit_messages().
2013-06-02 14:30:06 -04:00
43610e3431 Move "ask-reply-close-browser" prompt to EMailBrowser.
EMailReader is an interface and should not know about specific classes
that implement its interface.  Instead, EMailBrowser itself will prompt
in response to "composer-created" signals that include a source message.

This also removes the "destroy_when_done" parameter from
em_utils_forward_messages() since it's no longer needed.
2013-06-02 13:24:33 -04:00
f5e47561f9 EMailReader: Add a "composer-created" signal.
Emitted to indicate a composer window was created in response to a user
action on the EMailReader.  Examples of such actions include replying,
forwarding, and starting a new message.

If applicable, the source message (i.e. the message being replied to or
forwarded) is included in the signal emission.

New functions:

  e_mail_reader_composer_created()
2013-06-02 13:22:41 -04:00
1570f53d1e em_utils_edit_message: Change return type to EMsgComposer. 2013-06-02 11:58:08 -04:00
ca14cc115e em_utils_redirect_message: Return the EMsgComposer. 2013-06-02 11:58:08 -04:00
1b7fc9224b em_utils_compose_new_message(): Return the EMsgComposer. 2013-06-02 11:58:08 -04:00
540acdbfa9 Simplify em_utils_forward_message() arguments.
Replace the EShell and CamelSession arguments with a single EMailBackend
argument, from which both the EShell and CamelSession can be obtained.
2013-06-02 11:58:08 -04:00
603fb5ac71 em-composer-utils.c cleanups. 2013-06-02 11:58:05 -04:00
8564aef30c e-mail-reader.h: Remove unimplemented declarations.
These functions do not exist:

  e_mail_reader_get_formatter()
  e_mail_reader_set_formatter()
2013-06-02 08:24:43 -04:00
3e13439f90 Updated Galician translations 2013-06-01 23:07:03 +02:00
8d7a5a1b87 Add e_composer_header_table_ref_source().
Convenience function that works like e_source_registry_ref_source(),
but spares the caller from digging out the ESourceRegistry from the
header table.
2013-06-01 15:24:37 -04:00
76af649676 EComposerHeaderTable: Remove "shell" property.
No longer needed.

Removed functions:

  e_composer_header_table_get_shell()
2013-06-01 15:24:03 -04:00
0dc9aae35b EComposeHeaderTable: Replace "registry" property with "client-cache".
The ESourceRegistry can still be obtained from the EClientCache:

   client_cache = e_composer_header_table_ref_client_cache (table);
   registry = e_client_cache_ref_registry (client_cache);

   ...

   g_object_unref (client_cache);
   g_object_unref (registry);

Added functions:

  e_composer_header_table_ref_client_cache()

Removed functions:

  e_composer_header_table_get_registry()
2013-06-01 15:24:00 -04:00
9528240fe8 EMailReader cleanups. 2013-06-01 12:35:21 -04:00
52feeacf8d Minor efficiency tweak in task_shell_view_model_row_appended_cb().
Call e_task_shell_sidebar_add_client() instead of add_source().

No point asynchronously obtaining the client if we already have it.
2013-06-01 10:08:23 -04:00
7f914de290 Minor efficiency tweak in memo_shell_view_model_row_appended_cb().
Call e_memo_shell_sidebar_add_client() instead of add_source().

No point asynchronously obtaining the client if we already have it.
2013-06-01 10:08:23 -04:00
585745a2bf Minor efficiency tweak in cal_shell_view_user_created_cb().
Call e_cal_shell_sidebar_add_client() instead of add_source().

No point asynchronously obtaining the client if we already have it.
2013-06-01 10:08:23 -04:00
2aa759bc58 Add a boolean return to e_cal_model_remove_client().
The function now returns TRUE if the ECalClient was actually removed
from the model, or FALSE if the model did not have the ECalClient.

Use this to avoid an unnecessary gnome_calendar_update_query() call
in cal_shell_view_selector_client_removed().
2013-06-01 10:08:23 -04:00
6477dd6570 Add a boolean return to e_cal_model_add_client().
The function now returns TRUE if the ECalClient was actually added
to the model, or FALSE if the model already had the ECalClient.

Use this to avoid an unnecessary gnome_calendar_update_query() call
in cal_shell_view_selector_client_added_cb().
2013-06-01 09:10:16 -04:00
815c8776bb GnomeCalendar: Fix a potential reference leak. 2013-06-01 08:32:37 -04:00
c12dc57667 GnomeCalendar: Avoid runtime warnings during initialization. 2013-06-01 07:33:52 -04:00
af21783349 Remove e_shell_view_[un]block_update_actions().
No longer needed.
2013-06-01 06:33:22 -04:00
1047848935 GnomeCalendar: Get rid of the async message dispatcher.
Obtain calendar views asynchronously and concurrently, and update the
task and memo pads synchronously (they don't block as best I can tell).

Get rid of the whole thread-pool message dispatching thing, which I
think I myself wrote years ago (calendar had no async API back then).

Consequently I'm seeing calendar events show up noticably quicker.
2013-06-01 06:33:22 -04:00
afdbd662d1 EShell: Check cookie before calling gtk_application_uninhibit(). 2013-05-31 10:34:41 -04:00
9a53ccf6cf l10n: Update Japanese translation 2013-05-31 22:49:41 +09:00
0985c6d801 Ask for a Smart Card password with a token name too
Some cards can have two PINs, one 'global' and one 'application'.
NSS provides which token is required, but Evolution didn't show
that information to a user.
2013-05-31 15:47:04 +02:00
ef5795c3fd Bug #700812 - Search in Calendar view is broken 2013-05-30 17:48:11 +02:00
4d398331f3 Updated Odia Translation. 2013-05-30 18:33:19 +05:30
5b2ee4af6f Make EAlertDialog non-resizable.
Making EAlertDialog non-resizable is the only way at present for GTK+ to
pick a resonable default size, otherwise we get alerts looking like this:
https://bugzilla.gnome.org/attachment.cgi?id=221303

See https://bugzilla.gnome.org/681937 for details.

Also drop the default window size hack in alert_dialog_constructed().
2013-05-29 19:01:36 -04:00
13089f0d50 e_mail_session_send_to(): Don't silently ignore if we can't send.
If sending fails for any reason, return a suitable GError.  Don't just
return silently.  Also check for a wider range of errors indicating the
service is unavailable in composer_send_completed().  This will trigger
the "save-to-outbox" info alert.
2013-05-29 16:50:27 -04:00
9b9d1935d7 Remove Evolution icon from header section.
We don't show an icon for other mailers, and the tiny 16x16 pixel
icon looks stupid next to the much larger contact/gravatar image.
2013-05-29 13:09:36 -04:00
d845222a11 Bug 700277 - EClientCache allocates memory ad infinity
Remove a ClientData entry on "source-removed" or "source-disabled"
signals from the ESourceRegistry.
2013-05-29 13:09:36 -04:00
93101352ee Updated Spanish translation 2013-05-29 18:12:45 +02:00
d4a9d154c6 Update Quick Reference Card to show F12 shortcut. 2013-05-29 09:41:43 -04:00
9d2c9367ba User docs: Update shortcuts, see https://mail.gnome.org/archives/evolution-list/2013-May/msg00205.html 2013-05-29 15:28:53 +02:00
4860654335 Use F9 to toggle sidebar visibility.
As discussed recently on the users mailing list [1], there's a strong
precedent among GTK+ applications for F9 to toggle sidebar visibility.
Examples cited were Nautilus, Evince, Totem, Rhythmbox, File-Roller
and gThumb.

Change the Send/Receive accelerator from F9 to F12, and designate F9
as the accelerator for View->Layout->Show Side Bar.

[1] https://mail.gnome.org/archives/evolution-list/2013-May/msg00194.html
2013-05-29 08:09:53 -04:00
2d251a9597 Distinguish "attachment-wrapper" elements from attachments.
The HTML for attachments always has the following form:

<div class="attachment-wrapper" id="something" style="display: block;">
  <actual attachment element>
</div>

The <div> element controls attachment visibility through its "display"
style attribute, which is either "block" or "none".

Problem is the <actual attachment element> was getting the same ID as
its parent <div> element.  So when either element was requested by ID,
in certain cases the wrong element was returned and caused misbehavior
and console warnings.

Solve this by adding a "wrapper" suffix to the <div> element ID.  So in
the example above, id="something" gets the <actual attachment element>,
whereas id="something.wrapper" gets the <div> element.
2013-05-29 07:09:20 -04:00
fa39ba7c5d EMailFormatterAttachment cleanups. 2013-05-29 07:09:20 -04:00
c27e3a1dd2 EMailParserAudio: Minor cleanup. 2013-05-29 07:09:20 -04:00
9bfe38c419 Rename libcomposer to libevolution-mail-composer.
To make Evolution's shared libraries more consistent.

Also add an evolution-mail-composer documentation module.
2013-05-28 09:56:30 -04:00
04aa0fba1f Rename libemformat to libevolution-mail-formatter.
To make Evolution's shared libraries more consistent.

Also add an evolution-mail-formatter documentation module.
2013-05-28 09:56:30 -04:00
70a9fcdf9c Rename libeshell to libevolution-shell.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-shell.
2013-05-28 09:56:30 -04:00
6c9a3243c9 Rename libeutil to libevolution-util.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-util.
2013-05-28 09:56:30 -04:00
5204abd40c configure.ac: Remove unnecessary regex library check. 2013-05-28 09:42:12 -04:00
3777e4887c configure.ac: Remove unused function and header checks.
This removes the following definitions from config.h:

   CTIME_R_THREE_ARGS
   GETHOSTBYADDR_R_SEVEN_ARGS
   GETHOSTBYNAME_R_FIVE_ARGS
   HAVE_ISBLANK
   HAVE_MKSTEMP
   HAVE_STATFS
   HAVE_STATVFS
   HAVE_SYS_MOUNT_H
   HAVE_SYS_PARAM_H
   HAVE_SYS_STATVFS_H

These were all either unused or unnecessarily used.
2013-05-28 09:42:12 -04:00
13958f5ad5 configure.ac: Update audio-inline comment. 2013-05-28 09:42:12 -04:00
06f624b830 configure.ac: Remove blacklisting of WebKitGTK+ 1.9.90.
WebKitGTK+ 1.10 is the minimum requirement nowadays, so no need to
blacklist an older version.
2013-05-28 09:42:12 -04:00