diff options
author | Chris Lahey <clahey@src.gnome.org> | 2000-01-21 08:35:45 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-01-21 08:35:45 +0800 |
commit | 07af9adcd6731f65e158d8807e85a19dab7bb736 (patch) | |
tree | d06237f56820a6c4bd8200be622559b101fa6a2f /addressbook/contact-editor/test-editor.c | |
parent | 73107b49d42b02754e6facd890c3ed16eebe0a47 (diff) | |
download | gsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.tar.gz gsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.tar.zst gsoc2013-evolution-07af9adcd6731f65e158d8807e85a19dab7bb736.zip |
Changed some line spacing.
* widgets/e-text-event-processor-types.h: Changed some line
spacing.
* widgets/test-reflow.c: Connected to the resize signal of the
reflow.
* widgets/e-minicard.c: Made width argument set function only
update if width is different.
* widgets/e-reflow.h, widgets/e-reflow.c: Added draggable column dividers.
* addressbook/contact-editor/test-editor.c: Open two dialogs for
more interesting testing.
* addressbook/contact-editor/e-contact-editor.h,
addressbook/contact-editor/e-contact-editor.c: Modified to use
glade. Added menus to change which phone/address/email entries to
view. Added images to the dialog.
* addressbook/contact-editor/e-contact-editor-strings.h,
addressbook/contact-editor/contact-editor.glade: Glade files for
the contact editor dialog.
* addressbook/contact-editor/Makefile.am: Added images and added
glade stuff.
* addressbook/contact-editor/arrow.png,
addressbook/contact-editor/briefcase.png,
addressbook/contact-editor/netfreebusy.png,
addressbook/contact-editor/netmeeting.png: Image files for the
contact editor dialog.
svn path=/trunk/; revision=1599
Diffstat (limited to 'addressbook/contact-editor/test-editor.c')
-rw-r--r-- | addressbook/contact-editor/test-editor.c | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/addressbook/contact-editor/test-editor.c b/addressbook/contact-editor/test-editor.c index 737c3028c4..49ed7e48bf 100644 --- a/addressbook/contact-editor/test-editor.c +++ b/addressbook/contact-editor/test-editor.c @@ -23,6 +23,7 @@ #include "config.h" #include <gnome.h> +#include <glade/glade.h> #include "e-contact-editor.h" /* This is a horrible thing to do, but it is just a test. */ @@ -30,7 +31,10 @@ GtkWidget *editor; static void destroy_callback(GtkWidget *app, gpointer data) { - exit(0); + static int count = 2; + count --; + if ( count <= 0 ) + exit(0); } static void about_callback( GtkWidget *widget, gpointer data ) @@ -59,6 +63,22 @@ int main( int argc, char *argv[] ) textdomain (PACKAGE);*/ gnome_init( "Contact Editor Test", VERSION, argc, argv); + + glade_gnome_init (); + + app = gnome_app_new("Contact Editor Test", NULL); + + editor = e_contact_editor_new(NULL); + + gnome_app_set_contents( GNOME_APP( app ), editor ); + + /* Connect the signals */ + gtk_signal_connect( GTK_OBJECT( app ), "destroy", + GTK_SIGNAL_FUNC( destroy_callback ), + ( gpointer ) app ); + + gtk_widget_show_all( app ); + app = gnome_app_new("Contact Editor Test", NULL); editor = e_contact_editor_new(NULL); |