aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-memo-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 03:24:59 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 03:24:59 +0800
commit253e90b8de63d9c064a0df05cf0e2e153f913474 (patch)
treeba6608ca96849f8f0801e4e81f7ed2aef06d391d /calendar/modules/e-memo-shell-sidebar.c
parent086a96050b16f6dabd99a391b5a4faf0411963a1 (diff)
downloadgsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.gz
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.bz2
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.lz
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.xz
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.zst
gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.zip
Tasks is working. Still need to deal with some loose ends and test it all.
svn path=/branches/kill-bonobo/; revision=36551
Diffstat (limited to 'calendar/modules/e-memo-shell-sidebar.c')
-rw-r--r--calendar/modules/e-memo-shell-sidebar.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/calendar/modules/e-memo-shell-sidebar.c b/calendar/modules/e-memo-shell-sidebar.c
index 3a2730120c..63629f2108 100644
--- a/calendar/modules/e-memo-shell-sidebar.c
+++ b/calendar/modules/e-memo-shell-sidebar.c
@@ -91,23 +91,23 @@ memo_shell_sidebar_update_timezone (EMemoShellSidebar *memo_shell_sidebar)
{
GHashTable *client_table;
icaltimezone *zone;
- GList *keys;
+ GList *values;
zone = calendar_config_get_icaltimezone ();
client_table = memo_shell_sidebar->priv->client_table;
- keys = g_hash_table_get_values (client_table);
+ values = g_hash_table_get_values (client_table);
- while (keys != NULL) {
- ECal *client = keys->data;
+ while (values != NULL) {
+ ECal *client = values->data;
if (e_cal_get_load_state (client) == E_CAL_LOAD_LOADED)
e_cal_set_default_timezone (client, zone, NULL);
- keys = g_list_delete_link (keys, keys);
+ values = g_list_delete_link (values, values);
}
- /* XXX Need to call e_memo_preview_set_default_timezone() here
- * but the sidebar is not really supposed to access content
+ /* XXX Need to call e_cal_component_preview_set_default_timezone()
+ * here but the sidebar is not really supposed to access content
* stuff. I guess we could emit an "update-timezone" signal
* here, but that feels wrong. Maybe this whole thing should
* be in EMemoShellView instead. */
@@ -454,8 +454,8 @@ memo_shell_sidebar_client_removed (EMemoShellSidebar *memo_shell_sidebar,
ESource *source;
const gchar *uid;
- selector = E_SOURCE_SELECTOR (memo_shell_sidebar->priv->selector);
client_table = memo_shell_sidebar->priv->client_table;
+ selector = e_memo_shell_sidebar_get_selector (memo_shell_sidebar);
g_signal_handlers_disconnect_matched (
client, G_SIGNAL_MATCH_DATA, 0, 0,
@@ -607,7 +607,7 @@ e_memo_shell_sidebar_add_source (EMemoShellSidebar *memo_shell_sidebar,
g_return_if_fail (E_IS_SOURCE (source));
client_table = memo_shell_sidebar->priv->client_table;
- selector = E_SOURCE_SELECTOR (memo_shell_sidebar->priv->selector);
+ selector = e_memo_shell_sidebar_get_selector (memo_shell_sidebar);
uid = e_source_peek_uid (source);
client = g_hash_table_lookup (client_table, uid);
@@ -657,7 +657,7 @@ e_memo_shell_sidebar_remove_source (EMemoShellSidebar *memo_shell_sidebar,
g_return_if_fail (E_IS_SOURCE (source));
client_table = memo_shell_sidebar->priv->client_table;
- selector = E_SOURCE_SELECTOR (memo_shell_sidebar->priv->selector);
+ selector = e_memo_shell_sidebar_get_selector (memo_shell_sidebar);
uid = e_source_peek_uid (source);
client = g_hash_table_lookup (client_table, uid);