/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU Lesser 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 Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "e-categories-dialog.h" #include "e-categories-editor.h" #include "e-categories-selector.h" #include "e-category-completion.h" #include "e-category-editor.h" #define E_CATEGORIES_DIALOG_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_CATEGORIES_DIALOG, ECategoriesDialogPrivate)) G_DEFINE_TYPE (ECategoriesDialog, e_categories_dialog, GTK_TYPE_DIALOG) struct _ECategoriesDialogPrivate { GtkWidget *categories_editor; }; static void entry_changed_cb (GtkEntry *entry, ECategoriesDialog *dialog) { gtk_dialog_set_response_sensitive ( GTK_DIALOG (dialog), GTK_RESPONSE_OK, TRUE); } static void e_categories_dialog_class_init (ECategoriesDialogClass *class) { g_type_class_add_private (class, sizeof (ECategoriesDialogPrivate)); } static void e_categories_dialog_init (ECategoriesDialog *dialog) { GtkWidget *dialog_content; GtkWidget *categories_editor; dialog->priv = E_CATEGORIES_DIALOG_GET_PRIVATE (dialog); categories_editor = e_categories_editor_new (); dialog->priv->categories_editor = categories_editor; dialog_content = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); gtk_container_set_border_width (GTK_CONTAINER (dialog), 12); gtk_box_pack_start ( GTK_BOX (dialog_content), categories_editor, TRUE, TRUE, 0); gtk_box_set_spacing (GTK_BOX (dialog_content), 12); g_signal_connect ( categories_editor, "entry-changed", G_CALLBACK (entry_changed_cb), dialog); gtk_dialog_add_buttons ( GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); gtk_dialog_set_response_sensitive ( GTK_DIALOG (dialog), GTK_RESPONSE_OK, FALSE); gtk_window_set_title (GTK_WINDOW (dialog), _("Categories")); gtk_widget_show_all (categories_editor); } /** * e_categories_dialog_new: * @categories: Comma-separated list of categories * * Creates a new #ECategoriesDialog widget and sets the initial selection * to @categories. * * Returns: a new #ECategoriesDialog **/ GtkWidget * e_categories_dialog_new (const gchar *categories) { ECategoriesDialog *dialog; dialog = g_object_new (E_TYPE_CATEGORIES_DIALOG, NULL); if (categories) e_categories_dialog_set_categories (dialog, categories); return GTK_WIDGET (dialog); } /** * e_categories_dialog_get_categories: * @dialog: An #ECategoriesDialog * * Gets a comma-separated list of the categories currently selected * in the dialog. * * Returns: a comma-separated list of categories. Free returned * pointer with g_free(). **/ gchar * e_categories_dialog_get_categories (ECategoriesDialog *dialog) { gchar *categories; g_return_val_if_fail (E_IS_CATEGORIES_DIALOG (dialog), NULL); categories = e_categories_editor_get_categories ( E_CATEGORIES_EDITOR (dialog->priv->categories_editor)); return categories; } /** * e_categories_dialog_set_categories: * @dialog: An #ECategoriesDialog * @categories: Comma-separated list of categories * * Sets the list of categories selected on the dialog. **/ void e_categories_dialog_set_categories (ECategoriesDialog *dialog, const gchar *categories) { g_return_if_fail (E_IS_CATEGORIES_DIALOG (dialog)); e_categories_editor_set_categories ( E_CATEGORIES_EDITOR (dialog->priv->categories_editor), categories); } es/2020Q3'>branches/2020Q3 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
path: root/dns
Commit message (Expand)AuthorAgeFilesLines
* - Update to 2.1.3miwi2009-07-054-70/+44
* - Update to 1.7.1miwi2009-07-013-4/+25
* Unbreak the jumbo patch by hosting it locally.roam2009-06-291-1/+2
* Make jobs unsafepav2009-06-231-0/+2
* - Update to 0.42clsung2009-06-192-4/+4
* Update to version 9.6.1, the latest from ISC. This version containsdougb2009-06-193-9/+10
* Fix build with with custom LOCALBASE.itetcu2009-06-171-1/+6
* - Update to 1.0.1miwi2009-06-172-4/+4
* - Update to 1.3.0sem2009-06-164-1391/+25
* - Update to 2.49miwi2009-06-162-4/+4
* Update to c-ares-1.6.0.roam2009-06-155-21/+51
* - Update to 0.74miwi2009-06-143-246/+6
* Fix build with custom LOCALBASEitetcu2009-06-081-1/+7
* Make QAT happy with regarding to PREFIX and LOCALBASE.edwin2009-06-071-0/+2
* - Update to 2.48amdmi32009-06-063-22/+9
* - Update to 0.95clsung2009-06-032-4/+4
* . add CONFLICTS to linux-f8 infrastructure ports;bsam2009-06-031-0/+3
* - Fix for wrong configuration with NLS support in Makefileamdmi32009-06-013-4/+63
* - Adding option for building example programsamdmi32009-05-312-1/+50
* The dnsreflector daemon listens for DNS queries on a local UDP portmiwi2009-05-317-0/+148
* Change MAINTAINER on my ports to my FreeBSD email addressavl2009-05-291-1/+1
* Update to 1.14krion2009-05-262-4/+4
* - Fix a one-byte buffer overflow (vuxml entry coming shortly).wxs2009-05-202-1/+15
* - Update to 3.2.2.laszlof2009-05-194-17/+17
* pgeodns is a simple DNS server that can distribute load for apgollucci2009-05-175-0/+46
* - Mark most of my ports MAKE_JOBS_SAFE=yespgollucci2009-05-161-0/+2
* Chase libgmp and bump PORTREVISION.ale2009-05-132-3/+4
* - Pass maintainership to Matthias Andree <matthias.andree@gmx.de>miwi2009-05-051-1/+1
* - Pass maintainership to kimelto (at) gmail.commiwi2009-05-051-1/+1
* - add missing dependency [1]leeym2009-05-032-15/+33
* - Update to 1.11miwi2009-05-012-4/+4
* - Chase nmap updatedhn2009-04-131-0/+1
* - Flip from MAKE_JOBS_SAFE to MAKE_JOBS_UNSAFE, fails both on pointyhat and onpav2009-04-134-4/+4
* - Update to 1.2.12.10miwi2009-04-112-6/+5
* Update to 0.20mat2009-04-092-4/+4
* Add linux-f8-libidn 0.6.14, internationalized Domain Name supportbsam2009-04-074-0/+67
* - Make MAKE_JOBS_SAFE [1]miwi2009-04-012-6/+29
* - Fix a problem with OpenSSL from portssem2009-04-012-0/+1385
* - Make MAKE_JOBS_UNSAFEmiwi2009-03-311-0/+1
* Remove MAKE_JOBS_SAFE, port has no build target.ehaupt2009-03-302-2/+0
* - Add mydns-nglwhsu2009-03-291-0/+1
* - Add MyDNS-ng, a Next Generation DNS Server for sql based DNS serviceslwhsu2009-03-298-54/+49
* Mark MAKE_JOBS_SAFEehaupt2009-03-275-0/+6
* - Mark MAKE_JOBS_SAFE for SMP compilationmiwi2009-03-261-0/+1
* - Fix build after addition of getdelim() and strndup()miwi2009-03-251-0/+24
* - Mark MAKE_JOBS_SAFE for SMP compilationmiwi2009-03-252-0/+2
* Fix CONFLICTS (again). The previous example didn't work at all for portsdougb2009-03-254-4/+4
* Where it matters, update regarding MAKE_JOBS_{UN}SAFE for my portsdougb2009-03-255-0/+10
* - Update to 9.4.3.2.wxs2009-03-252-8/+8
* - Mark MAKE_JOBS_SAFE for SMP compilationmm2009-03-241-0/+1
* - Mark port MAKE_JOBS_SAFEmm2009-03-232-0/+2
* BIND 9.4.3-P2 is a SECURITY patch for BIND 9.4.3. It addresses a bugdougb2009-03-222-8/+8
* BIND 9.5.1-P2 is a SECURITY patch for BIND 9.5.1. It addresses a bugdougb2009-03-222-8/+8
* - Fix build after strndup addition/MFCmiwi2009-03-211-0/+35
* - Add patches to fix build with upcoming boost 1.37.0amdmi32009-03-212-0/+76
* Mark as broken on sparc64-6.linimon2009-03-181-0/+4
* - Fix mail adressmiwi2009-03-121-1/+1
* - Reset farrokhi@freebsd.org due to long period of inactivity.miwi2009-03-102-2/+2
* - Take over maintainershipmiwi2009-03-101-1/+1
* Update to 1.13krion2009-03-093-4/+5
* Fix the AXFR subdomain overwrite vulnerability discovered byroam2009-03-072-3/+14
* - Add missing aclocal:14 to USE_AUTOTOOLSmm2009-03-031-1/+1
* - Update PORTSCOUT flagmiwi2009-03-011-2/+1
* - Update to 1.5.1miwi2009-02-272-4/+4
* - Update to 1.5.1wxs2009-02-272-4/+4
* Update to 1.03skv2009-02-242-4/+4
* - Update PORTSCOUTmiwi2009-02-201-1/+1
* - update to security release 9.4.3-P1mm2009-02-164-44/+78
* - Update to 2.1.2beech2009-02-165-33/+67
* Update to 0.96mat2009-02-132-4/+4
* - Pass maintainership to submitterwxs2009-02-131-1/+1
* - Update to 1.2.1sem2009-02-102-4/+4
* - Update to 1.1jadawin2009-02-102-4/+4
* - Update to 2.47miwi2009-02-102-4/+4
* Update to 1.12krion2009-02-063-5/+5
* - Update download locationspgollucci2009-02-051-1/+2
* - Update download locations, update WWWpgollucci2009-02-042-3/+2
* - Update to 3.2.1amdmi32009-02-042-5/+4
* Update to 0.65 which contains the following small fix:dougb2009-02-042-4/+4
* - Update to 0.15jadawin2009-02-033-7/+10
* - Update to 2.9.22beat2009-02-025-32/+9