Commit Graph

391 Commits

Author SHA1 Message Date
7f7c32f6d2 use inline images hash table
2000-11-04  Radek Doulik  <rodo@helixcode.com>

	* listener.c (resolve_image_url): use inline images hash table

	* e-msg-composer.c (init): create inlined images hash table
	(destroy): destroy it
	(clear_inline_images): helper function, used from
	g_hash_table_foreach_remove to destroy one inline image record

	* e-msg-composer.h: added hash table with inlined images url ->
	cid info

2000-11-03  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): updated for API changed
	implemented image_url event
	(resolve_image_url): new helper function, attaches image to mail
	and returns new (resolved) url pointing to mime component

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	added conponent_id parameter

	* e-msg-composer-attachment-bar.c
	(e_msg_composer_attachment_bar_attach): added parameter content_id
	(add_from_file): likewise

svn path=/trunk/; revision=6390
2000-11-04 10:11:50 +00:00
e7fa8245cc The big api rename ...
2000-11-02  Michael Meeks <michael@helixcode.com>

	* The big api rename ...

svn path=/trunk/; revision=6346
2000-11-02 06:48:34 +00:00
7158b3b00a Don't create the To, Cc, and Bcc lists based only on the address, use both
2000-11-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Don't create
	the To, Cc, and Bcc lists based only on the address, use both the
	name and address and camel_address_encode() them.

svn path=/trunk/; revision=6326
2000-11-01 23:39:09 +00:00
fee9d1b411 better reply editing, uses new HTMLEditor::Engine,Listener interfaces
you need fresh CVS gtkhtml to try that

2000-10-31  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): new function, tries prepare
	editor engine
	(mark_orig_text): marks original text in editor
	(set_editor_text): call mark_orig_text
	(create_composer): call prepare_engine

	* Makefile.am (IDL_GENERATED): added HTMLEditor generated files to
	IDL_GENERATED
	($(IDL_GENERATED)): generate also files from HTMLEditor.idl
	(libcomposer_la_SOURCES): added listener.[ch]

	* e-msg-composer.h: added editor_engine and editor_listener to
	EMsgComposer

	* listener.[ch]: new files, implementation of HTMLEditor::Listener

svn path=/trunk/; revision=6292
2000-10-31 17:10:42 +00:00
ffe49b7164 Fixed my not-quite-right logic so that we don't accidently set the body
2000-10-27  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Fixed my
	not-quite-right logic so that we don't accidently set the body
	contents using a plain text attachment instead of the actual body
	of the message :-)

svn path=/trunk/; revision=6236
2000-10-27 19:59:57 +00:00
785e31ee3e Populate the composer with any attachments.
2000-10-25  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Populate the
	composer with any attachments.

svn path=/trunk/; revision=6197
2000-10-26 03:47:21 +00:00
360675f54b lots of i18n fixes
svn path=/trunk/; revision=6143
2000-10-24 05:23:27 +00:00
220526cd7c Old cruft. Remove.
* e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*:
	Old cruft. Remove.

	* Makefile.am: Update for removed files.

	* e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h
	include.

	* e-msg-composer.c: Remove e-msg-composer-address-dialog.h include

svn path=/trunk/; revision=6130
2000-10-23 20:39:28 +00:00
78bdc918f6 kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):
2000-10-19  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (create_menubar_file, create_menubar_edit),
	(create_menubar_format, create_menubar_view, create_menubar): kill.
	(create_toolbar): die.
	(setup_ui): impl.
	(e_msg_composer_construct): hook in.
	(menu_format_html_cb): update.
	(menu_view_attachments_activate_cb): ditto.
	(destroy): upd.
	(e_msg_composer_construct): upd.
	(e_msg_composer_set_send_html): upd.

svn path=/trunk/; revision=6018
2000-10-19 02:56:53 +00:00
de8246dc8a If the body text was NULL, then don't bother turning it into HTML
2000-10-17  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): If the body
	text was NULL, then don't bother turning it into HTML (besides, it
	causes a nasty segfault).

svn path=/trunk/; revision=5971
2000-10-18 01:09:45 +00:00
bf3ad6810a stop using format_text, gtkhtml handles this now. (format_text): function
2000-10-13  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): stop using format_text,
	gtkhtml handles this now.
	(format_text): function removed.

