Commit Graph

5 Commits

Author SHA1 Message Date
227fab86ef Now this derives from GtkObject. It follows the same strategy as the
2000-06-08  Federico Mena Quintero  <federico@helixcode.com>

	* contact-editor/e-contact-editor.h (EContactEditor): Now this
	derives from GtkObject.  It follows the same strategy as the
	EventEditor in the calendar.
	(EContactEditor): Added an is_new_card field so that we can know
	whether to add() or commit() the card.

	* contact-editor/e-contact-editor.c (e_contact_editor_get_type):
	Derive from GtkObject.
	(e_contact_editor_class_init): Likewise.
	(e_contact_editor_class_init): Added an "is_new_card" argument.
	(e_contact_editor_set_arg): Handle ARG_IS_NEW_CARD.
	(e_contact_editor_get_arg): Likewise.
	(e_contact_editor_new): Take in an is_new_arg argument and set it
	on the object.
	(e_contact_editor_init): Load the app widget into the app field of
	the EContactEditor structure.  Create its UIHandler as well.
	(e_contact_editor_class_init): New "add_card", "commit_card", and
	"editor_closed" signals.

	* contact-editor/test-editor.c (main): Modified for the new API.
	(editor_closed_cb): Tweaked for the new API.
	Since this test program does not use Bonobo, it doesn't work,
	though.

	* gui/component/addressbook.c (new_contact_cb): Use the new
	contact editor API.
	(table_double_click): Ditto.

	* gui/minicard/e-minicard-view.c (e_minicard_view_event): Use the
	new contact editor API.

	* gui/minicard/e-minicard.c (e_minicard_event): Use the new
	contact editor API.

svn path=/trunk/; revision=3479
2000-06-08 17:12:12 +00:00
75513364f1 Made the contact editor load from an ECard.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/contact-editor/Makefile.am,
	addressbook/contact-editor/e-contact-editor.c,
	addressbook/contact-editor/e-contact-editor.h,
	addressbook/contact-editor/test-editor.c: Made the contact editor
	load from an ECard.

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h,
	addressbook/gui/minicard/e-minicard.c: Added support for the URL
	field.

svn path=/trunk/; revision=2349
2000-04-09 03:04:47 +00:00
a8b3463f5a Added the addressbook/backend directory.
2000-03-22  Christopher James Lahey  <clahey@helixcode.com>

        * addressbook/Makefile.am, configure.in: Added the
        addressbook/backend directory.

        * addressbook/backend/Makefile.am: Removed the libversit directory
        as it's now included in the base evolution directory.

        * addressbook/backend/ebook/e-card-pairs.h,
        addressbook/backend/ebook/Makefile.am: Changed the place where
        libversit is looked for.

        * addressbook/backend/ebook/e-book-listener.c: Fixed some
        indentation.

        * addressbook/backend/ebook/e-card-pairs.h,
        addressbook/backend/ebook/e-card-types.h: Commented out some code
        to get this to compile.

        * addressbook/backend/ebook/e-card.c,
        addressbook/backend/ebook/e-card.h: Turned this into a GTK+
        object.

        * addressbook/backend/pas/pas.c,
        addressbook/backend/ebook/test-client.c: Include gnome.h and
        gnorba.h.

        * addressbook/backend/idl/addressbook.idl: Include Bonobo.idl
        instead of bonobo-unknown.idl.

        * addressbook/backend/pas/pas-backend-file.c,
        addressbook/backend/pas/pas-book.c,
        addressbook/contact-editor/test-editor.c,
        addressbook/contact-editor/e-contact-editor.c,
        addressbook/printing/e-contact-print.c,
        addressbook/printing/test-contact-print-style-editor.c,
        addressbook/printing/test-print.c: Killed some warnings.

svn path=/trunk/; revision=2150
2000-03-23 03:39:14 +00:00
07af9adcd6 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
2000-01-21 00:35:45 +00:00
4d4bcd89d8 Images for e-contact-editor.c.
* head.png, phone.png, email.png, web.png, snailmail.png: Images
        for e-contact-editor.c.

        * addressbook/contact-editor/text-editor.c: Test program
        for contact editor widget.

        * addressbook/contact-editor/e-contact-editor.c,
        addressbook/contact-editor/e-contact-editor.h: Contact editor
        widget files.

        * addressbook/contact-editor/.cvsignore,
        addressbook/contact-editor/Makefile.am: New directory for contact
        editor files.

        * addressbook/.cvsignore, addressbook/Makefile.am: New directory
        for addressbook files.

        * widgets/.cvsignore: Added reflow-test.

        * Makefile.am (SUBDIRS): Added addressbook subdirectory.

        * configure.in, widgets/Makefile.am: Removed widgets/toolbar from
        SUBDIRS since the lack of content was preventing it from
        compiling.

        * widgets/shortcut-bar/Makefile.am: Added gnomecanvaspixbuf to the
        list of libraries used.

        * widgets/e-text.c, widgets/e-text.h: Fixed a crashing bug.

svn path=/trunk/; revision=1581
2000-01-17 09:12:21 +00:00