aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/changed-comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/changed-comp.c')
-rw-r--r--calendar/gui/dialogs/changed-comp.c110
1 files changed, 0 insertions, 110 deletions
diff --git a/calendar/gui/dialogs/changed-comp.c b/calendar/gui/dialogs/changed-comp.c
deleted file mode 100644
index 7fa2c1d0be..0000000000
--- a/calendar/gui/dialogs/changed-comp.c
+++ /dev/null
@@ -1,110 +0,0 @@
-/* Evolution calendar - Send calendar component dialog
- *
- * Copyright (C) 2001 Ximian, Inc.
- *
- * Author: JP Rosevear <jpr@ximian.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <glib.h>
-#include <libgnome/gnome-i18n.h>
-#include <libgnomeui/gnome-dialog.h>
-#include <libgnomeui/gnome-dialog-util.h>
-#include <libgnomeui/gnome-uidefs.h>
-#include <gal/widgets/e-unicode.h>
-#include "changed-comp.h"
-
-
-
-/**
- * changed_component_dialog:
- * @comp: A calendar component
- * @deleted: Whether the object is being deleted or updated
- * @changed: Whether or not the user has made changes
- *
- * Pops up a dialog box asking the user whether changes made (if any)
- * should be thrown away because the item has been updated elsewhere
- *
- * Return value: TRUE if the user clicked Yes, FALSE otherwise.
- **/
-gboolean
-changed_component_dialog (CalComponent *comp, gboolean deleted, gboolean changed)
-{
- GtkWidget *dialog;
- CalComponentVType vtype;
- char *str;
-
- vtype = cal_component_get_vtype (comp);
-
- if (deleted) {
- switch (vtype) {
- case CAL_COMPONENT_EVENT:
- str = _("This event has been deleted.");
- break;
-
- case CAL_COMPONENT_TODO:
- str = _("This task has been deleted.");
- break;
-
- case CAL_COMPONENT_JOURNAL:
- str = _("This journal entry has been deleted.");
- break;
-
- default:
- g_message ("changed_component_dialog(): "
- "Cannot handle object of type %d", vtype);
- return FALSE;
- }
- if (changed)
- str = g_strdup_printf (_("%s You have made changes. Forget those changes and close the editor?"), str);
- else
- str = g_strdup_printf (_("%s You have made no changes, close the editor?"), str);
-
- } else {
- switch (vtype) {
- case CAL_COMPONENT_EVENT:
- str = _("This event has been changed.");
- break;
-
- case CAL_COMPONENT_TODO:
- str = _("This task has been changed.");
- break;
-
- case CAL_COMPONENT_JOURNAL:
- str = _("This journal entry has been changed.");
- break;
-
- default:
- g_message ("changed_component_dialog(): "
- "Cannot handle object of type %d", vtype);
- return FALSE;
- }
- if (changed)
- str = g_strdup_printf (_("%s You have made changes. Forget those changes and update the editor?"), str);
- else
- str = g_strdup_printf (_("%s You have made no changes, update the editor?"), str);
- }
-
- dialog = gnome_question_dialog_modal (str, NULL, NULL);
-
- if (gnome_dialog_run (GNOME_DIALOG (dialog)) == GNOME_YES)
- return TRUE;
- else
- return FALSE;
-}
a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/ftp?id=26c69d2c6f118b0928c9744ffc3e29e8b582a4e0'>- Update to 0.19jadawin2011-10-202-3/+3 * Update to 2.0.0RC2mm2011-10-192-3/+3 * As previously advertised, complete removal of vulnerable ports thatdougb2011-10-155-74/+0 * Gollem is a web-based File Manager, providing the ability to fully managemm2011-10-124-0/+53 * update math/R to 2.13.2, and adjust dependent portsbf2011-10-111-0/+1 * Fix distinfo and its creationmm2011-10-062-2/+6 * Update to version 3.5.1.demon2011-10-032-3/+3 * Update to 1.3.3fmm2011-10-012-7/+3 * Mark FORBIDDEN the remaining ports that are vulnerable for more thandougb2011-09-261-0/+3 * Drop maintainership as I'm not using this software anymore.novel2011-09-251-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-2417-32/+21 * - Update to 0.6.0sunpoet2011-09-233-18/+21 * - Space/Tab twiddlesunpoet2011-09-221-9/+9 * - Reassign to the heaptabthorpe2011-09-221-1/+1 * Fix pkg-plist: do not remove lib/charset.aliasvd2011-09-212-3/+1 * Fix compilation with SSL.vd2011-09-201-1/+1 * Update to 4.3.2martymac2011-09-204-22/+12 * Upgrade ftp/wget from 1.12 to 1.13.4vd2011-09-2013-184/+5 * - Update to 1.6-10tota2011-09-062-3/+3 * 2011-09-01 deskutils/gkrellm-gtodo: No more public distfilesbapt2011-09-0114-274/+0 * Update to 3.5.1.jsa2011-08-312-7/+6 * - Add a new port: ftp/R-cran-RCurltota2011-08-294-0/+36 * llnlxftp has been resurrected.cy2011-08-281-0/+1 * Resurrect llnlxftp. Distfile was moved to a new LLNL site.cy2011-08-285-0/+83 * - Fix MASTER_SITESmiwi2011-08-261-1/+1 * Chase libnotify, libproxy and webkit-gtk2 shlib changes, and fix build where ...kwm2011-08-242-2/+13 * - Add p5-SOAP-Transport-FTP 0.711sunpoet2011-08-235-0/+46 * - USE_APACHE= /1.3/13/ /2.0/20/ /2.2/22/ohauer2011-08-211-1/+1 * - update to 0.18bapt2011-08-172-3/+3 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-122-2/+1 * llnlxftp was not actually restored from Attic. Remove it to make pointyhatlinimon2011-08-081-1/+0 * - Update to 0.3.8;romain2011-08-06