svn path=/trunk/; revision=5896
2000-10-13 05:09:35 +00:00
ff538f6d29 check to make sure we get a valid response from when calling get_text and
2000-10-10  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): check to make sure we get a
	valid response from when calling get_text and get_html otherwise
	bail out of the build.

svn path=/trunk/; revision=5823
2000-10-10 21:45:24 +00:00
46d07e9e46 If the body of the message has 8-bit chars, set the
2000-10-02  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): If the body of the message has
	8-bit chars, set the Content-Transfer-Encoding type to the best
	encoding.

svn path=/trunk/; revision=5662
2000-10-02 18:33:18 +00:00
9d6c76ce37 The big eye-candy commit.
Make thumbnails out of image attachments.

svn path=/trunk/; revision=5648
2000-10-01 03:43:17 +00:00
c540870b0c Check to see if the body has 8bit chars, if so - set the
2000-09-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): Check to see if the body has
	8bit chars, if so - set the Content-Transfer-Encoding to 8bit.
	Addresses Bugzilla bug #652.

svn path=/trunk/; revision=5623
2000-09-28 22:12:23 +00:00
9cdc1f6f00 fix typo in tooltip. fix accelerator for "Save as" to be different from
* e-msg-composer-hdrs.c (setup_headers): fix typo in tooltip.
	* e-msg-composer.c (create_menubar_file): fix accelerator for
	"Save as" to be different from "Save". (Both problems pointed out
	by menthos@menthos.com.)

svn path=/trunk/; revision=5570
2000-09-25 16:10:08 +00:00
3a50fb41b5 Updated to handle FIFO streams.
2000-09-24  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (get_signature): Updated to handle FIFO
	streams.

