/* * Tests the mail summary display bonobo component * * Author: * Miguel de Icaza (miguel@kernel.org) * * (C) 2000 Helix Code, Inc. */ #include #include static void create_container (void) { GtkWidget *window, *control; BonoboUIHandler *uih; window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show (window); uih = bonobo_ui_handler_new (); control = bonobo_widget_new_control ("GOADID:Evolution:FolderBrowser:1.0", bonobo_object_corba_objref (BONOBO_OBJECT (uih))); if (control == NULL){ printf ("Could not launch mail control\n"); exit (1); } gtk_container_add (GTK_CONTAINER (window), control); gtk_widget_show (window); gtk_widget_show (control); } int main (int argc, char *argv []) { CORBA_Environment ev; CORBA_ORB orb; CORBA_exception_init (&ev); gnome_CORBA_init ("sample-control-container", "1.0", &argc, argv, 0, &ev); CORBA_exception_free (&ev); orb = gnome_CORBA_ORB (); if (bonobo_init (orb, NULL, NULL) == FALSE) g_error ("Could not initialize Bonobo\n"); bonobo_activate (); create_container (); /* * Main loop */ gtk_main (); return 0; } gnome' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/'>freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
a33944f1190842e671502f'>Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
Commit message (Expand)AuthorAgeFilesLines
* Add size data.trevor2004-03-181-0/+1
* Host distfile locallypat2003-07-031-2/+2
mat2016-04-01