/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ #include #include #include #include #include #include #include #include "e-msg-composer.h" static void send_cb (EMsgComposer *composer, gpointer data) { CamelMimeMessage *message; CamelStream *stream; gint stdout_dup; message = e_msg_composer_get_message (composer); stdout_dup = dup (1); stream = camel_stream_fs_new_with_fd (stdout_dup); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), stream); camel_stream_close (stream); gtk_object_unref (GTK_OBJECT (message)); #if 0 gtk_widget_destroy (GTK_WIDGET (composer)); gtk_main_quit (); #endif } static guint create_composer (void) { GtkWidget *composer; composer = e_msg_composer_new (); gtk_widget_show (composer); gtk_signal_connect (GTK_OBJECT (composer), "send", GTK_SIGNAL_FUNC (send_cb), NULL); return FALSE; } int main (int argc, char **argv) { CORBA_Environment ev; CORBA_ORB orb; CORBA_exception_init (&ev); gnome_CORBA_init ("evolution-test-msg-composer", "0.0", &argc, argv, 0, &ev); CORBA_exception_free (&ev); orb = gnome_CORBA_ORB (); glade_gnome_init (); if (bonobo_init (orb, NULL, NULL) == FALSE) g_error ("Could not initialize Bonobo\n"); /* We can't make any CORBA calls unless we're in the main loop. So we delay creating the container here. */ gtk_idle_add ((GtkFunction) create_composer, NULL); bonobo_main (); return 0; } bot/npm_and_yarn/devel/electron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* This needs perl as both build and run dependencyamdmi32015-09-121-1/+2
* - Update to 1.48jhale2014-12-013-5/+5
* - Update to 1.47jhale2014-09-243-4/+4
* - Trim @dirrm[try] from pkg-plistjhale2014-09-221-1/+0
* - Update to 1.46jhale2014-08-173-12/+13
* - Switch finance/ktoblzcheck to USES=libtool, drop .la filesamdmi32014-07-312-5/+5
* - Update to 1.45jhale2014-02-213-5/+5
* - Update to 1.44jhale2014-01-023-4/+4
* - Support stagingjhale2013-10-192-13/+5
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Update to 1.43jhale2013-09-123-5/+5
* Fix build without libstdc++bapt2013-09-051-5/+4
* - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0
* This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.eadler2013-03-191-1/+1
* - Update to 1.40jhale2012-09-133-14/+12
* - Update MAINTAINER to my new FreeBSD.org addressjhale2012-09-131-1/+1
* Update to 1.39pawel2012-05-173-4/+4
* Update to 1.38pawel2012-04-073-4/+4
* - update to 1.37rm2012-01-063-4/+4
* - Update to 1.35dhn2011-09-253-4/+3
* - Update to 1.34miwi2011-08-263-7/+7
* Update to 1.33jlaffaye2011-06-113-4/+4
* - Update to 1.31culot2011-02-123-4/+4
* Sync to new bsd.autotools.mkade2010-12-041-1/+1
* Update to 1.29makc2010-11-183-6/+4
* Revert CATEGORIES order despite portlint warning.makc2010-08-191-1/+2
* Update to 1.28makc2010-08-184-23/+12
* - Update to 1.27amdmi32010-08-064-14/+39
* - Get rip python 2.3+miwi2009-12-141-1/+1
* - Update to 1.22miwi2009-10-213-5/+5
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1
* Update to 1.21arved2009-03-133-5/+5
* - Update to 1.20amdmi32008-12-033-6/+6
* - Update to 1.18miwi2008-05-303-5/+5
* - Update to 1.17rafan2008-03-223-5/+5
* - Update to 1.16miwi2008-01-213-4/+5
* - Update to 1.15miwi2007-12-173-7/+8
* Update to 1.14delphij2007-08-132-4/+4
* - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-1/+0
* - Update to 1.13miwi2007-05-273-5/+6
* Update to 1.12arved2006-12-112-4/+4
* - Update to 1.11rafan2006-09-262-7/+4
* - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-151-1/+1
* - Fix build on FreeBSD 4.Xpav2006-04-301-0/+3
* - Update to 1.10pav2006-04-164-31/+4
* Conversion to a single libtool environment.ade2006-02-232-0/+2
* - Update to 1.9pav2006-01-202-4/+4
* - Update to 1.8pav2005-11-193-4/+15
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1