From 85b2913a380c69f14ae0254ad23b10fabfb33667 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 24 Oct 2008 23:52:05 +0000 Subject: Merge revisions 36534:36684 from trunk. svn path=/branches/kill-bonobo/; revision=36685 --- .../mark-calendar-offline/mark-calendar-offline.c | 55 ---------------------- 1 file changed, 55 deletions(-) delete mode 100644 plugins/mark-calendar-offline/mark-calendar-offline.c (limited to 'plugins/mark-calendar-offline/mark-calendar-offline.c') diff --git a/plugins/mark-calendar-offline/mark-calendar-offline.c b/plugins/mark-calendar-offline/mark-calendar-offline.c deleted file mode 100644 index 68bd3f445b..0000000000 --- a/plugins/mark-calendar-offline/mark-calendar-offline.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see - * - * - * Authors: - * Harish Krishnaswamy - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -/* This is prototype code only, this may, or may not, use undocumented - * unstable or private internal function calls. - * This code has been derived from the source of the sample eplugin - * select_one_source. - */ - -#include -#include -#include -#include -#include - -void org_gnome_mark_offline (EPlugin *ep, ECalPopupTargetSource *target); -void org_gnome_mark_no_offline (EPlugin *ep, ECalPopupTargetSource *target); - -void -org_gnome_mark_no_offline (EPlugin *ep, ECalPopupTargetSource *target) -{ - ESource *source; - - source = e_source_selector_peek_primary_selection (target->selector); - e_source_set_property (source, "offline", "0"); -} - -void -org_gnome_mark_offline (EPlugin *ep, ECalPopupTargetSource *target) -{ - ESource *source; - - source = e_source_selector_peek_primary_selection (target->selector); - e_source_set_property (source, "offline", "1"); -} - -- cgit v1.2.3