aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-field-chooser-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-field-chooser-dialog.c')
-rw-r--r--widgets/table/e-table-field-chooser-dialog.c190
1 files changed, 0 insertions, 190 deletions
diff --git a/widgets/table/e-table-field-chooser-dialog.c b/widgets/table/e-table-field-chooser-dialog.c
deleted file mode 100644
index b54c57e80e..0000000000
--- a/widgets/table/e-table-field-chooser-dialog.c
+++ /dev/null
@@ -1,190 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * e-table-field-chooser-dialog.c
- * Copyright (C) 2000 Helix Code, Inc.
- * Author: Chris Lahey <clahey@helixcode.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * 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 library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#include <config.h>
-#include <gnome.h>
-#include <e-table-field-chooser-dialog.h>
-
-static void e_table_field_chooser_dialog_init (ETableFieldChooserDialog *card);
-static void e_table_field_chooser_dialog_class_init (ETableFieldChooserDialogClass *klass);
-static void e_table_field_chooser_dialog_set_arg (GtkObject *o, GtkArg *arg, guint arg_id);
-static void e_table_field_chooser_dialog_get_arg (GtkObject *object, GtkArg *arg, guint arg_id);
-static void e_table_field_chooser_dialog_destroy (GtkObject *object);
-static void e_table_field_chooser_dialog_clicked (GnomeDialog *dialog, gint button);
-
-static GnomeDialogClass *parent_class = NULL;
-
-/* The arguments we take */
-enum {
- ARG_0,
- ARG_DND_CODE,
- ARG_FULL_HEADER,
-};
-
-GtkType
-e_table_field_chooser_dialog_get_type (void)
-{
- static GtkType table_field_chooser_dialog_type = 0;
-
- if (!table_field_chooser_dialog_type)
- {
- static const GtkTypeInfo table_field_chooser_dialog_info =
- {
- "ETableFieldChooserDialog",
- sizeof (ETableFieldChooserDialog),
- sizeof (ETableFieldChooserDialogClass),
- (GtkClassInitFunc) e_table_field_chooser_dialog_class_init,
- (GtkObjectInitFunc) e_table_field_chooser_dialog_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
- };
-
- table_field_chooser_dialog_type = gtk_type_unique (gnome_dialog_get_type (), &table_field_chooser_dialog_info);
- }
-
- return table_field_chooser_dialog_type;
-}
-
-static void
-e_table_field_chooser_dialog_class_init (ETableFieldChooserDialogClass *klass)
-{
- GtkObjectClass *object_class;
- GnomeDialogClass *dialog_class;
-
- object_class = (GtkObjectClass*) klass;
- dialog_class = GNOME_DIALOG_CLASS (klass);
-
- parent_class = gtk_type_class (gnome_dialog_get_type ());
-
- object_class->destroy = e_table_field_chooser_dialog_destroy;
- object_class->set_arg = e_table_field_chooser_dialog_set_arg;
- object_class->get_arg = e_table_field_chooser_dialog_get_arg;
-
- dialog_class->clicked = e_table_field_chooser_dialog_clicked;
-
- gtk_object_add_arg_type ("ETableFieldChooserDialog::dnd_code", GTK_TYPE_STRING,
- GTK_ARG_READWRITE, ARG_DND_CODE);
- gtk_object_add_arg_type ("ETableFieldChooserDialog::full_header", GTK_TYPE_OBJECT,
- GTK_ARG_READWRITE, ARG_FULL_HEADER);
-}
-
-static void
-e_table_field_chooser_dialog_init (ETableFieldChooserDialog *e_table_field_chooser_dialog)
-{
- GtkWidget *widget;
-
- e_table_field_chooser_dialog->etfc = NULL;
- e_table_field_chooser_dialog->dnd_code = g_strdup("");
- e_table_field_chooser_dialog->full_header = NULL;
-
- gnome_dialog_append_buttons(GNOME_DIALOG(e_table_field_chooser_dialog),
- GNOME_STOCK_BUTTON_CLOSE,
- NULL);
-
- gtk_window_set_policy(GTK_WINDOW(e_table_field_chooser_dialog), FALSE, TRUE, FALSE);
-
- widget = e_table_field_chooser_new();
- e_table_field_chooser_dialog->etfc = E_TABLE_FIELD_CHOOSER(widget);
-
- gtk_object_set(GTK_OBJECT(widget),
- "dnd_code", e_table_field_chooser_dialog->dnd_code,
- "full_header", e_table_field_chooser_dialog->full_header,
- NULL);
-
- gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(e_table_field_chooser_dialog)->vbox),
- widget, TRUE, TRUE, 0);
-
- gtk_widget_show(GTK_WIDGET(widget));
-}
-
-GtkWidget*
-e_table_field_chooser_dialog_new (void)
-{
- GtkWidget *widget = GTK_WIDGET (gtk_type_new (e_table_field_chooser_dialog_get_type ()));
- return widget;
-}
-
-static void
-e_table_field_chooser_dialog_destroy (GtkObject *object)
-{
- ETableFieldChooserDialog *etfcd = E_TABLE_FIELD_CHOOSER_DIALOG (object);
- g_free(etfcd->dnd_code);
- if (etfcd->full_header)
- gtk_object_unref(GTK_OBJECT(etfcd->full_header));
-}
-
-static void
-e_table_field_chooser_dialog_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
-{
- ETableFieldChooserDialog *etfcd = E_TABLE_FIELD_CHOOSER_DIALOG(object);
- switch (arg_id){
- case ARG_DND_CODE:
- g_free(etfcd->dnd_code);
- etfcd->dnd_code = g_strdup(GTK_VALUE_STRING (*arg));
- if (etfcd->etfc)
- gtk_object_set(GTK_OBJECT(etfcd->etfc),
- "dnd_code", etfcd->dnd_code,
- NULL);
- break;
- case ARG_FULL_HEADER:
- if (etfcd->full_header)
- gtk_object_unref(GTK_OBJECT(etfcd->full_header));
- if (GTK_VALUE_OBJECT(*arg))
- etfcd->full_header = E_TABLE_HEADER(GTK_VALUE_OBJECT(*arg));
- else
- etfcd->full_header = NULL;
- if (etfcd->full_header)
- gtk_object_ref(GTK_OBJECT(etfcd->full_header));
- if (etfcd->etfc)
- gtk_object_set(GTK_OBJECT(etfcd->etfc),
- "full_header", etfcd->full_header,
- NULL);
- break;
- default:
- break;
- }
-}
-
-static void
-e_table_field_chooser_dialog_get_arg (GtkObject *object, GtkArg *arg, guint arg_id)
-{
- ETableFieldChooserDialog *etfcd = E_TABLE_FIELD_CHOOSER_DIALOG(object);
- switch (arg_id) {
- case ARG_DND_CODE:
- GTK_VALUE_STRING (*arg) = g_strdup (etfcd->dnd_code);
- break;
- case ARG_FULL_HEADER:
- GTK_VALUE_OBJECT (*arg) = GTK_OBJECT(etfcd->full_header);
- break;
- default:
- arg->type = GTK_TYPE_INVALID;
- break;
- }
-}
-
-static void
-e_table_field_chooser_dialog_clicked (GnomeDialog *dialog, int button)
-{
- if (button == 0)
- gnome_dialog_close(dialog);
-}
:pav2005-02-212-1/+14 * - Update to 2.5-STABLE8sem2005-02-143-224/+7 * - Update header_parsing.patchpav2005-02-113-36/+3 * Integrate the following vendor patch as published onnectar2005-02-082-2/+20 * - Fix fetching.sem2005-02-012-3/+3 * - Integrate a vendor patch against a buffer overflow in the WCCP handling,sem2005-01-302-2/+5 * Sync follow-XFF with the latest vendor patch.krion2005-01-291-5/+5 * - Integrate vendor patches as published onsem2005-01-274-42/+213 * [Maintainer/security] www/squid: protect against HTTP resonse splitedwin2005-01-222-2/+11 * [Maintainer/Security] www/squid: integrate vendor patchesedwin2005-01-192-2/+11 * - Integrate vendor patches as published onsimon2005-01-132-4/+20 * Patch was rerolled because of some bug fixes.krion2004-12-291-2/+2 * Handle empty ACL definitions properly.krion2004-12-232-2/+5 * Integrate the following vendor patches as published onsem2004-12-092-2/+11 * - fix shutting down of helper applications on reconfigure orkrion2004-11-142-2/+8 * - Integrate the following vendor patches:sergei2004-10-272-2/+8 * - Integrate a vendor patch that prevents squid from consuming 100%sergei2004-10-193-15/+20 * - Update to 2.5-STABLE7; this release fixes a security issue regardingsergei2004-10-135-103/+26 * - Unbreak fetching squid again:sergei2004-10-112-3/+3 * - Unbreak fetching:sergei2004-10-072-2/+2 * Implement vendor patches for the following issues:sem2004-09-025-72/+93 * Integrate vendor patches for the following issues:sem2004-08-292-2/+11 * Fix grammatical and whitespace errors in squid.conf.default.krion2004-08-213-14/+20 * * Integrate a vendor patch for a possible DOS against the NTLMsem2004-08-202-2/+5 * The ldap_helpers patch has been updated again; see squid bugkrion2004-08-121-2/+2 * Integrate new vendor patches:krion2004-08-082-2/+8 * [Maintainer] www/squid: chase re-issued patch, unbreak fetchingedwin2004-07-302-3/+3 * - integrate a new version of the LDAP update patch, thekrion2004-07-292-8/+8 * Fix a bug that disallowed explicit unsetting of the squid_flags variable.ijliao2004-07-281-1/+1 * - Tweaks to RC scriptpav2004-07-262-12/+47 * Remove ldap_helpers.patchsem2004-07-251-2/+0 * Remove squid-2.5.STABLE6-ldap_helpers.patch until it is fixed.eik2004-07-231-1/+0 * The ldap_helpers patch has been rerolled (a missing returnkrion2004-07-222-3/+3 * Integrate the following vendor patches as published onkrion2004-07-202-9/+55 * Update to 2.5-STABLE6krion2004-07-152-113/+42 * Fix the patch that simulates the autotools bootstrap for thekrion2004-06-294-86/+24 * Correct the patch for the NTLM helper vulnerability accordingkrion2004-06-182-23/+12 * - Support systems where pf(4) must be installed from ports (seekrion2004-06-105-14/+42 * Add a couple of patches, including one for a buffer overflow in the NTLMdes2004-06-103-2/+95 * - correct report of available cache memory for cache sizes >2GBkrion2004-06-032-2/+23 * - Add new vendor patches:krion2004-05-022-2/+14 * - Fix plistkrion2004-04-292-6/+6 * - Add a vendor patch to fix an assertion failure that couldkrion2004-04-202-2/+5 * - integrate a vendor patch to fix a segfault that occured whenkrion2004-04-193-13/+23 * - Integrate a vendor patch that fixes an assertion caused bykrion2004-04-122-2/+5 * - Integrate two new vendor patches, please seekrion2004-04-104-13/+32 * - Integrate four new vendor patches applicable to FreeBSD, seepav2004-04-013-4/+26 * - update to squid-2.5.STABLE5, including two vendor patches issued so farsergei2004-03-178-209/+673 * - Integrate a new set of vendor patches, seeeik2004-02-244-167/+35 * - integrate a new patch from squid-cache.org, seesergei2004-02-174-16/+152 * - Update distinfo for the http_workarounds patch (again)sergei2004-02-024-116/+140 * The http_workarounds.patch has been updated, update distinfo accordingly.ijliao2004-01-201-1/+1 * - integrate another patch from squid-cache.org, seeijliao2004-01-193-11/+58 * - configure squid to run under a dedicated "squid" user by default; make usesergei2004-01-178-1017/+419 * - Integrate another patch for the LDAP authentication helpersergei2004-01-102-4/+6 * - Integrate a new patch issued by the squid development teamsergei2004-01-063-2/+16 * Change maintainer to Thomas-Martin Seck.will2004-01-051-1/+1 * More patches for squid, to keep up to date with the squid distribution.edwin2004-01-022-11/+13 * Add more patch files for www/squidedwin2003-12-302-2/+13 * Uncomment the lines I needed to test the port. Mea Culpa.edwin2003-12-281-2/+2 * [PATCH] www/squid: update to 2.5-STABLE4 (+ vendor patches)edwin2003-12-282-4/+56 * [PATCH] www/squid: update to 2.5 STABLE 4edwin2003-12-283-50/+29 * o Allow to use $SQUID_CONFIGURE_ARGS in /etc/make.conf for additionalkuriyama2003-12-131-1/+1 * .. add the missing file.adrian2003-07-271-0/+11 * Massive upgrade to 2.5-stable3. Thanks!adrian2003-07-274-30/+74 * Bring the squid-2.5 port up to 2.5.STABLE2.adrian2003-04-092-139/+3 * Add vendor patches:netchild2003-03-092-4/+139 * Clear moonlight beckons.ade2003-03-072-1/+1 * Grab the patch against squid24 from a PR..adrian2003-01-311-4/+8 * Document the configure argument for reverse SSL proxies.seanc2003-01-031-0/+2 * Removed double USE_PERL5edwin2002-11-051-1/+0 * Half of these ones missed yesterday while converting to USE_REINPLACE.edwin2002-11-051-0/+2 * PERL -> REINPLACEedwin2002-11-041-2/+3 * Update the port to squid-2.5.stable1.adrian2002-10-143-38/+831 * - Use MASTER_SITE_SUBDIR.knu2002-10-141-4/+6 * Update squid port to squid-2.4stable7.adrian2002-07-052-3/+3 * Update the squid24 port to Squid-2.4.STABLE6.adrian2002-03-222-3/+3 * Fix a typo, spotted by des.adrian2002-02-201-1/+1 * Update the port to squid-2.4stable4 .adrian2002-02-192-3/+3 * Update the port to squid-2.4STABLE3.adrian2001-12-032-3/+3 * Remove the RunCache stuff and let squid handle its own child maintainence.adrian2001-09-012-3/+8 * Misc. fixes:olgeni2001-08-311-37/+37 * * Update the port to use the newly-release squid-2.4STABLE2adrian2001-08-292-15/+6 * Make sure we don't delete mime.conf and squid.conf at packageadrian2001-06-182-3/+5 * PR: 26339adrian2001-04-102-2/+4 * Add the latest patch - a HTCP (cache control protocol, not a HTTP extension)adrian2001-04-032-2/+4 * Add some PATCHFILES to this port, and bump its PORTREVISION.adrian2001-03-312-1/+9 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-301-1/+1 * .. and update the Makefile to indicate that its my port, built by me. :)adrian2001-03-271-3/+3 * PR: 26059adrian2001-03-275-63/+64