/* * Tests the mail summary display bonobo component * * Author: * Miguel de Icaza (miguel@kernel.org) * * (C) 2000 Helix Code, Inc. */ #include #include #include #include static guint create_container (void) { GtkWidget *window, *control; BonoboUIContainer *container; gdk_rgb_init (); gtk_widget_set_default_colormap (gdk_rgb_get_cmap ()); gtk_widget_set_default_visual (gdk_rgb_get_visual ()); window = bonobo_window_new ("Test", "test"); gtk_widget_set_usize (GTK_WIDGET (window), 640, 480); gtk_widget_show (GTK_WIDGET (window)); container = bonobo_ui_container_new (); bonobo_ui_container_set_win (container, BONOBO_WINDOW (window)); control = bonobo_widget_new_control ( "OAFIID:GNOME_Evolution_Mail_Control", bonobo_object_corba_objref (BONOBO_OBJECT (container))); 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); return FALSE; } int main (int argc, char *argv []) { gnome_init ("sample-control-container", "1.0", argc, argv); oaf_init (argc, argv); if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE) g_error ("Could not initialize Bonobo\n"); gtk_idle_add ((GtkFunction) create_container, NULL); /* * Main loop */ bonobo_main (); return 0; } ue='master'>master FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
* - Upgrade to 1.001021.kuriyama2014-01-123-7/+5
* - Upgrade to 0.002209.kuriyama2014-01-122-3/+3
* - Change default location of Go packages to LOCALBASE/share/gojlaffaye2014-01-126-47/+54
* databases/py-riak: Take maintainership & modernisekoobs2014-01-102-84/+4
* - adopt staging supportjgh2014-01-102-21/+2
* - Reassign to the heap due to mail bouncestabthorpe2014-01-101-1/+1
* - Stagify lang/ghc and all the Haskell Cabal portspgj2014-01-104-4/+0
* - Fix a run-time problem with lang/ghc on FreeBSD 10.0 and later, caused bypgj2014-01-104-4/+4
* Add staging supportskreuzer2014-01-102-3/+4
* - update to version 1.0.9ohauer2014-01-104-7/+6
* Fix typo, one less pkgname collision.mat2014-01-091-1/+1
* - Update to version 1.6danfe2014-01-093-22/+24
* databases/py-hiredis: update to 0.1.2wg2014-01-083-18/+11
* Update to 4.1.4matthew2014-01-082-3/+3
* databases/cego: update to 2.19.14wg2014-01-082-3/+3
* In preparation for Qt 5 ports:makc2014-01-0717-183/+135
* - Update to 3.8.2rakuco2014-01-052-9/+17
* - Add pecl-leveldb 0.1.4sunpoet2014-01-044-0/+30
* Fix plist (JSON parser and producer orphaned)antoine2014-01-042-0/+5
* - Update to 0.6.2lwhsu2014-01-032-3/+3
* - Update to 0.6.1lwhsu2014-01-032-3/+3
* Convert to staging, and fix a few quirks along the way:mandree2014-01-031-6/+28
* - Minimize patches to just remove the comparisonswills2014-01-035-57/+11
* Part 1 at removing now useless FETCH_ARGS redifitionbapt2014-01-03