svn path=/trunk/; revision=5563
2000-09-24 20:01:20 +00:00
c09bcfdc43 Don't g_error out if the html-editor-control fails. (create_composer): New
* e-msg-composer.c (e_msg_composer_construct): Don't g_error out
	if the html-editor-control fails.
	(create_composer): New internal function to create and construct a
	msg_composer and pop up an error message if it fails.
	(e_msg_composer_new, e_msg_composer_new_with_sig_file,
	e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use
	create_composer, return if it fails, change return type to
	EMsgComposer *.

svn path=/trunk/; revision=5501
2000-09-19 15:33:16 +00:00
37d47c916d Added check for gnome-app-lib. Removed directories that have been moved to
2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added check for gnome-app-lib.  Removed
	directories that have been moved to gal.

From addressbook/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/Makefile.am, contact-editor/Makefile.am,
	ename/Makefile.am, gui/component/Makefile.am,
	gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* backend/ebook/e-card.c, backend/pas/pas-backend-file.c,
	contact-editor/e-contact-editor-address.c,
	contact-editor/e-contact-editor-categories.c,
	contact-editor/e-contact-editor-categories.h,
	contact-editor/e-contact-editor-fullname.c,
	contact-editor/e-contact-editor.c,
	contact-editor/e-contact-save-as.c, ename/e-address-western.c,
	ename/test-ename-western-gtk.c,
	gui/component/addressbook-factory.c, gui/component/addressbook.c,
	gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c,
	gui/component/select-names/e-select-names-bonobo.c,
	gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names-model.c,
	gui/component/select-names/e-select-names-table-model.c,
	gui/component/select-names/e-select-names-table-model.h,
	gui/component/select-names/e-select-names-text-model.h,
	gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h,
	gui/search/e-addressbook-search-dialog.c,
	gui/widgets/e-addressbook-model.h,
	gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c,
	gui/widgets/e-minicard-view-widget.c,
	gui/widgets/e-minicard-view-widget.h,
	gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
	gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c,
	gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c,
	printing/e-contact-print.c: Fixed the #include lines to deal
	properly with gal.

From calendar/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c,
	gui/e-week-view-event-item.c, gui/e-week-view.c,
	gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c,
	gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines
	to deal properly with gal.

	* gui/check-filled.xpm: New file since we can't include it from
	e-table anymore.

From camel/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* camel-folder-search.c, camel-folder-search.h,
	camel-remote-store.c, providers/imap/camel-imap-folder.c,
	providers/imap/camel-imap-store.c: Fixed the #include lines to
	deal properly with gal.

From composer/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c,
	e-msg-composer-attachment.c, e-msg-composer-hdrs.c,
	e-msg-composer.c: Fixed the #include lines to deal properly with
	gal.

From e-util/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Removed all the files moved to gal.

	* e-dialog-widgets.c: Fixed the #include lines to deal properly
	with gal.

	* e-gui-utils.c, e-gui-utils.h: Removed all of the functionality
	that was moved to gal.

	* e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c,
	e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h,
	e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c,
	e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h,
	e-xml-utils.c, e-xml-utils.h: Moved to gal.

From filter/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* filter-editor.c, filter-filter.c, filter-folder.c,
	filter-input.c, filter-message-search.c, filter-option.c,
	filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c:
	Fixed the #include lines to deal properly with gal.

From mail/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* component-factory.c, folder-browser-factory.c, folder-browser.c,
	mail-callbacks.c, mail-config-gui.c, mail-display.c,
	mail-display.h, main.c, message-list.c, message-list.h: Fixed the
	#include lines to deal properly with gal.

From po/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* POTFILES.in: Removed files that have been moved to gal.

From shell/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* e-component-registry.c, e-corba-storage-registry.c,
	e-corba-storage.c, e-folder-type-registry.c, e-folder.c,
	e-local-folder.c, e-local-storage.c,
	e-shell-folder-creation-dialog.c,
	e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c,
	e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c,
	e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c,
	e-storage.c, evolution-local-storage.c, evolution-session.c,
	evolution-shell-client.c, evolution-shell-component-client.c,
	evolution-shell-component.c, evolution-shell-view.c,
	evolution-storage-listener.c, evolution-storage.c, main.c: Fixed
	the #include lines to deal properly with gal.

From widgets/meeting-time-sel/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* e-meeting-time-sel-list-item.c, e-meeting-time-sel.c,
	e-meeting-time-sel.h: Fixed the #include lines to deal properly
	with gal.

If you've read this far, you deserve a prize.  The first email in my
mailbox with the subject "What a commit message!" (and your physical
mailing address somewhere in the message) will receive a free Helix
Code T-shirt mailed to anywhere within the continental United States.
I cannot be held responsible for problems with email systems anywhere.
This is supposed to be for fun, so please don't make a fuss if
something goes wrong and your mail doesn't reach me.  Find my email
elsewhere in this message, and if it's been more than a few days,
you're probably too late.

From widgets/misc/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c:
	Fixed the #include lines to deal properly with gal.

	* e-scroll-frame.c, e-scroll-frame.h: Moved to gal.

From widgets/shortcut-bar/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
	$(EXTRA_GNOME_LIBS).  Removed unneeded libraries.

	* e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c,
	e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines
	to deal properly with gal.

From widgets/ChangeLog:

2000-09-18  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Removed directories that have been moved to gal.

	* e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c,
	e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h,
	e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal.

	* e-reflow/.cvsignore, e-reflow/Makefile.am,
	e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h,
	e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal.

	* e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE,
	e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO,
	e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm,
	e-table/check-empty.xpm, e-table/check-filled.xpm,
	e-table/clip.png, e-table/e-cell-checkbox.c,
	e-table/e-cell-checkbox.h, e-table/e-cell-string.c,
	e-table/e-cell-text.c, e-table/e-cell-text.h,
	e-table/e-cell-toggle.c, e-table/e-cell-toggle.h,
	e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c,
	e-table/e-cell.h, e-table/e-table-click-to-add.c,
	e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h,
	e-table/e-table-col.c, e-table/e-table-col.h,
	e-table/e-table-column-model.h, e-table/e-table-column.c,
	e-table/e-table-config.c, e-table/e-table-config.glade,
	e-table/e-table-config.glade.h, e-table/e-table-config.h,
	e-table/e-table-defines.h, e-table/e-table-example-1.c,
	e-table/e-table-example-2.c,
	e-table/e-table-field-chooser-dialog.c,
	e-table/e-table-field-chooser-dialog.h,
	e-table/e-table-field-chooser-item.c,
	e-table/e-table-field-chooser-item.h,
	e-table/e-table-field-chooser.c,
	e-table/e-table-field-chooser.glade,
	e-table/e-table-field-chooser.glade.h,
	e-table/e-table-field-chooser.h,
	e-table/e-table-group-container.c,
	e-table/e-table-group-container.h, e-table/e-table-group-leaf.c,
	e-table/e-table-group-leaf.h, e-table/e-table-group.c,
	e-table/e-table-group.glade, e-table/e-table-group.glade.h,
	e-table/e-table-group.h, e-table/e-table-header-item.c,
	e-table/e-table-header-item.h, e-table/e-table-header.c,
	e-table/e-table-header.h, e-table/e-table-item.c,
	e-table/e-table-item.h, e-table/e-table-model.c,
	e-table/e-table-model.h, e-table/e-table-one.c,
	e-table/e-table-one.h, e-table/e-table-scrolled.c,
	e-table/e-table-scrolled.h, e-table/e-table-selection-model.c,
	e-table/e-table-selection-model.h, e-table/e-table-simple.c,
	e-table/e-table-simple.h, e-table/e-table-size-test.c,
	e-table/e-table-sort-info.c, e-table/e-table-sort-info.h,
	e-table/e-table-sorted-variable.c,
	e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c,
	e-table/e-table-sorted.h, e-table/e-table-sorter.c,
	e-table/e-table-sorter.h, e-table/e-table-subset-variable.c,
	e-table/e-table-subset-variable.h, e-table/e-table-subset.c,
	e-table/e-table-subset.h, e-table/e-table-text-model.c,
	e-table/e-table-text-model.h, e-table/e-table-tooltip.h,
	e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h,
	e-table/e-tree-example-1.c, e-table/e-tree-example-2.c,
	e-table/e-tree-model.c, e-table/e-tree-model.h,
	e-table/e-tree-simple.c, e-table/e-tree-simple.h,
	e-table/image1.png, e-table/image2.png, e-table/image3.png,
	e-table/remove-col.xpm, e-table/sample.table,
	e-table/table-test.c, e-table/table-test.h, e-table/test-check.c,
	e-table/test-cols.c, e-table/test-table.c: Moved to gal.

	* e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c,
	e-text/e-entry.c, e-text/e-entry.h,
	e-text/e-text-event-processor-emacs-like.c,
	e-text/e-text-event-processor-emacs-like.h,
	e-text/e-text-event-processor-types.h,
	e-text/e-text-event-processor.c, e-text/e-text-event-processor.h,
	e-text/e-text-model.c, e-text/e-text-model.h,
	e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to
	gal.

i.e.,

...

changed evolution to work with gal.

svn path=/trunk/; revision=5490
2000-09-18 03:43:20 +00:00
9964204c9c The Commit from hell that breaks all UI related stuff;
Anything UI related that breaks is now my fault; apologies in advance.

svn path=/trunk/; revision=5415
2000-09-13 23:40:42 +00:00
1e3df92391 Fix the accelerator for the "Format" menu so that it doesn't conflict
with that of the "File" menu.

svn path=/trunk/; revision=5195
2000-09-05 16:29:24 +00:00
bb0529fc37 Applied Jesse's patch that sets the composer's sig_file
2000-09-04  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): Applied
	Jesse's patch that sets the composer's sig_file

