Commit Graph

500 Commits

Author SHA1 Message Date
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
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
ef5795c3fd Bug #700812 - Search in Calendar view is broken 2013-05-30 17:48:11 +02: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
9058c6f85d Make EAttachment a little more thread-safe.
EAttachment is now used from worker threads by EMailFormatterAttachment,
so add some thread-safe accessor functions to eliminate potential races.

Added thread-safe functions:

    e_attachment_dup_disposition()
    e_attachment_ref_file()
    e_attachment_ref_file_info()
    e_attachment_ref_icon()
    e_attachment_ref_mime_part()
    e_attachment_dup_description()
    e_attachment_dup_thumbnail_path()

Renamed functions:

    e_attachment_get_mime_type() -> e_attachment_dup_mime_type()

Removed non-thread-safe functions:

    e_attachment_get_file()
    e_attachment_get_file_info()
    e_attachment_get_icon()
    e_attachment_get_mime_part()
    e_attachment_get_description()
    e_attachment_get_thumbnail_path()
2013-05-23 16:36:02 -04:00
256422cab2 Attachment-related cleanups. 2013-05-23 16:36:01 -04:00
16bf152272 Bug #699980 - Calendar delete does not remove events from view 2013-05-14 12:00:17 +02:00
58ef547151 Coding style and whitespace cleanup. 2013-05-08 08:28:09 -04:00
80fb526936 ETaskShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
532e24fe11 ETaskShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonoto rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message seems to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
afe1d97399 EMemoShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
d4ae41915c EMemoShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonobo rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message sesms to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
3a0b447047 ECalShellSidebar: Remove unused "status-message" signal. 2013-04-25 11:42:04 -04:00
d39a6e1402 ECalShellSidebar: Submit an EActivity when obtaining an EClient.
Remove this status message nonsense that I came up with during the
kill-bonobo rewrite.  Instead submit a real EActivity to the shell
backend.  Mismanagement of the status message seems to be blocking
application shut down in some cases.
2013-04-25 11:42:04 -04:00
3573cab310 ETaskShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
c34ed9f365 EMemoShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:04 -04:00
a2ee4d2b50 ECalShellSidebar: Remove some unnecessary #includes. 2013-04-25 11:42:03 -04:00
08d5bdcf8b Add e_cal_model_ref_default_client().
Replaces e_cal_model_get_default_client(), which was not thread-safe.
2013-04-12 18:35:12 -04:00
1df4952769 Remove e_cal_model_get_client_for_source().
Was not thread-safe because it did not reference the return value.

The function was only used to implement the Refresh action on the
sidebar menu.  e_client_selector_ref_cached_client() works better
for this anyway.
2013-04-12 18:35:11 -04:00
1141e23147 Add e_cal_model_list_clients().
Replaces e_cal_model_get_client_list().

Does the same thing, except the returned ECalClient instances are
referenced for thread-safety.
2013-04-12 18:35:11 -04:00
018018fabe Remove more Express Mode hacks.
This removes all traces of Express Mode from all but the contact editor
and calendar appointment editor.  Need to evaluate the remaining cases
individually.
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
78dfe47fdf Bug 696257 - Handle default values for "primary" selection settings
The default value for these GSettings keys is an empty string.  The
mapping function should handle empty strings by falling back to the
appropriate default ESource.
2013-03-24 13:37:16 -04:00
95a0ae4afb Remove ECalShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
3b20569876 Convert all "week-start-day" properties to GDateWeekday. 2013-03-17 08:49:12 -04:00
3e8e8cb946 Bug #690930 - Launching calendar from clock-applet applies timezone twice 2013-03-12 12:33:46 +01:00
1419bbb302 cal_comp_event_new_with_current_time: Remove 'zone' parameter.
Get the icaltimezone from the passed in ECalClient.
2013-03-06 08:47:03 -05:00
bface58459 ETaskShellSidebar: Remove "loading" status message.
Emitting a "client-added" signal should not trigger any blocking calls,
so the "loading" status message will flash by too quickly to be noticed,
if it gets drawn at all.  Just remove it.
2013-02-25 10:50:10 -05:00
6b6bf65e96 EMemoShellSidebar: Remove "loading" status message.
Emitting a "client-added" signal should not trigger any blocking calls,
so the "loading" status message will flash by too quickly to be noticed,
if it gets drawn at all.  Just remove it.
2013-02-25 10:50:10 -05:00
eac634e514 ECalShellSidebar: Remove "loading" status message.
Emitting a "client-added" signal should not trigger any blocking calls,
so the "loading" status message will flash by too quickly to be noticed,
if it gets drawn at all.  Just remove it.
2013-02-25 10:50:10 -05:00
3e55a228cc ETaskShellSidebar: Show a unique display name while connecting.
Use e_source_registry_dup_unique_display_name() in the status message.
2013-02-25 10:50:10 -05:00
ac698896d0 EMemoShellSidebar: Show a unique display name while connecting.
Use e_source_registry_dup_unique_display_name() in the status message.
2013-02-25 10:50:10 -05:00
aa17db5175 ECalShellSidebar: Show a unique display name while connecting.
Use e_source_registry_dup_unique_display_name() in the status message.
2013-02-25 10:50:10 -05:00
14b4e5fab8 ETaskShellSidebar: Use e_source_registry_dup_unique_display_name().
Use a standard format for naming an ESource in user-visible messages.
2013-02-23 09:35:21 -05:00
820f8dfae6 EMemoShellSidebar: Use e_source_registry_dup_unique_display_name().
Use a standard format for naming an ESource in user-visible messages.
2013-02-23 09:35:21 -05:00
2862c6fe7a ECalShellSidebar: Use e_source_registry_dup_unique_display_name().
Use a standard format for naming an ESource in user-visible messages.
2013-02-23 09:35:20 -05:00
00ef9f2f47 Remove task_shell_sidebar_ref_client_cache().
Use e_client_selector_ref_cached_client() for remaining cases.
2013-02-18 15:38:27 -05:00
9b1298e6cf Remove memo_shell_sidebar_ref_client_cache().
Use e_client_selector_ref_cached_client() for remaining cases.
2013-02-18 15:38:26 -05:00
b17432ffbc Remove cal_shell_sidebar_ref_client_cache().
Use e_client_selector_ref_cached_client() for remaining cases.
2013-02-18 15:38:26 -05:00
046af4407a ETaskShellSidebar: Use EClientSelector to obtain EClient instances. 2013-02-18 15:38:26 -05:00
223d47142c EMemoShellSidebar: Use EClientSelector to obtain EClient instances. 2013-02-18 15:33:18 -05:00
0e76355bcf ECalShellSidebar: Use EClientSelector to obtain EClient instances. 2013-02-18 15:18:07 -05:00
ac7c1d3c75 ETaskListSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
2013-02-18 14:58:48 -05:00
92a3fce79c EMemoListSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
2013-02-18 14:50:01 -05:00
61e2e00055 ECalendarSelector: Inherit from EClientSelector.
Use e_client_selector_get_client() to obtain an EClient.
2013-02-18 14:39:08 -05:00