Commit Graph

1823 Commits

Author SHA1 Message Date
9a72174000 EMailIdentityComboBox: Document and clean up. 2013-11-01 10:22:34 -04:00
bc0d5d40ed Bug 710797 - Name all the timeouts added with g_timeout_add() 2013-10-29 15:22:35 -04:00
22fb5d5f21 EProxyEditor: Save on "Method" combo box change. 2013-10-26 10:21:20 -04:00
8c20edecf7 EAutocompleteSelector: Show icons.
Just a nice touch, I think.
2013-10-25 17:29:28 -04:00
24ef4daa4c Document EProxyLinkSelector. 2013-10-25 17:14:39 -04:00
5dfbe39758 EProxyEditor: Add an "Open Desktop Settings" button.
Shown for the "Defer to Desktop Settings" choice if gnome-control-center
is available.  The button opens gnome-control-center's "Network" panel,
but unfortunately the "Network proxy" item cannot be selected from the
command line.
2013-10-25 16:33:31 -04:00
ad6059bc0d Add EProxyPreferences. 2013-10-25 12:51:12 -04:00
559d4cf8bf Add EProxyLinkSelector. 2013-10-25 12:51:12 -04:00
6dc14b19df Add EProxyEditor. 2013-10-25 12:51:11 -04:00
c44f909b52 Add EProxySelector. 2013-10-25 12:51:11 -04:00
50f322c578 Add EProxyComboBox.
EProxyComboBox is a combo box of available proxy profiles, as described
by ESource instances with an ESourceProxy extension.
2013-10-25 12:51:11 -04:00
13d765e074 Remove e_source_selector_set_select_new().
Sets a flag that's no longer used internally by ESourceSelector.
2013-10-25 12:18:27 -04:00
9009fc58c4 ESourceSelector: Fix a reference leak in text_cell_edited_cb().
We were leaking the ESource reference.
2013-10-25 11:53:11 -04:00
6ea6096c80 ESourceSelector: Add a "show-icons" property.
ESourceSelector can now optionally display an icon next to each ESource
matching the selector's "extension-name".  Intended for non-homogeneous
use cases where a variety of account types are shown in the selector.

The icon set is hard-coded, but we could change that if the need arises.
2013-10-25 10:40:03 -04:00
e1d072684f ESourceSelector cleanups. 2013-10-25 08:27:20 -04:00
671ba19294 ESourceSelector: Fix a potential runtime warning.
When (re)building the tree model, ESourceSelector may fall back to
e_source_registry_ref_default_for_extension_name() to help initialize
the primary selection.  Depending on the selector's "extension-name"
property, that function may return NULL.  Handle it gracefully.
2013-10-22 20:51:19 -04:00
7a6be11ea6 Miscellaeous cleanups. 2013-10-20 11:15:41 -04:00
683a038c8e EMailIdentityComboBox cleanups. 2013-10-10 17:59:50 -04:00
b5023d32bd Bug #215115 - Per-folder From: email address
The change also allows setting accounts for certain recipients (based
on a part of the recipient address). The option can be found in Folder
Properties and in Edit->Preferences->Composer Preferences->Send Account.
2013-10-08 13:22:48 +02:00
69e3c86c04 Bug #708682 - Move with 'End' key with collapsed threads fails
This reverts part of commit 4526384662
2013-09-30 18:24:40 +02:00
1331699f4f Bug #708347 - Memory leak from EWebView/webkit 2013-09-23 17:38:46 +02:00
c802b643ea Update API documentation. 2013-09-15 08:09:37 -04:00
192ac20a72 EClientSelector: Show an initial icon based on host name.
Have GNetworkMonitor make an initial guess at the online state of
backends by evaluating the reachability of their host name.  This
will show an initial status icon for all displayed ESources without
actually opening a connection, since some backends are expensive to
start unnecssarily.
2013-09-14 19:19:39 -04:00
68f27ce0c8 Bug #706008 - Workaround gnome-shell style change on focus change
Avoid redrawing (thus loosing the selection and scroll position) of
preview window on style change by defining the colors through CSS styles.
On style change we just update the CSS color definitions and preview will
update itself without redraw.
2013-09-12 15:29:58 +02:00
3e1ad91312 EClientSelector: Do not prefetch EClient instances
Let the open for a user, when respective source in the selector
is selected.
2013-09-11 18:23:45 +02:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
9ad5ddf9cc Bug #706901 - Large default book slows down composer open 2013-08-29 18:10:23 +02:00
708c5f2e8d Skip evolution from 'Open with' list of applications on attachments 2013-08-29 17:14:54 +02:00
5265ceb2ed EAlertBar: Mention Escape binding in close button tooltip. 2013-08-10 17:37:57 -04:00
2ecce97b88 Add e_alert_bar_close_alert().
Closes the active EAlert and returns TRUE, or else returns FALSE if
there is no active EAlert.
2013-08-10 17:20:35 -04:00
7563e6586f Bug #704207 - Dragged column's arrow indicator oversized 2013-08-09 11:59:15 +02:00
098b065242 Bug #699603 - Message list scrolls to cursor on style change 2013-08-01 17:48:47 +02:00
9f2b63e96a [workaround] Bug #695633 - Attachments disappear after opening one 2013-07-31 10:49:47 +02:00
08f6274a49 EPreviewPane: Handle "new-activity" signals from EWebView.
Configures the EActivity to submit alerts to the EPreviewPane.
2013-07-27 21:24:02 -04:00
a8edf2eca6 EPreviewPane cleanups. 2013-07-27 21:24:02 -04:00
83134a75c3 EWebView: Add an "image-save" action.
There's now enough hooks in EWebView that it can take over image saving
from EMailDisplay / EMailReader, with the added perk that a "Save Image"
pop-up menu item now appears for images in ALL preview panes.
2013-07-27 21:24:02 -04:00
826372c351 Add e_web_view_cursor_image_save().
Prompts the user to choose a destination file and then asynchronously
saves the image under the cursor to the destination file.
2013-07-27 21:24:01 -04:00
3eda7a50de Add e_web_view_cursor_image_copy().
Asynchronously copies the image under the cursor to the clipboard.

