Commit Graph

251 Commits

Author SHA1 Message Date
6b4a736005 Remove e_tree_model_node_is_editable().
It always returned FALSE.
2013-06-15 20:19:38 -04:00
ad10f874c5 Remove e_tree_model_set_value_at().
Was never called.
2013-06-15 20:17:36 -04:00
bd6d0c3222 Remove e_tree_model_has_get_node_by_id().
It always returned TRUE.
2013-06-15 20:15:46 -04:00
6ee6427afd Remove e_tree_model_has_save_id().
It always returned TRUE.
2013-06-15 20:13:11 -04:00
5e8195693b Remove e_tree_model_icon_at().
It always returned NULL.
2013-06-15 20:10:06 -04:00
69de51a15a Convert ETreeModel to an interface.
This commit does a number of things which I could not subdivide into
smaller commits.

* Converts ETreeModel to an interface, implemented by MessageList.

* Drops ETreeMemory and ETreeMemoryCallbacks, which were ETreeModel
  subclasses.  Their functionality is subsumed by MessageList.

* MessageList drops its public ETreeModel pointer, since MessageList
  now implements ETreeModel as an interface.

* Adds message_list_set_expanded_default(), which takes over for
  e_tree_memory_set_expanded_default().
2013-06-15 20:10:06 -04:00
b58e994452 Add e_tree_memory_get_n_children().
Replaces e_tree_memory_get_children().

The "paths" output parameter was unused, and was a bad idea anyway.
2013-06-15 13:14:41 -04:00
e205921fd9 Remove e_tree_model_has_change_pending().
ETreeMemory does not implement this, so it's always FALSE.
2013-06-15 12:19:16 -04:00
38b310f606 Remove unused e_tree_model_new(). 2013-06-15 11:25:41 -04:00
d278be34cc Remove unused e_tree_model_node_request_collapse(). 2013-06-15 11:22:55 -04:00
5eb2c54d03 Remove unused e_tree_model_node_col_changed(). 2013-06-15 11:20:41 -04:00
05aea9076c Remove unused e_tree_model_no_change(). 2013-06-15 11:16:58 -04:00
2ec5459b75 Remove unused e_tree_model_node_traverse_preorder(). 2013-06-15 11:12:39 -04:00
f1ee71f71f Remove unused e_tree_model_node_get_prev(). 2013-06-15 11:11:55 -04:00
e808cf140d Remove unused e_tree_model_node_get_last_child(). 2013-06-15 11:09:28 -04:00
ec65fb8d44 Remove unused e_tree_memory_new(). 2013-06-15 10:18:52 -04:00
612ee0e4b7 Remove unused e_tree_memory_construct(). 2013-06-15 10:18:17 -04:00
a0960cf4ff Remove unused e_tree_memory_set_node_destroy_func(). 2013-06-15 10:11:28 -04:00
9a6a323c62 Remove unused e_tree_memory_sort_node(). 2013-06-15 10:07:41 -04:00
0b1e95fb3f Remove unused e_tree_memory_node_insert_before(). 2013-06-15 09:58:44 -04:00
f198b7524d Remove unused e_tree_memory_node_insert_id(). 2013-06-15 09:57:54 -04:00
12090eb288 Remove unused ETreeSorted. 2013-06-15 09:40:59 -04:00
4f7b4d81e7 Reimplement the main toolbar's "prefer-item" feature.
This fixes a bug in the old implementation where the application could
crash after a second shell window was created and destroyed, because a
signal handler with the destroyed shell window as the closure was left
connected.

But moreover this simplifies the implementation by using a property
binding plus transform function instead of juggling signal handlers,
and also adds code comments where things get a little tricky.

Removed (now unused) functions:

  e_shell_window_get_toolbar_new_prefer_item
  e_shell_window_set_toolbar_new_prefer_item
2013-06-10 15:47:13 -04:00
ab42fdc8c7 Add e_source_selector_update_all_rows().
Calls e_source_selector_update_row() for each ESource being shown
by the ESourceSelector, according to the "extension-name" property.
2013-06-10 12:46:22 -04:00
7b8a8a6a24 EMailFormatter: Remove the header API.
Use the EMailPartHeaders API instead.
2013-06-08 00:25:15 -04:00
64388b6b82 Add e_mail_part_headers_ref_print_model().
Returns a GtkTreeModel of header names and values and visibility flags,
built from the CamelMimeMessage.  The tree model rows can be reordered
and toggled prior to printing.

