/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * e-text-event-processor.c * Copyright 2000, 2001, Ximian, Inc. * * Authors: * Chris Lahey * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License, version 2, as published by the Free Software Foundation. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library 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 #include "e-i18n.h" #include "e-util-marshal.h" #include "e-text-event-processor.h" #include "e-util.h" static void e_text_event_processor_init (ETextEventProcessor *card); static void e_text_event_processor_class_init (ETextEventProcessorClass *klass); static void e_text_event_processor_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void e_text_event_processor_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); #define PARENT_TYPE G_TYPE_OBJECT static GObjectClass *parent_class = NULL; /* The arguments we take */ enum { PROP_0, PROP_ALLOW_NEWLINES }; enum { E_TEP_EVENT, E_TEP_LAST_SIGNAL }; static guint e_tep_signals[E_TEP_LAST_SIGNAL] = { 0 }; E_MAKE_TYPE (e_text_event_processor, "ETextEventProcessor", ETextEventProcessor, e_text_event_processor_class_init, e_text_event_processor_init, PARENT_TYPE) static void e_text_event_processor_class_init (ETextEventProcessorClass *klass) { GObjectClass *object_class; object_class = (GObjectClass*) klass; parent_class = g_type_class_ref (PARENT_TYPE); object_class->set_property = e_text_event_processor_set_property; object_class->get_property = e_text_event_processor_get_property; e_tep_signals[E_TEP_EVENT] = g_signal_new ("command", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ETextEventProcessorClass, command), NULL, NULL, e_util_marshal_NONE__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); g_object_class_install_property (object_class, PROP_ALLOW_NEWLINES, g_param_spec_boolean ("allow_newlines", _( "Allow newlines" ), _( "Allow newlines" ), FALSE, G_PARAM_READWRITE)); klass->event = NULL; klass->command = NULL; } static void e_text_event_processor_init (ETextEventProcessor *tep) { tep->allow_newlines = TRUE; } gint e_text_event_processor_handle_event (ETextEventProcessor *tep, ETextEventProcessorEvent *event) { if (E_TEXT_EVENT_PROCESSOR_GET_CLASS(tep)->event) return E_TEXT_EVENT_PROCESSOR_GET_CLASS(tep)->event(tep, event); else return 0; } /* Set_arg handler for the text item */ static void e_text_event_processor_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { ETextEventProcessor *tep = E_TEXT_EVENT_PROCESSOR (object); switch (prop_id) { case PROP_ALLOW_NEWLINES: tep->allow_newlines = g_value_get_boolean (value); break; default: return; } } /* Get_arg handler for the text item */ static void e_text_event_processor_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { ETextEventProcessor *tep = E_TEXT_EVENT_PROCESSOR (object); switch (prop_id) { case PROP_ALLOW_NEWLINES: g_value_set_boolean (value, tep->allow_newlines); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } ndabot/npm_and_yarn/devel/electron6/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/devel
Commit message (Expand)AuthorAgeFilesLines
* - update to 1.4.1dinoex2010-03-28263-226/+276
* - Update to 3.3.12miwi2010-03-282-14/+16
* Update to 0.55.tobez2010-03-282-6/+5
* Update to 0.52(00).tobez2010-03-272-5/+5
* Mark this IGNORE everywhere except amd64/i386: invokes i386 asm.linimon2010-03-271-2/+2
* - Update to 1.00wen2010-03-272-4/+4
* Begin the process of deprecating sysutils/rc_subr bydougb2010-03-2715-16/+16
* - Fix CONFLICTS between icu3 and icu4mm2010-03-262-3/+3
* Fix the build with the new libz.marcus2010-03-261-0/+10
* Update to 1.00.tobez2010-03-262-4/+4
* - Update to 3.4.6 [1]tota2010-03-253-19/+17
* - Upgrade to 0.00013.kuriyama2010-03-253-5/+9
* Perl extension for devstat(3) API.kuriyama2010-03-255-0/+35
* - Upgrade to 1.21.kuriyama2010-03-252-4/+4
* Update to 1.7.0.3wxs2010-03-253-10/+11
* - Update to 0.20.0mva2010-03-252-5/+5
* - Update to 0.20.0.mva2010-03-253-13/+10
* Fix with babl update.kwm2010-03-242-5/+38
* MooseX::NonMoose allows for easily subclassing non-Moose classes withwen2010-03-245-0/+56
* - Fix build on sparc64 by turning off optimizationsgahr2010-03-241-1/+1
* - Update to 1.3.1kmoore2010-03-248-72/+99
* - Update to 0.12.2yzlin2010-03-232-4/+4
* Update to 0.85.tobez2010-03-232-4/+4
* Mark as only for amd64 and i386: not yet ported to sparc64, untested onlinimon2010-03-221-0/+1
* Mark as broken on sparc64: fails to configure.linimon2010-03-221-1/+7
* Mark as broken on sparc64: fails to install.linimon2010-03-221-1/+7
* Mark as broken on sparc64: fails self-tests.linimon2010-03-221-0/+4
* Mark as broken on sparc64.linimon2010-03-221-1/+7
* Mark as broken on sparc64: does not compile: invokes i386 asm.linimon2010-03-221-0/+4
* - Update to 1.6.2wen2010-03-222-4/+4
* - Added entry to devel/p5-Acme-Damn to devel/Makefile, forgotten by imp@sylvio2010-03-211-0/+1
* Client for the standard perl debugger.miwi2010-03-215-0/+36
* - Update to 1.0.15wen2010-03-212-5/+4
* - Update to 1.30wen2010-03-212-4/+4
* Implements a simple Getopt::Std class for command line parsing, as well as amiwi2010-03-214-0/+28
* - Update to 0.4.97miwi2010-03-213-11/+14
* - Update to 1.1.1miwi2010-03-212-4/+4
* Gnulib, the GNU portability library, offers a macro system and Cjohans2010-03-214-0/+71
* Update to 1.20(.)00.tobez2010-03-202-5/+4
* Update to 0.45.tobez2010-03-202-4/+4
* - Update to 1.033sylvio2010-03-202-5/+4
* - Perl interface to the GooCanvassylvio2010-03-205-0/+111
* - Update to 0.42sylvio2010-03-202-4/+4
* - Update to 0.9.8.6mva2010-03-203-16/+4
* - update to 0.15leeym2010-03-192-5/+12
* Update to 0.34.tobez2010-03-192-4/+4
* - Update to 7.1.stas2010-03-192-5/+5
* - Update to 0.49.0mva2010-03-193-13/+4
* Upgrade to r98833.brooks2010-03-194-29/+31
* - Add additional support for i7 processorsskreuzer2010-03-194-0/+62
* Update to 0.14.tobez2010-03-182-4/+4
* Update to 1.01.tobez2010-03-182-4/+4
* - Update to 1.02wen2010-03-182-4/+4
* Update to 1.9721.tobez2010-03-182-4/+4
* - Instead of BROKEN, mark it MANUAL_PACKAGE_BUILD:pav2010-03-181-1/+1
* - Update to 5.13pav2010-03-182-4/+4
* - Flip MAKE_JOBS_SAFE -> UNSAFEpav2010-03-181-1/+1
* - Mark BROKEN: fails to packagepav2010-03-181-0/+2
* Update to 1.20.tobez2010-03-172-4/+4
* Update to 0.2703.tobez2010-03-172-4/+4
* - Update to 1.003009miwi2010-03-174-30/+11
* - Update to 1.0.18miwi2010-03-172-4/+4
* - Update to 3.11wen2010-03-172-4/+4
* - Update to 0.15wen2010-03-172-4/+4
* - Update to 2.60wen2010-03-172-4/+4
* Update to 0.73.tobez2010-03-172-5/+4
* Update to 0.30rene2010-03-173-11/+28
* Update to 0.55.tobez2010-03-172-4/+4
* - Bump revisions on ports that use networking functions from plib after it wa...amdmi32010-03-171-0/+1
* - Update MASTER_SITES, WWW, fix COMMENTamdmi32010-03-162-3/+3
* - Fixed download URLglarkin2010-03-163-9/+25
* - Updated to 0.7.0glarkin2010-03-163-10/+38
* Upgrade to 4.19.1.thierry2010-03-162-4/+4
* - Remove www/cheetah. It is broken, unmaintained and not developed since 2001.amdmi32010-03-161-2/+0
* Update to 1.10.tobez2010-03-162-10/+10
* Update to version 1.6, which adds support for Infineon Technologies C166danfe2010-03-163-4/+6
* Update to 0.41.tobez2010-03-162-4/+4
* Update to 0.51(00).tobez2010-03-152-7/+6
* Update to 1.2904.tobez2010-03-152-4/+4
* o Add compile gcc option to make sure that boost compilation toolchainlioux2010-03-152-0/+17
* - Update to 0.3.4wen2010-03-152-4/+4
* - Update to 3.9.1wen2010-03-156-20/+34
* Update to 0.54.tobez2010-03-152-5/+5
* Update to 0.80.tobez2010-03-152-6/+4
* Libgee is a collection library providing GObject-basedmiwi2010-03-155-0/+39
* - Update to 1.7.0.2wxs2010-03-154-16/+17
* Update to version 4.4.2.bsam2010-03-142-4/+4
* Upgrade from alpha49 to final smake 1.2 release.mandree2010-03-142-5/+5
* - Update to 1.42pgj2010-03-142-4/+4
* Update to 0.8.1.marcus2010-03-143-4/+5
* Update to 0.085.tobez2010-03-142-4/+4
* - Update to 0.4.0miwi2010-03-135-216/+260
* - Fix dependencewen2010-03-131-0/+3
* Update to 0.644.tobez2010-03-132-4/+4
* - Update to 0.9.30beat2010-03-133-10/+10
* - Fix V4L1 and add V4L2 support via multimedia/libv4l.jkim2010-03-137-9/+671
* - Updated to 0.27glarkin2010-03-122-4/+4
* - New port: devel/py-setproctitlegahr2010-03-124-0/+42
* Revert the "update" to 0.01 back to 0.0.6. Bump PORTEPOCH.tobez2010-03-122-4/+5
* - Force users to rebuild libpci after ABI issues fixfluffy2010-03-121-0/+1
* - Bump shlib version due to partial ABI incompatibilityfluffy2010-03-122-3/+5
* - Update to 2.10wen2010-03-122-4/+4
* - Update to 1.0wen2010-03-122-4/+4
* Store multiple values per key.kuriyama2010-03-125-0/+33
* Add devel/p5-File-CountLines 0.0.2, a Perl module totobez2010-03-125-0/+35
* Improve on text.danfe2010-03-111-5/+6
* - Upgrade to 1.005001.kuriyama2010-03-112-4/+4
* - Upgrade to 0.05.kuriyama2010-03-112-4/+4
* - Upgrade to 0.34.kuriyama2010-03-113-6/+7
* - Upgrade to 0.09.kuriyama2010-03-112-5/+6
* - Upgrade to 0.06.kuriyama2010-03-113-4/+6
* - Upgrade to 0.00006.kuriyama2010-03-112-4/+4
* Dynamically size group arrays rather than using the soon to be removedbrooks2010-03-112-0/+56
* - Update to 3.1.7sylvio2010-03-114-19/+20
* Update to 1.42.tobez2010-03-112-4/+4
* Upgrade to 4.19.thierry2010-03-112-4/+4
* - Update to 0.2.20090917miwi2010-03-102-5/+5
* - Update to 2.0.3gahr2010-03-108-105/+24
* Update to 5.4.4 release.ale2010-03-102-4/+4
* - Update to 1.6.2gahr2010-03-102-4/+4
* Update to 0.52az2010-03-102-5/+5
* - Update to version 3.11.3fluffy2010-03-106-101/+26
* - Update to 0.05miwi2010-03-102-4/+4
* The ionCube Loader is a free application that runs the filesmiwi2010-03-106-0/+90
* Add forgotten entryimp2010-03-091-0/+1
* Add bpython-0.9.6.2, bpython is a fancy interface to the Pythonyzlin2010-03-096-0/+116
* - Update to 2.20.1mm2010-03-092-4/+4
* - Fix pkg-descrmm2010-03-091-5/+9
* Orc – The Oil Runtime Compilermm2010-03-095-0/+135
* - Update to 0.3.17mm2010-03-092-5/+5
* - Update to r3.18.a3.14.avilla2010-03-093-7/+8
* Update to 0.006000.tobez2010-03-092-4/+4
* Add py-fudge 0.9.4, fudge is a Python module for using fake objects toyzlin2010-03-094-0/+45
* Update to 1.4.14 (bugfix release mostly)johans2010-03-094-15/+54
* Add missing files from plist.imp2010-03-091-0/+3
* Makefile.man is too small to be needed, move this back to Makefileimp2010-03-092-4/+2
* I botched specification of p5-Test-Exception, so tinerbox failedimp2010-03-091-1/+1
* Add Acme::Damn, required for graphics/gscan2pdf to run. This providesimp2010-03-095-0/+38
* Update to 0.09.11ehaupt2010-03-092-6/+6
* pkg-plist update only. This is necessary as the recent upgrades ofjoerg2010-03-092-0/+58
* Upgrade to GCC 4.3.4, as well as to the patches from WinAVR 20100110joerg2010-03-0915-735/+1915
* - Allow to build on AMD64miwi2010-03-091-1/+1
* Update to 0.34.tobez2010-03-082-5/+5
* Update to 1.040.tobez2010-03-082-4/+4
* Update to 0.50.tobez2010-03-082-4/+4
* Update to 2.8.4.roberto2010-03-084-12/+12
* Fix plist.roberto2010-03-081-12/+2
* Fix dependency name.skv2010-03-082-2/+2
* Update to Mercurial 1.5.roberto2010-03-083-4/+13
* Update to 3.4.6skv2010-03-084-26/+24
* Config::AutoConf is a module to implement some of AutoConf macroswen2010-03-085-0/+36
* - Update to 0.48.1mva2010-03-083-4/+7
* Update to 1.28lth2010-03-083-4/+6
* - Update to 5.7 snapshot 20100220rafan2010-03-073-1/+31
* - Update to 0.94clsung2010-03-072-4/+4
* - Update to 5.56clsung2010-03-073-5/+7
* - Update to 2.0.0wen2010-03-074-169/+227
* - Update to 3.02amdmi32010-03-073-7/+5
* - Update to 2.2.0wxs2010-03-062-5/+4
* - Update to 0.5.0wxs2010-03-064-14/+28
* autobox::CORE defines methods for core operations such as join,wen2010-03-055-0/+45
* - UPdate to 0.41wen2010-03-052-4/+4
* - Update to 1.052wen2010-03-052-4/+4
* - Updated to 0.10glarkin2010-03-052-4/+4
* Update to 1.100630.tobez2010-03-052-4/+4
* - Update to 0.64itetcu2010-03-052-4/+4
* Often Perl modules are written to wrap functionallity found in existingitetcu2010-03-055-0/+49
* - Update to 0.20itetcu2010-03-053-4/+8
* Update to 1.485.tobez2010-03-042-4/+4
* This one has to go away.joerg2010-03-041-66/+0
* Oops, forgot to also commit the new distinfo.joerg2010-03-041-3/+3
* Upgrade to GNU binutils 2.20, including patches from WinAVR 20100110.joerg2010-03-0412-2015/+2568
* Update to Mercurial 1.4.3.roberto2010-03-042-4/+4
* Fix plist.brooks2010-03-042-1/+1
* Update to 97654.brooks2010-03-043-6/+6
* - Updated to 0.17glarkin2010-03-032-4/+4
* - Update to 0.1.7wen2010-03-0311-99/+62
* - Do not set NAMELINK_SKIP in order to produce shlibs linksgahr2010-03-032-5/+17
* - New port: devel/gdcmgahr2010-03-035-0/+385
* - Update to 1.7.0.1wxs2010-03-033-10/+11
* Update to 0.79.tobez2010-03-032-4/+4
* Update to 0.18.tobez2010-03-032-4/+4
* Proc::WaitStat contains functions for interpreting and acting onwen2010-03-025-0/+37
* Update to r97497.brooks2010-03-024-20/+32
* - Update to 0.2.0sylvio2010-03-024-17/+25
* - Update to 2.12sylvio2010-03-022-4/+4
* - Update to 1.3.0sylvio2010-03-022-4/+6
* - Update to 1.0.0sylvio2010-03-022-4/+4
* Update to 1.22.tobez2010-03-013-5/+6
* Update to 0.10.tobez2010-03-012-4/+4
* Update to 0.643.tobez2010-03-013-10/+16
* Update to 1.100593.tobez2010-03-012-5/+4
* - Update to 0.27wen2010-03-012-5/+4
* - Update to 1.7.0wxs2010-03-013-18/+34
* - Update to 1.7.2nemoliu2010-02-282-8/+5
* Get rid of WITH_APACHE2. Now this port detects which version of Apachemax2010-02-281-4/+10
* Fix the build with 6.X.marcus2010-02-281-0/+4
* - Update to 3.3lwhsu2010-02-263-4/+7
* - Update to 3.8.7wen2010-02-264-8/+8
* - Update to 0.60.8wen2010-02-263-5/+9
* - Update to 0.3.2wen2010-02-263-22/+15
* - Update to 0.08pgollucci2010-02-262-4/+4
* - Update to 0.01pgollucci2010-02-262-5/+4
* - Update to 0.100270pgollucci2010-02-262-4/+4
* - Update to 0.13pgollucci2010-02-262-5/+5
* - Mark BROKEN: conflicting dependenciespav2010-02-251-0/+2
* - Mark BROKEN: does not compilepav2010-02-251-0/+2
* Reformat, fix couple of grammar nits, and reword for better readability.danfe2010-02-241-18/+17
* - Update to the most recent snapshot to date, and unbreak on newer versionsdanfe2010-02-242-24/+23
* Update my mail address to @FreeBSD.orgjohans2010-02-247-7/+7
* Beautify port description.danfe2010-02-241-11/+9
* Update to 0.78.tobez2010-02-232-5/+4
* - Update to 2.09wen2010-02-232-4/+4
* Update to 0.2702.tobez2010-02-232-4/+4
* - Update to 2.1.0miwi2010-02-236-24/+158
* - Update to 2.1.0miwi2010-02-232-5/+5
* - Fix OPTIONS to match the porter's handbook.romain2010-02-221-6/+6
* - Update to 1.3.3;romain2010-02-223-7/+28
* - Update to 1.6.3nemoliu2010-02-222-8/+5
* Update to 2.26lth2010-02-222-4/+4
* - Update to libstatgrab 0.17.tdb2010-02-223-16/+5
* Add a missing runtime dependency, yelp. Bump the PORTREVISION.mezz2010-02-221-1/+3
* - Update to 1.00001wen2010-02-222-4/+4
* - Update to 0.7.3;romain2010-02-224-5/+44
* New port -- Ruby binding for libpafeume2010-02-214-0/+30
* Update to 1.35. Remove unneeded dependency. Assign maintainer fromtobez2010-02-212-8/+5
* New port -- FeliCa read/write library for Sony RC-S320 USBume2010-02-214-0/+42
* - Update to 1.0.1sylvio2010-02-214-8/+8
* Reset maintainer: email address bounces.linimon2010-02-202-4/+1
* - Update to 1.6.1gahr2010-02-19