This replaces the "cursor-image" property, which attempts to match the
image URI to a subresource from WebKitWebDataSource.  The problem with
that approach is EMailDisplay redirects several URI schemes to its own
custom request handlers which further mutate the URI.  So for example,
a text/html message may use a "cid:" URI to refer to an embedded image,
which EMailDisplay transforms to a "mail:" URI and finally to a "data:"
URI.  The final image URI might not be derivable from the original URI
without retracing the SoupRequest.

The "image-copy" action now calls e_web_view_cursor_image_copy().

This also adds an explicit requirement on gdk-pixbuf-2.0 >= 2.24 for
gdk_pixbuf_new_from_stream_async() / finish().

New functions:

  e_web_view_cursor_image_copy()

Removed functions:

  e_web_view_get_cursor_image()
  e_web_view_set_cursor_image()
2013-07-27 21:24:01 -04:00
c71f615a7f Add e_web_view_new_activity().
Returns a new EActivity for an EWebView-related asynchronous operation,
and emits a "new-activity" signal.  By default the EActivity comes loaded
with a GCancellable and sets the EWebView itself as the alert sink (which
means alerts are displayed directly in the content area).  The signal
emission allows the EActivity to be further customized and/or tracked by
the application.
2013-07-27 15:27:13 -04:00
26e659aa33 Add e_web_view_request().
Asynchronously requests data at a URI by way of a SoupRequest to WebKit's
default SoupSession, incorporating both e_web_view_redirect_uri() and the
custom request handlers installed via e_web_view_install_request_handler().

New functions:

  e_web_view_request()
  e_web_view_request_finish()
2013-07-27 15:27:13 -04:00
69837f33cc Add e_web_view_suggest_filename().
Attempts to derive a suggested filename from the given URI for use in a
"Save As" dialog.

By default the suggested filename is the last path segment of the given
URI (the unless the given URI looks like a query), but subclasses can use
other mechanisms for custom URI schemes.  For example, "cid:" URIs in an
email message may refer to a MIME part with a suggested filename in its
Content-Disposition header.
2013-07-27 15:27:09 -04:00
51b74eee72 Add e_web_view_redirect_uri().
Replaces the given URI with a redirected URI as necessary, primarily for
use with custom SoupRequest handlers.  Typically this function would be
called just prior to handing a request off to a SoupSession, such as
from a WebKitWebView "resource-request-starting" signal handler.

Case in point: EMailDisplay now implements the redirect_uri() method,
and calls it from its own "resource-request-starting" signal handler.
2013-07-27 02:16:53 -04:00
14b4291ebd Remove e_web_view_get_uri().
Trivial wrapper for webkit_web_view_get_uri().

Probably made sense while we were transitioning from GtkHTML to WebKit,
but we don't need it anymore.
2013-07-27 02:16:53 -04:00
f8864692d1 Remove unused e_web_view_set_enable_frame_flattening(). 2013-07-27 02:16:53 -04:00
785c41cb16 Remove unused e_web_view_get_enable_frame_flattening(). 2013-07-27 02:16:52 -04:00
20d7939ca3 Remove unused e_web_view_frame_get_uri(). 2013-07-27 02:16:52 -04:00
b997e37bfc Remove unused e_web_view_frame_load_uri(). 2013-07-27 02:16:52 -04:00
7ed095eefd Remove unused e_web_view_frame_load_string(). 2013-07-27 02:16:52 -04:00
c5c6c39c06 Remove unused e_web_view_extract_uri(). 2013-07-27 02:16:52 -04:00
810242e4c9 EWebView: Initialize WebKitWebSettings internally.
Don't expose public API for this.

Even though it's still possible through the WebKitWebView API, we don't
want to encourage setting an arbitrary WebKitWebSettings on an EWebView.

Removed functions:

  e_web_view_set_settings()
  e_web_view_get_default_settings()
2013-07-27 02:16:51 -04:00