svn path=/trunk/; revision=5190
2000-09-04 05:07:45 +00:00
a029bb7982 This needs to return a const char * and not a char *, because we're not
2000-09-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
	return a const char * and not a char *, because we're not actually
	allocating memory here.
	(create_menubar_file): Changed "Send" to "Send Now" and added
	"Send Later"
	(menu_file_send_later_cb): New callback that emits the POSTPONE
	signal (equivalent to "Send Later"

svn path=/trunk/; revision=5177
2000-09-01 23:53:33 +00:00
9634666fca This needs to return a const char * and not a char *, because we're not
2000-09-01  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_sig_file): This needs to
	return a const char * and not a char *, because we're not actually
	allocating memory here.

svn path=/trunk/; revision=5173
2000-09-01 22:23:40 +00:00
248cb28e52 Always request to import the HTML version if at all possible so that we
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Always
	request to import the HTML version if at all possible so that we
	maintain formatting and other nifty stuff :-)

svn path=/trunk/; revision=5085
2000-08-28 19:46:10 +00:00
1e291c07c0 Set the "From" address in the CamelMimeMessage. Also updated to use
2000-08-28  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the
	"From" address in the CamelMimeMessage. Also updated to use
	get_subject to both make our lives easier and prepare for using UTF8
	(e_msg_composer_hdrs_get_subject): Updated to behave similarly to
	get_from and return allocated memory (it will have to return
	allocated memory once it's converted to use UTF8 anyways)

	* e-msg-composer.c (setup_save_draft): Always set
	composer->send_html = TRUE so that formatting is preserved.

svn path=/trunk/; revision=5084
2000-08-28 19:33:45 +00:00
9d00925828 kill using_oaf assertion.
2000-08-12  Michael Meeks  <michael@helixcode.com>

	* main.c (main): kill using_oaf assertion.

2000-08-12  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (get_text): get_text not get_txt.

svn path=/trunk/; revision=4770
2000-08-12 05:04:43 +00:00
64c6a63cf2 Check nrow, not srow.
2000-08-11  JP Rosevear  <jpr@helixcode.com>

	* mail-config-gui.c (news_edit_clicked): Check nrow, not srow.

svn path=/trunk/; revision=4738
2000-08-11 16:13:15 +00:00
ca25daf7b1 Remove unneeded e-setup.h include
* e-msg-composer.c: Remove unneeded e-setup.h include

svn path=/trunk/; revision=4709
2000-08-10 22:30:28 +00:00
8d36ddc51a Made async
2000-08-10  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (exit_dialog_cb): Made async

svn path=/trunk/; revision=4698
2000-08-10 19:29:42 +00:00
9eebb1486e Workaround Zucchi's new append_message
svn path=/trunk/; revision=4693
2000-08-10 18:03:20 +00:00
8cb514d6dd Merge with camel-async.
svn path=/trunk/; revision=4687
2000-08-10 17:30:50 +00:00
17f64223d5 Fixed some warnings.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer-address-dialog.c: Fixed some warnings.

	* e-msg-composer-hdrs.c: Switched the composer to use an EEntry
	for the subject field.

	* e-msg-composer.c: Changed the non scaling objects in this vbox
	to be FALSE, FALSE instead of FALSE, TRUE.

svn path=/trunk/; revision=4675
2000-08-09 23:01:03 +00:00
eb23edd391 Modified to allow dropdown entry-boxes as well (for headers like From:)
2000-08-09  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (add_header): Modified to allow dropdown
	entry-boxes as well (for headers like From:)
	(setup_headers): Modified to use the correct enum type.
	(create_dropdown_entry): New convenience function to add a
	drop-down combo box and fill it in with identities
	(init): Set from_entry to NULL
	(e_msg_composer_hdrs_get_from): New convenience function to get
	the text in the From widget in the composer
	(e_msg_composer_hdrs_set_from): New convenience function to set
	the From header in the composer

svn path=/trunk/; revision=4673
2000-08-09 22:19:41 +00:00
95684042a2 s/strncasecmp/g_strncasecmp - this will help later with building on
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help
	later with building on different platforms :-)

