Commit Graph

38708 Commits

Author SHA1 Message Date
c3ea33df61 EAddressbookSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
2013-02-18 14:19:34 -05:00
2c471d1291 Add EClientSelector.
EClientSelector extends the functionality of ESourceSelector by
utilizing an EClientCache to display status information about the
backends associated with the displayed data sources.

(No backend status is displayed just yet, but that's the plan.)
2013-02-18 13:48:11 -05:00
d183741157 Updated Serbian translation 2013-02-18 11:29:05 +01:00
2c77e97b13 Post-release version bump. 2013-02-17 16:27:18 -05:00
ba8280b43d NEWS update for 3.7.90 release. 2013-02-17 15:56:44 -05:00
d84b67875c EClientCache: Keep a strong reference on the ESourceRegistry.
Changed my mind.  There's some scenarios where a function depends on an
ESourceRegistry but could also utilize an EClientCache, and it would be
nice to just pass the EClientCache and extract the ESourceRegistry from
it, so we need to make sure the ESourceRegistry will be there when it's
needed and not quietly disappear.
2013-02-17 14:29:49 -05:00
7c06909d5e ETaskShellBackend: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
bf420ed149 EMemoShellBackend: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
7454ee0f7c ECalShellBackend: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
2e858dc05e EBookShellView: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
b117764a50 EBookShellBackend: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
30d711da21 TaskPage: Use EClientCache to obtain an EClient. 2013-02-17 13:36:38 -05:00
2c078b30d7 MemoPage: Use EClientCache to obtain an EClient. 2013-02-17 13:36:37 -05:00
c9cdd46ebc EventPage: Use EClientCache to obtain an EClient. 2013-02-17 13:36:37 -05:00
e041807a61 Updated Polish translation 2013-02-17 15:08:06 +01:00
8e2f4059f1 Updated Galician translations 2013-02-17 12:59:20 +01:00
35225de95c Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
2013-02-17 15:27:45 +09:00
af180464d1 ETaskShellSidebar: Remove internal client table.
No longer needed, replaced by EClientCache.
2013-02-16 18:57:11 -05:00
e85c9f204c EMemoShellSidebar: Remove internal client table.
No longer needed, replaced by EClientCache.
2013-02-16 18:57:11 -05:00
0d8bd54b58 ECalShellSidebar: Remove internal client table.
No longer needed, replaced by EClientCache.
2013-02-16 18:57:11 -05:00
07ba01818c ETaskShellSidebar: Use EClientCache to determine refresh support.
In task_shell_sidebar_check_state(), determine whether the selected
source supports refresh by way of e_client_cache_ref_cached_client()
and e_client_check_refresh_supported().
2013-02-16 18:57:11 -05:00
70e28753ec EMemoShellSidebar: Use EClientCache to determine refresh support.
In memo_shell_sidebar_check_state(), determine whether the selected
source supports refresh by way of e_client_cache_ref_cached_client()
and e_client_check_refresh_supported().
2013-02-16 18:57:11 -05:00
a67574e9e1 ECalShellSidebar: Use EClientCache to determine refresh support.
In cal_shell_sidebar_check_state(), determine whether the selected
source supports refresh by way of e_client_cache_ref_cached_client()
and e_client_check_refresh_supported().
2013-02-16 18:57:11 -05:00
4b690101e0 Remove e_task_shell_sidebar_get_clients().
No longer used.
2013-02-16 18:57:11 -05:00
ad5a9bd9dd Remove e_memo_shell_sidebar_get_clients().
No longer used.
2013-02-16 18:57:11 -05:00
57fc066b66 Remove e_cal_shell_sidebar_get_clients().
No longer used.
2013-02-16 18:57:11 -05:00
4246dc65e4 e_task_shell_view_delete_completed: Obtain client list from ECalModel. 2013-02-16 18:57:10 -05:00
baad2337a1 Remove client list param from e_task_table_process_completed_tasks().
ETaskTable can retrieve the client list from its internal ECalModel
using e_cal_model_get_client_list().
2013-02-16 18:57:10 -05:00
a592d2f3eb Remove e_task_shell_view_update_timezone().
Thanks to the "default-timezone" property binding created by
ESettingsClientCache, changes to the "cal-timezone" setting are
automatically propagated to all ECalClient instances created by
EClientCache.
2013-02-16 18:57:10 -05:00
b9ab776bc2 Remove e_memo_shell_view_update_timezone().
Thanks to the "default-timezone" property binding created by
ESettingsClientCache, changes to the "cal-timezone" setting are
automatically propagated to all ECalClient instances created by
EClientCache.
2013-02-16 18:57:10 -05:00
a12f0070c3 Remove e_cal_shell_view_update_timezone().
Thanks to the "default-timezone" property binding created by
ESettingsClientCache, changes to the "cal-timezone" setting are
automatically propagated to all ECalClient instances created by
EClientCache.
2013-02-16 18:57:10 -05:00
cf27f8312b ETaskShellSidebar: Use EClientCache to obtain EClient instances.
Also, defer to ESettingsClientCache to automatically set the default
timezone on new ECalClient instances.
2013-02-16 18:57:10 -05:00
620d3deb3c EMemoShellSidebar: Use EClientCache to obtain EClient instances.
Also, defer to ESettingsClientCache to automatically set the default
timezone on new ECalClient instances.
2013-02-16 18:57:10 -05:00
07973591dd ECalShellSidebar: Use EClientCache to obtain EClient instances.
Also, defer to ESettingsClientCache to automatically set the default
timezone on new ECalClient instances.
2013-02-16 18:57:10 -05:00
39d2c8d6cc Defer "backend-error" alerts to shell views. 2013-02-16 18:57:09 -05:00
519a1d0c3b ETaskShellView: Handle error signals from task list backends. 2013-02-16 18:57:09 -05:00
a2c6e4569e EMemoShellView: Handle error signals from memo list backends. 2013-02-16 18:57:09 -05:00
2f77dc2eb0 ECalShellView: Handle error signals from calendar backends. 2013-02-16 18:57:09 -05:00
c3268be737 EBookShellView: Handle error signals from address book backends. 2013-02-16 18:57:09 -05:00
9714a4bbf1 Defer "backend-died" alerts to EShell. 2013-02-16 18:57:09 -05:00
9551d47dd1 e_shell_load_modules: Explicitly load EClientCache extensions.
EShell's instance of EClientCache gets instantiated before modules are
loaded, so explicitly call e_extensible_load_extensions() on the cache
after modules are loaded.

This requires commit 525fba8 in evolution-data-server to work.
2013-02-16 18:57:09 -05:00
208d779b00 EShell: Add a read-only "client-cache" property.
Give EShell its own EClientCache.  This should be used throughout
Evolution, wherever an EClient is needed.

New functions:

    e_shell_get_client_cache()
2013-02-16 18:57:09 -05:00
a26c98ad5a Add ESettingsClientCache.
Listens for "client-created" signals from its EClientCache.  If the
newly-created client is an ECalClient, automatically configure its
default timezone from EShellSettings.
2013-02-16 18:57:08 -05:00
cefa5edf7f Add EClientCache.
New class to help reduce code duplication and centralize some EClient
handling policies.

Benefits:

- EClient instances can be shared across the entire application.

- Centralized rebroadcasting of "backend-died" and "backend-error"
  signals emitted from cached EClient instances.

- Automatic cache invalidation when backends crash.  The EClient
  is discarded, and a new instance is created on the next request.
2013-02-16 18:57:08 -05:00
b55c39cdec EBookShellView: Keep an ID for "source-removed" signal handler. 2013-02-15 21:05:33 -05:00
da38777cc0 ETaskShellView: Use g_clear_object() in dispose(). 2013-02-15 21:05:32 -05:00
d107894a43 EMemoShellView: Use g_clear_object() in dispose(). 2013-02-15 21:05:32 -05:00
5e1eda8877 EMailShellView: Use g_clear_object() in dispose(). 2013-02-15 21:05:32 -05:00
2ebfd1d525 ECalShellView: Use g_clear_object() in dispose(). 2013-02-15 19:50:28 -05:00
f11a74d725 EBookShellView: Use g_clear_object() in dispose(). 2013-02-15 18:40:48 -05:00