Also add e_mail_part_headers_is_default() as a handy helper.
2013-06-08 00:25:15 -04:00
c5313b3614 EMailPartHeaders: Add a "default-headers" property.
This will replace the headers API in EMailFormatter.  Need a more
permanent place for headers since EMailFormatter is too disposable.

Also add an ESettingsMailPartHeaders class, which binds the new property
to the "show-headers" setting with a suitable mapping function to filter
out disabled header names.
2013-06-08 00:25:11 -04:00
6be4901bae EMailPart: Add "part-list" property.
This is a weak reference to the EMailPartList to which the EMailPart
has been added.  The property is set by e_mail_part_list_add_part().

New functions:

  e_mail_part_ref_part_list()
  e_mail_part_set_part_list()
2013-06-05 16:38:31 -04:00
552952d2cc Define GEnumClass types for mail formatter/parser enums. 2013-06-04 13:10:02 -04:00
f925dac7c4 Add EAutomaticActionPolicy enum.
To have a proper GEnumClass registered for ask/always/never choices.
2013-06-04 13:08:45 -04: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
af21783349 Remove e_shell_view_[un]block_update_actions().
No longer needed.
2013-06-01 06:33:22 -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
e21da33e6b Update libeutil API documentation. 2013-05-26 10:41:40 -04:00
8b245838de Add e_activity_cancel().
Convenience function cancels the activity's GCancellable.
2013-04-25 11:42:04 -04:00
3bf02daa08 Reimplement EPhotoCache to use EPhotoSource.
Reimplement EPhotoCache to delegate the actual photo fetching to
EPhotoSources.  When a photo is requested for a given email address,
all available EPhotoSources are dispatched concurrently and a photo
input stream is selected from the result set.

This also utilizes EDataCapture, which is affixed to the returned
GInputStream to capture and cache photo data for an email address.

New functions:

    e_photo_cache_add_photo_source()
    e_photo_cache_list_photo_sources()
    e_photo_cache_remove_photo_source()
    e_photo_cache_add_photo()

Renamed functions:

    e_photo_cache_remove() --> e_photo_cache_remove_photo()
2013-04-23 20:52:20 -04:00
5991b04ac5 Add EPhotoSource interface.
EPhotoSource is an interface used to extend the functionality of
EPhotoCache.  You can add an object implementing EPhotoSource to an
EPhotoCache with e_photo_cache_add_photo_source() and remove it with
e_photo_cache_remove_photo_source().  When EPhotoCache needs a photo
for an email address, it will invoke e_photo_source_get_photo() on all
available EPhotoSource objects simultaneously and select one photo.
2013-04-23 20:06:01 -04:00
c64602b397 Add EDataCapture.
EDataCapture is a GConverter that captures data until the end of the
input data is seen, then emits a "finished" signal with the captured
data in a GBytes instance.

When used with GConverterInputStream or GConverterOutputStream, an
EDataCapture can discreetly capture stream content for the purpose
of caching.
2013-04-23 20:06:01 -04:00
ea7e2ab44b Update libeutil API docs. 2013-04-23 15:21:03 -04:00
e17db00f41 Add e_shell_view_get_size_group().
Returns a GtkSizeGroup used to keep the search bar and sidebar banner
vertically aligned.
2013-04-08 23:21:54 -04:00
a74acbf197 EShellSearchbar: Remove more Express Mode leftovers.
Remove the following properties and corresponding get/set functions:

    "express-mode"
    "filter-visible"
    "labels-visible"
    "search-visible"
2013-04-08 22:36:20 -04:00
b83a9cd5bb EWebView: Use a GQueue to track highlight strings.
This also removes an unused function e_web_view_get_highlights() which
was returning a GSList.
2013-04-07 12:24:47 -04:00
4d3d4aaab9 Remove e_preferences_window_filter_page().
No longer used.
2013-03-31 12:10:54 -04:00
85fac87782 Remove e_shell_hide_widgets_for_express_mode().
No longer needed.
2013-03-31 12:10:54 -04:00
0494d4c3c6 Remove EUIManager.
No longer needed.  Use GtkUIManager directly.
2013-03-31 12:10:54 -04:00