/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* test-minicard.c * * Copyright (C) 2000 Helix Code, Inc. * Author: Chris Lahey * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program 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 General Public License for more details. */ #include "config.h" #include #include "e-entry.h" static void destroy_callback(GtkWidget *app, gpointer data) { exit(0); } #if 0 static void about_callback( GtkWidget *widget, gpointer data ) { const gchar *authors[] = { "Christopher James Lahey ", NULL }; GtkWidget *about = gnome_about_new ( _( "Minicard Test" ), VERSION, _( "Copyright (C) 2000, Helix Code, Inc." ), authors, _( "This should test the minicard canvas item" ), NULL); gtk_widget_show (about); } #endif int main( int argc, char *argv[] ) { GtkWidget *app; GtkWidget *entry; /* bindtextdomain (PACKAGE, GNOMELOCALEDIR); textdomain (PACKAGE);*/ gnome_init( "EEntry Test", VERSION, argc, argv); app = gnome_app_new("EEntry Test", NULL); entry = e_entry_new(); gtk_object_set(GTK_OBJECT(entry), "editable", TRUE, "use_ellipsis", TRUE, NULL); gnome_app_set_contents( GNOME_APP( app ), entry ); /* Connect the signals */ gtk_signal_connect( GTK_OBJECT( app ), "destroy", GTK_SIGNAL_FUNC( destroy_callback ), ( gpointer ) app ); gtk_widget_show_all( app ); gtk_main(); /* Not reached. */ return 0; } lectron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 0.21ehaupt2017-07-022-4/+4
* Update to 0.20ehaupt2017-04-102-3/+4
* Move MASTER_SITES from CRITICAL to LOCAL/ehauptehaupt2015-01-061-1/+1
* Fix package list.ehaupt2013-10-251-3/+1
* Support staging.ehaupt2013-10-231-1/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1
* Remove MAKE_JOBS_SAFE which is now default.ehaupt2013-07-241-1/+0
* Remove indefinite article from COMMENTehaupt2013-03-081-6/+2
* Pacify portlintehaupt2011-12-271-1/+2
* Add LICENSE and remove MD5 sums.ehaupt2011-01-252-1/+1
* Update WWWehaupt2010-09-281-1/+1
* Update to 0.19ehaupt2009-09-282-5/+5
* Mark MAKE_JOBS_SAFEehaupt2009-03-271-0/+1
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-2/+0
* Use MASTER_SITE_CRITICALehaupt2008-03-281-2/+1
* Update to 0.18ehaupt2008-03-132-4/+4
* - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-231-1/+0
* Update to 0.15ehaupt2006-12-202-5/+5
* Bump PORTREVISION to install the new MLINKS (from previous commit)ehaupt2006-06-241-0/+1
* - Renamed from mpck to checkmate (the project was renamed)ehaupt2006-06-242-3/+3
* Update to 0.14ehaupt2006-06-212-4/+4
* Add an additional mirror.ehaupt2006-06-011-1/+3
* Update to 0.12ehaupt2006-03-152-10/+6
* Remove deprecated USE_REINPLACEehaupt2006-02-191-1/+0
* Add SHA256 hashes to my portsehaupt2005-11-30