svn path=/trunk/; revision=4573
2000-08-07 18:27:17 +00:00
a7efe01005 Added code to set the body text based on the CamelMimeMessage.
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_new_with_message): Added code
	to set the body text based on the CamelMimeMessage.
	(set_editor_text): Use lowercase html tags...

svn path=/trunk/; revision=4565
2000-08-07 08:37:59 +00:00
c6c1164cca Prompt the user to save their composition in Drafts. (set_editor_text):
2000-08-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (do_exit): Prompt the user to save their
	composition in Drafts.
	(set_editor_text): Uhm, use "-- \n" not "--\n" because the space
	is called for in the standard
	(e_msg_composer_new_with_message): New convenience function that
	takes a CamelMimeMessage as an argument. This will be useful when
	we code the ability to resume the editing of a message draft (like
	in the Drafts folder).

svn path=/trunk/; revision=4562
2000-08-07 06:22:02 +00:00
52fac8a12c Constify param
2000-08-01  JP Rosevear  <jpr@helixcode.com>

	* e-msg-composer.h: Constify param

	* e-msg-composer.c (get_signature): Constify param
	(set_editor_text): ditto
	(e_msg_composer_new_with_sig_file): ditto

svn path=/trunk/; revision=4458
2000-08-01 21:27:39 +00:00
7f807a631f Typo fix
svn path=/trunk/; revision=4447
2000-08-01 15:50:39 +00:00
121d056d45 New function to create composer with sig file set.
2000-07-28  JP Rosevear  <jpr@arcavia.com>

	* e-msg-composer.c (e_msg_composer_new_with_sig_file): New
	function to create composer with sig file set.
	(e_msg_composer_get_sig_file): New function to get sig file
	(e_msg_composer_set_sig_file): New function to set sig file

