Commit Graph

22 Commits

Author SHA1 Message Date
Milan Crha 5f900a3006 Update devel-doc Since from 3.14 to 3.16
As the 3.14 version will be skipped, to get back to sync with
the version of GNOME, then the right Since version is 3.16.
2015-02-24 10:16:02 +01:00
Milan Crha a1df61c8cc Avoid runtime warning when disabling collection ESource
This is related to an ESourceSelector, which checks ESource's
selected state when it is removed or disabled, but the corresponding
row in the selector could be already gone, which could produce
a runtime warning about invalid GtkTreeRowReference.
2014-10-30 10:45:19 +01:00
Milan Crha 98a1b23112 Show ongoing progress of calendar views in UI
This was a remaining thing from the 'Make calendar views non-UI-blocking'
work, to show progress of views in UI. This is currently done by a spinner
beside source's name in the ESourceSelector and a tooltip above that row.
2014-10-15 14:13:05 +02:00
Milan Crha 8752647eca Make Calendar, Memos and Tasks views non-UI-blocking
The Calendar, Memos and Tasks views use to do D-Bus calls to
the backends on the main (UI) thread, which could result in UI
freezes, until the operation was done on the backend (and server)
side. This commit fixes that by invoking the operations in
a dedicated thread. It has few additional advantages too:
- operations can be cancelled
- proper error reporting to a user
- less code duplication between the views for common operations

There had been fixed some performance issues when selecting/unselecting
sources in the source selector as well.
2014-10-06 12:33:03 +02:00
Milan Crha bcc3a1c7e6 Add missing chain-up-s to parent's constructed() method
Plus a little code cleanup for easier grepping.
2014-07-17 12:46:38 +02:00
Matthew Barnes c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
Milan Crha 3066ddf0c4 Bug #707518 - Deleting a local address book triggers error "Unable to open address book" 2014-01-27 14:52:25 +01:00
Milan Crha 675fbf2e50 [ESourceSelector] Fix a memory leak on a mouse button press event 2014-01-24 17:54:18 +01:00
Milan Crha 5cc855e2be [ESourceSelector] A performance improvement
A simple performance improvement to ignore ESourceRegistry notifications
on source changes for sources which do not belong to the ESourceSelector.
Such notifications could cause whole model rebuild, which has other side
effects, like a bug #722399.
2014-01-24 17:48:28 +01:00
Matthew Barnes b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes 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
Matthew Barnes e1d072684f ESourceSelector cleanups. 2013-10-25 08:27:20 -04:00
Matthew Barnes 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
Matthew Barnes 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
Milan Crha 16bf152272 Bug #699980 - Calendar delete does not remove events from view 2013-05-14 12:00:17 +02:00
Matthew Barnes ea7e2ab44b Update libeutil API docs. 2013-04-23 15:21:03 -04:00
Matthew Barnes fd9622bb41 EClientSelector: Add a backend status icon.
Append a tree view column to display a symbolic icon hinting at backend
status.  Currently this only displays icons for online/offline and when
the backend dies.  I'd also like to add a spinner icon to indicate when
we're processing a query and for other long-running activities.
2013-02-20 16:35:58 -05:00
Matthew Barnes f8ff0f0fde Add e_source_selector_ref_source_by_iter(). 2013-02-20 16:35:58 -05:00
Matthew Barnes a955be9b70 ESourceSelector: Make source_selector_update_row() public.
Gonna need to call this from the EClientSelector subclass.
2013-02-20 16:35:58 -05:00
Matthew Barnes d09d8de870 Consolidate base utility libraries into libeutil.
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.

Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.

   libemail-utils/libemail-utils.la
   libevolution-utils/libevolution-utils.la
   filter/libfilter.la
   widgets/e-timezone-dialog/libetimezonedialog.la
   widgets/menus/libmenus.la
   widgets/misc/libemiscwidgets.la
   widgets/table/libetable.la
   widgets/text/libetext.la

This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.

And finally, start a Gtk-Doc module for libeutil.  It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
2012-12-12 14:33:43 -05:00