diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-12 21:29:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-12 21:29:44 +0800 |
commit | 9199f2c5b1925b6d1092738bf1a1c026e53d37f0 (patch) | |
tree | ef8107588f14a9baeba47097b9fff61b8c054057 /calendar | |
parent | e68456f60f37d5d6e18fac95a5a9ddea2e9627fa (diff) | |
download | gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar.gz gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar.bz2 gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar.lz gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar.xz gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.tar.zst gsoc2013-evolution-9199f2c5b1925b6d1092738bf1a1c026e53d37f0.zip |
Get the itip-formatter plugin working.
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/calendar-config.c | 57 | ||||
-rw-r--r-- | calendar/gui/calendar-config.h | 10 |
2 files changed, 0 insertions, 67 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c index 088e0703cd..3208fb5f5b 100644 --- a/calendar/gui/calendar-config.c +++ b/calendar/gui/calendar-config.c @@ -415,35 +415,6 @@ calendar_config_add_notification_tasks_selected (GConfClientNotifyFunc func, gpo return id; } -/* The primary task list */ -gchar * -calendar_config_get_primary_tasks (void) -{ - calendar_config_init (); - - return gconf_client_get_string (config, CALENDAR_CONFIG_PRIMARY_TASKS, NULL); -} - -void -calendar_config_set_primary_tasks (const gchar *primary_uid) -{ - calendar_config_init (); - - gconf_client_set_string (config, CALENDAR_CONFIG_PRIMARY_TASKS, primary_uid, NULL); -} - -guint -calendar_config_add_notification_primary_tasks (GConfClientNotifyFunc func, gpointer data) -{ - guint id; - - calendar_config_init (); - - id = gconf_client_notify_add (config, CALENDAR_CONFIG_PRIMARY_TASKS, func, data, NULL, NULL); - - return id; -} - /***************************************/ /* The current list of memo lists selected */ @@ -475,34 +446,6 @@ calendar_config_add_notification_memos_selected (GConfClientNotifyFunc func, gpo return id; } -/* The primary memo list */ -gchar * -calendar_config_get_primary_memos (void) -{ - calendar_config_init (); - - return gconf_client_get_string (config, CALENDAR_CONFIG_PRIMARY_MEMOS, NULL); -} - -void -calendar_config_set_primary_memos (const gchar *primary_uid) -{ - calendar_config_init (); - - gconf_client_set_string (config, CALENDAR_CONFIG_PRIMARY_MEMOS, primary_uid, NULL); -} - -guint -calendar_config_add_notification_primary_memos (GConfClientNotifyFunc func, gpointer data) -{ - guint id; - - calendar_config_init (); - - id = gconf_client_notify_add (config, CALENDAR_CONFIG_PRIMARY_MEMOS, func, data, NULL, NULL); - - return id; -} /***************************************/ /* Whether we compress the weekend in the week/month views. */ diff --git a/calendar/gui/calendar-config.h b/calendar/gui/calendar-config.h index 50df8a4875..ff018abeca 100644 --- a/calendar/gui/calendar-config.h +++ b/calendar/gui/calendar-config.h @@ -114,21 +114,11 @@ GSList *calendar_config_get_tasks_selected (void); void calendar_config_set_tasks_selected (GSList *selected); guint calendar_config_add_notification_tasks_selected (GConfClientNotifyFunc func, gpointer data); -/* The primary calendar */ -gchar *calendar_config_get_primary_tasks (void); -void calendar_config_set_primary_tasks (const gchar *primary_uid); -guint calendar_config_add_notification_primary_tasks (GConfClientNotifyFunc func, gpointer data); - /* The current list of memo lists selected */ GSList *calendar_config_get_memos_selected (void); void calendar_config_set_memos_selected (GSList *selected); guint calendar_config_add_notification_memos_selected (GConfClientNotifyFunc func, gpointer data); -/* The primary calendar */ -gchar *calendar_config_get_primary_memos (void); -void calendar_config_set_primary_memos (const gchar *primary_uid); -guint calendar_config_add_notification_primary_memos (GConfClientNotifyFunc func, gpointer data); - /* Settings to hide completed tasks. */ gboolean calendar_config_get_hide_completed_tasks (void); void calendar_config_set_hide_completed_tasks (gboolean hide); |