2000-07-29  JP Rosevear  <jpr@arcavia.com>

	* mail-format.c (mail_generate_reply): Use new mail config stuff

	* component-factory.c (create_imap_storage): Use new mail config
	stuff
	(create_news_storage): ditto

	* evolution-mail.schemas: Gconf schema for evolution mail

	* mail-config-druid.glade: Gladification of config druid

	* mail-config.h: New header with config structs.

	* mail-config.c: Rewrite of GUI configuration tools to use
	new config structs.  Stores multiple identities and sources now.
	Still only uses the first one found.
	(mail_config_fetch): Returns MailConfig struct to caller
	for configuration queries.
	(mail_config): Renamed function to show mail config dialog.
	(mail_config_druid): Renamed function to show mail config druid.

	* mail-ops.c (create_msg_composer): Use
	e_msg_composer_new_with_sig_file and new config stuff
	(check_configured): Use new config stuff
	(fetch_mail): ditto
	(composer_send_cb): ditto

svn path=/trunk/; revision=4413
2000-07-29 06:04:24 +00:00
fc661fb23a add textual exception printout. (set_editor_text): close pre tags & check
2000-07-25  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (get_text): add textual exception printout.
	(set_editor_text): close pre tags & check for pre-existing
	sig separator.

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* mail-config.c (create_identity_page): set default signature to
	~/.signature

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* backend/ebook/load-pine-addressbook.c (book_open_cb): check we
	opened ok.

svn path=/trunk/; revision=4330
2000-07-25 21:14:58 +00:00
44f34e693b Update the insert text file command. Still waiting on GtkHtml.
svn path=/trunk/; revision=4315
2000-07-25 15:30:06 +00:00
c09bf79964 Remove GOAD support. (create_editor): Try to give a more helpful error
* e-msg-composer.c: Remove GOAD support.
	(create_editor): Try to give a more helpful error message when
	failing to load the editor control.

svn path=/trunk/; revision=4300
2000-07-25 01:20:48 +00:00
e3f8e22df0 Add a "Send HTML mail" toggle in the message composer.
svn path=/trunk/; revision=4284
2000-07-23 13:55:13 +00:00
9433853ca6 Change the message composer to use BonoboUIHandler directly instead of
translated GnomeUIInfo.

svn path=/trunk/; revision=4282
2000-07-23 12:15:07 +00:00
49618ae6eb Fix bug #345: Command to show/hide attachments in the composer
svn path=/trunk/; revision=4117
2000-07-12 18:27:34 +00:00
b3e9f04b68 Make the wm close button in the message composer work the same as
"File/Close".

svn path=/trunk/; revision=4040
2000-07-10 17:24:57 +00:00
815c033842 Don't load "" into the editor, because it will cause the editor component
* e-msg-composer.c (set_editor_text): Don't load "" into the
	editor, because it will cause the editor component to g_warning.

svn path=/trunk/; revision=4026
2000-07-09 23:24:24 +00:00
4e266ce3d2 Create an empty "Edit" menu for the editor control to insert itself into.
* e-msg-composer.c (create_menubar): Create an empty "Edit" menu
	for the editor control to insert itself into.

svn path=/trunk/; revision=3985
2000-07-09 00:32:31 +00:00
f1b8cb078f Added code for initializing the values of the fields in the message
composer.  Unfortunately the ESelectNames crashes when you do this...

svn path=/trunk/; revision=3975
2000-07-08 12:01:12 +00:00