aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-06 02:33:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-06 02:33:04 +0800
commita8a50b5085616775e176fd8836a94e81526059c8 (patch)
tree966439f3e8a7f063c03e419cb04f8af0fbf1b590 /mail/component-factory.c
parentffab9cc57fc148272da233de949b8bb726531d77 (diff)
downloadgsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.tar.gz
gsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.tar.zst
gsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.zip
Updated to call post_to_url if the id is "post".
2002-08-05 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (user_create_new_item_cb): Updated to call post_to_url if the id is "post". * mail-callbacks.c (post_to_url): New function so that we don't need a FolderBrowser to post a new message. (post_message): Call post_to_url since they shared so much code. svn path=/trunk/; revision=17698
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index e291c40bae..5a2651b789 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -825,8 +825,11 @@ user_create_new_item_cb (EvolutionShellComponent *shell_component,
if (!strcmp (id, "message")) {
send_to_url (NULL);
return;
- }
-
+ } else if (!strcmp (id, "post")) {
+ post_to_url (parent_folder_physical_uri);
+ return;
+ }
+
g_warning ("Don't know how to create item of type \"%s\"", id);
}
'2005-12-13 04:56:48 +0800'>2005-12-133-22/+20 * Update to 0.42mat2005-12-132-4/+4 * Respect X11BASEvs2005-12-122-12/+2 * Unbreak on 4.x: Builds fine with GCC 3.4+vs2005-12-121-1/+1 * Fix build on 6.xehaupt2005-12-122-1/+11 * The author fixed three minor bugs without changing the version number:thierry2005-12-114-9/+10 * Upgrade to version 2.1-2.thierry2005-12-103-4/+7 * Remove pear ports obsolated by devel/pear and switchale2005-12-101-2/+2 * Upgrade to v0.95.jkoshy2005-12-093-70/+77 * Add math/p5-Math-Matrix 0.4, a Perl module that performs a number oftobez2005-12-085-0/+35 * Unbreak: Add vendor-patch for ocaml 3.09vs2005-12-072-0/+5 * Update to 0.69.tobez2005-12-072-4/+4 * Update to 0.08erwin2005-12-062-3/+4 * Bump PORTREVISION to regenerate the package with the newly enabled IDE on the...vs2005-12-051-0/+1 * Enable IDE by default.vs2005-12-051-3/+3 * Remove install-info from Makefile, it's automatically done when INFO is definededwin2005-12-052-2/+0 * Use INFO macroedwin2005-12-044-6/+4 * - Update to 0.37tdb2005-12-033-8/+7 * - Update to 0.07tdb2005-12-032-3/+4 * - Update to 0.95ehaupt2005-12-025-23/+17 * [New port] math/LabPlot: add LabPlot (Data analysis and visualisation tool)edwin2005-12-0111-0/+419 * Upgrade to 2.1-0.thierry2005-12-013-8/+14 * - Always build the seprate fftw3 threads lib.ahze2005-12-014-16/+8 * Chase shlib version bump of net-snmp.kuriyama2005-11-301-0/+1 * - Update to 0.6.4.flz2005-11-292-4/+4 * The Ruby contrib directory hasn't existed for some time; mirror thefenner2005-11-281-2/+2 * - Add SHA256pav2005-11-261-0/+1 * - Style: ports@freebsd.org -> ports@FreeBSD.orgpav2005-11-262-2/+2 * - Add SHA256pav2005-11-262-0/+2 * - Add SHA256pav2005-11-25106-0/+368 * Update to 0.68.tobez2005-11-252-3/+4 * - Add SHA256 checksumspav2005-11-241-0/+1 * Add alternate MASTER_SITESlioux2005-11-231-1/+2 * - Update mastersite [1]barner2005-11-233-2/+3 * - Use new autotools world orderpav2005-11-231-1/+1 * - Fix build on FreeBSD 4.Xpav2005-11-234-0/+106 * - update port from v0.12 to v0.13aaron2005-11-222-4/+4 * Tablix is a powerful free software kernel for solving general timetablingpav2005-11-215-0/+87 * BROKEN: Does not buildkris2005-11-211-0/+2 * - update port from v0.08 to v0.12aaron2005-11-213-10/+10 * Unbreak by upgrading to 1.6.thierry2005-11-204-18/+6 * Currently with "cpu I686_CPU" which is default,maho2005-11-203-18/+0 * Update to 2.4.2maho2005-11-203-5/+4 * - Update to 0.92pav2005-11-195-20/+43 * Add a patch to avoid C++ keyword conflict in a header file.perky2005-11-182-0/+15 * Update to 0.41mat2005-11-163-5/+5 * BROKEN: Size mismatchkris2005-11-161-0/+2 * Update checksum and size of distfile. I verified that the actual unpackedjhb2005-11-151-2/+2 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-1523-26/+23 * - Update to 5.7.11ahze2005-11-152-3/+4 * Update to 1.6.1.marcus2005-11-154-552/+10 * fixup make logic so that the distfile only gets here once and don't getmat2005-11-142-5/+1 * Take a perl@ hat and add SHA256 checksumsmat2005-11-144-0/+7 * Be hipe and add SHA256mat2005-11-143-0/+3 * Update to 1.4.1perky2005-11-143-7/+8 * Update to 1.03.osa2005-11-142-4/+5 * o) Drop maintainership cause I didn't use these ports since months anymore.lkoeller2005-11-142-2/+2 * portlint shorten pkg-descr, by removing duplicate information from COPYINGarved2005-11-132-50/+6 * Fix build on FreeBSD7arved2005-11-132-7/+15 * - Chase allegro updatepav2005-11-131-1/+2 * Update to 1.2.1arved2005-11-132-5/+5 * - Bail out when older version is installed, because the compilation would failpav2005-11-121-0/+5 * - Upgrade to 9.0, and add a distribution for FreeBSD-5.4 and 6.0.thierry2005-11-116-22/+24 * Fix pkg-plist when both octave and octave-forge aremaho2005-11-112-0/+2 * fix pkg-plistmaho2005-11-111-64/+23 * Fix package listmaho2005-11-112-44/+86 * - Remove commas from BROKEN messagesem2005-11-111-1/+1 * Add SHA256 checksumlioux2005-11-112-0/+2 * o Update to new distfilelioux2005-11-112-3/+4 * With portmgr hat on, reset maintainership of knu's ports since he haslinimon2005-11-118-8/+8 * - Add SHA256 to all ports submitter maintaingarga2005-11-112-0/+2 * Remove the usage of 'misc' as a secondary category.linimon2005-11-101-1/+1 * Be more precise about error on 4.x. Setting USE_GCC (implied by math/cln)vs2005-11-091-1/+2 * Chase Boost shared lib version after update to Boost 1.33.0.barner2005-11-091-1/+1 * - Update to 0.90sem2005-11-096-91/+94 * - Update MASTER_SITES and WWW: linevs2005-11-093-9/+4 * - Add SHA256ahze2005-11-091-0/+1 * - Update to 1.0.3pav2005-11-092-3/+3 * Upgrade to 2.0-4 and build the manual again.thierry2005-11-093-25/+20 * Fix build with goffice 0.1.1 [1].kwm2005-11-083-0/+547 * Update to 0.06vs2005-11-083-6/+5 * Add port math/p5-Algorithm-Combinatorics, efficient generation of combinatori...aaron2005-11-065-0/+56 * Fix some portlint warnings.tobez2005-11-062-4/+2 * Update to 2.4.2; assign maintainership to perl@.tobez2005-11-053-20/+11 * Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-051-2/+2 * These ports depended on jx, which was removed.kris2005-11-0515-396/+0 * Update to 1.6.0.marcus2005-11-059-615/+509 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-0514-3/+14 * Presenting GNOME 2.12 for FreeBSD. The release is chock full of bug fixesmarcus2005-11-053-8/+7 * - Add more master sites, the original site have 10 slots limit and is fullpav2005-11-041-1/+3 * - Move USE_LDOUBLE=yes above bsd.port.pre.mk so pointyhat actaully usesahze2005-11-041-3/+1 * - Update to 0.8.2.1pav2005-11-042-3/+3 * - Update to 0.8.2pav2005-11-045-17/+34 * - Drop unused LDCONFIG_DIRSvs2005-11-031-3/+2 * Upgrade to 24.0.tg2005-11-022-3/+3 * - Updated from 0.06 to 0.07aaron2005-11-023-5/+4 * Unbreak on 4.xvs2005-11-025-7/+97 * - Chase cln and ginac updatespav2005-11-021-1/+2 * - Update to 1.3.3pav2005-11-023-6/+6 * - Update to 1.1.10pav2005-11-023-13/+109 * Upgrade to 2.0-3 and chase the new site.thierry2005-11-025-59/+105 * . Build and install some of the documentation files.glewis2005-11-022-1/+21 * Let the IGNORE message make a bit more sense and change it from:erwin2005-11-015-5/+5 * update to 2.4.1maho2005-10-312-3/+3 * update to 2005.06.13 and unbreakmaho2005-10-304-190/+130 * Add cputype of sempron; athlon type CPUmaho2005-10-301-1/+2 * Fix build and installmaho2005-10-302-7/+8 * Update to 1.0.59mnag2005-10-302-3/+3 * Update to 1.2mnag2005-10-302-3/+3 * o) Fix error when using funktion from shared libraries (dlopen, dlerror)lkoeller2005-10-302-1/+13 * Drop MAINTAINERmnag2005-10-301-1/+1 * - Update to 2005.10.06ehaupt2005-10-306-92/+124 * - Fix fftw3-long by ALWAYS using math/ldouble even if CPUTYPE is definedahze2005-10-292-3/+1 * BROKEN: Incorrect pkg-plistkris2005-10-291-0/+2 * BROKEN on ia64: Does not compilekris2005-10-291-2/+2 * BROKEN on 7.0: Does not buildkris2005-10-291-0/+4 * BROKEN: Does not buildkris2005-10-281-0/+2 * BROKEN on amd64: Does not buildkris2005-10-281-0/+4 * Update to 1.05.tobez2005-10-272-3/+3 * - Sync ports version to latest packages update (2005_10_19-13_48_UTC)az2005-10-252-3/+3 * - Update to 12.5.0 [1]jylefort2005-10-243-29/+14 * Make X11BASE-safevs2005-10-241-1/+1 * Add math/p5-Math-ConvexHull 1.00, a Perl module to calculate convextobez2005-10-245-0/+45 * - Update to 20051010sem2005-10-216-1292/+1287 * - Update to 4.3.6 [1]garga2005-10-195-221/+115 * respect PREFIXijliao2005-10-191-0/+4 * Update to 2.2.10.alpha.tobez2005-10-192-4/+3 * Populate virtual category "lisp"vs2005-10-161-1/+1 * Update to 0.11mnag2005-10-163-56/+11 * NOPROFILE -> NO_PROFILE (fix the build on FreebSD >= 6.0)jmz2005-10-151-2/+6 * Update MASTER_SITE to point to a mirror and remove WWW from packagejhb2005-10-142-3/+1 * Stabilizing: the PETSc Team builds a special tarball for the FreeBSDthierry2005-10-132-5/+6 * - Update to 2.2.0sem2005-10-125-156/+358 * - Update to 2.2.0sem2005-10-123-29/+31 * Remove dead MASTER_SITE and related WWW pkg-descr line.ale2005-10-122-5/+1 * - Upgrade from PETSC_VERSION_PATCH 34 (October, 6, 2005) tothierry2005-10-112-3/+4 * Update to 0.3.2perky2005-10-103-5/+7 * update to 1.0.1maho2005-10-104-7/+7 * update to 2.4.0maho2005-10-103-4/+6 * Reset bouncing maintainer addresses.linimon2005-10-101-1/+1 * update to 6.2.1maho2005-10-102-6/+6 * 1. Update to 3.7.11maho2005-10-103-4/+5 * Reset bouncing maintainer address; mark BROKEN since it does not fetch.linimon2005-10-101-2/+6 * - Update to 12.4.11garga2005-10-083-6/+15 * - Upgrade from PETSC_VERSION_PATCH 32 (September, 26, 2005) tothierry2005-10-072-3/+3 * Update to 1.3.tobez2005-10-062-4/+4 * - Update to 3.95hq2005-10-064-139/+218 * Update to 0.0.6arved2005-10-062-3/+3 * Update to 0.91.tobez2005-10-052-3/+3 * fix build on 4oliver2005-10-042-9/+4 * Reset maintainer to ports@FreeBSD.orgbarner2005-10-041-1/+1 * - Update to 0.89pav2005-10-036-27/+38 * - Update to 0.6.2 [1]jylefort2005-10-032-5/+5 * Update to 0.06mnag2005-10-022-3/+3 * - Fix build of fftw3-long on 5.x, 6.x, 7.x when CPUTYPE is not definedahze2005-10-011-2/+5 * Correct typo.ale2005-10-011-1/+1 * www.hensa.ac.uk has been replaced by the UK Mirror Service on 1 August 1999.fenner2005-10-013-3/+3 * take maintainershipoliver2005-09-301-1/+1 * - Upgrade from PETSC_VERSION_PATCH 31 (September, 14, 2005) tothierry2005-09-282-2/+3 * update to 0.3.4oliver2005-09-283-26/+5 * Update to 2.2.0 release:ale2005-09-243-6/+10 * Add geogebra-i18n 2.6b, a dynamic software that joins geometry,thierry2005-09-246-0/+891 * Update to 1.04. Assign maintainer to perl@. Require perl from ports.tobez2005-09-232-5/+11 * Update to 2.32.tobez2005-09-223-5/+9 * search.cpan.org redirect reduction canonicalization project, pass 2:fenner2005-09-222-2/+2 * search.cpan.org redirect reduction canonicalization project, pass 1:fenner2005-09-2218-18/+18 * Reset maintainership of Seamus Venasse who has not responded for some time.erwin2005-09-202-2/+2 * - update to 1.0leeym2005-09-193-8/+15 * Upgrade to v2.3.0.thierry2005-09-189-154/+76 * - Respect PREFIXpav2005-09-17