Commit Graph

754 Commits

Author SHA1 Message Date
Jeffrey Stedfast d32920c6ff Fix previous patch for the !USE_GTKFILECHOOSER case.
2005-02-15  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer-select-file.c (select_attach_response): Fix
	previous patch for the !USE_GTKFILECHOOSER case.

svn path=/trunk/; revision=28805
2005-02-16 18:29:57 +00:00
Harry Lu bc28593619 Add a11y name for attachment button and bars
2005-02-16  Harry Lu  <harry.lu@sun.com>

        Add a11y name for attachment button and bars

        * e-msg-composer-attachment-bar.c:
        (e_msg_composer_attachment_bar_new):
        * e-msg-composer.c: (create_composer):

svn path=/trunk/; revision=28802
2005-02-16 05:33:15 +00:00
Jeffrey Stedfast 691a710960 declare a variable in the !USE_GTKFILECHOOSER code path
----------------------------------------------------------------------

svn path=/trunk/; revision=28791
2005-02-14 18:31:47 +00:00
Not Zed 0a50b0ab04 ** See bug #66126.
2005-02-10  Not Zed  <NotZed@Ximian.com>

        ** See bug #66126.

        * e-msg-composer-attachment-bar.c (destroy): destroy async file
        requesters.
        (add_from_user_response, add_from_user): use async file
        requesters.

        * e-msg-composer.c (save): don't fallback to saveas if the
        filename is null.
        (saveas, saveas_response): new functions for async file
        requesters.
        (menu_file_save_cb): call saveas if we have no filename.
        (menu_file_save_as_cb): call saveas.
        (menu_file_open_cb, file_open_response): change for async file
        loading (which doesn't appear to be used anymore).
        (destroy): destroy async requesters.

        * e-msg-composer-select-file.c (get_selector): make it no longer
        modal, no longer show the window.
        (select_file_response, e_msg_composer_select_file): make it async.
        (select_attach_response, e_msg_composer_select_file_attachments):
        same.

svn path=/trunk/; revision=28760
2005-02-10 04:34:29 +00:00
Hans Petter Jansson 099cdcea99 Set pointers to the contact editor creation functions in the entries, so
2005-01-24  Hans Petter Jansson  <hpj@novell.com>

	* e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the
	contact editor creation functions in the entries, so they can pop up
	said editors.

svn path=/trunk/; revision=28540
2005-01-25 02:25:24 +00:00
Not Zed 7b509418a1 initialise composer before using it. sigh.
2005-01-12  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (destroy): initialise composer before using it.
        sigh.

svn path=/trunk/; revision=28362
2005-01-12 02:12:04 +00:00
Not Zed 9f99a5bd78 turn off debug, setup g private instance data structure. (setup_ui):
2005-01-05  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (d): turn off debug, setup g private instance
        data structure.
        (setup_ui): activate the composer plugin menu.
        (destroy): clean up the composer plugin menu.
        (class_init, init): init private instance data & plugin menu.

svn path=/trunk/; revision=28243
2005-01-05 07:50:55 +00:00
JP Rosevear 3a53893a82 kill warnings (map_default_cb): the to entry widget is now just a gtk
2004-12-24  JP Rosevear  <jpr@novell.com>

	* e-msg-composer.c (setup_signatures_menu): kill warnings
	(map_default_cb): the to entry widget is now just a gtk entry at
	its core, so check for text that way

svn path=/trunk/; revision=28201
2004-12-24 13:57:49 +00:00
Hans Petter Jansson 6d9d18b7ad Remove select-names from here.
2004-12-23  Hans Petter Jansson  <hpj@novell.com>

	* Makefile.am (selectnamesdir)
	(IDL_GENERATED)
	(INCLUDES): Remove select-names from here.

	* Composer.idl: Remove Evolution-Addressbook-SelectNames.idl include.

svn path=/trunk/; revision=28190
2004-12-23 07:02:17 +00:00
Hans Petter Jansson 0eabd23e17 Unref the name selector. (e_contact_list_editor_save_contact): Fix a
2004-12-22  Hans Petter Jansson  <hpj@novell.com>

	* addressbook/gui/contact-list-editor/e-contact-list-editor.c
	(e_contact_list_editor_dispose): Unref the name selector.
	(e_contact_list_editor_save_contact): Fix a warning.
	(add_to_model): Take a list instead of a vector of destinations.
	(select_names_ok_cb): Adapt to new name selector.
	(setup_corba): Renamed to setup_name_selector () and adapted.
	(select_cb): Adapt to new name selector.

	* addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt
	to new name selector and remove CORBA/Bonobo.

	* addressbook/gui/widgets/eab-popup.c (eabp_target_free)
	(eabp_popup_target_new_select_names): #ifdef out code that
	depended on the old name selector.

2004-12-22  Hans Petter Jansson  <hpj@novell.com>

	* calendar/gui/Makefile.am (IDLS)
	(SELECT_NAMES_IDL_GENERATED_H)
	(SELECT_NAMES_IDL_GENERATED_C)
	(SELECT_NAMES_IDL_GENERATED)
	(IDL_GENERATED): Remove the addressbook IDL.

	* calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize)
	(add_section)
	(e_meeting_list_view_init)
	(process_section)
	(name_selector_dialog_close_cb)
	(get_select_name_dialog): Adapt to new ENameSelector.

	* calendar/gui/e-select-names-editable.c (esne_start_editing)
	(esne_finalize)
	(esne_init)
	(e_select_names_editable_get_type)
	(entry_activate)
	(e_select_names_editable_construct)
	(e_select_names_editable_get_address)
	(e_select_names_editable_get_name)
	(e_select_names_editable_set_address): Adapt to new ENameSelector.

	* calendar/gui/e-select-names-renderer.c
	(e_select_names_renderer_editing_done)
	(e_select_names_renderer_activated)
	(e_select_names_renderer_start_editing): Adapt to new ENameSelector.

	* calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm)
	(addressbook_clicked_cb)
	(addressbook_response_cb)
	(setup_select_names)
	(check_custom_email)
	(malarm_addresses_changed_cb): Adapt to new ENameSelector.

	* calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize)
	(e_delegate_dialog_construct)
	(addressbook_clicked_cb)
	(addressbook_response_cb)
	(e_delegate_dialog_get_delegate)
	(e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector.

2004-12-22  Hans Petter Jansson  <hpj@novell.com>

	* composer/e-msg-composer-hdrs.c (addressbook_dialog_response)
	(setup_corba)
	(setup_name_selector)
	(address_button_clicked_cb)
	(addressbook_entry_changed)
	(create_addressbook_entry)
	(destroy)
	(e_msg_composer_hdrs_new)
	(destinations_to_name_selector_entry)
	(e_msg_composer_hdrs_set_to)
	(e_msg_composer_hdrs_set_cc)
	(e_msg_composer_hdrs_set_bcc)
	(destination_list_to_destv)
	(e_msg_composer_hdrs_get_to)
	(e_msg_composer_hdrs_get_cc)
	(e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector.

svn path=/trunk/; revision=28186
2004-12-23 02:42:11 +00:00
Not Zed 5ec3965b9f svn path=/trunk/; revision=28178
2004-12-17  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (emcab_popup):

        * e-msg-composer.c (drag_data_received):

svn path=/trunk/; revision=28178
2004-12-22 07:37:36 +00:00
Hans Petter Jansson 24ebfb0afc addressbook/gui/component/addressbook-migrate.c
2004-12-08  Hans Petter Jansson  <hpj@novell.com>

	* addressbook/gui/component/addressbook-migrate.c
	* addressbook/gui/component/select-names/e-select-names-completion.c
	* addressbook/gui/component/select-names/e-select-names-manager.c
	* addressbook/gui/component/select-names/e-select-names-model.h
	* addressbook/gui/contact-list-editor/e-contact-list-editor.h
	* addressbook/gui/contact-list-editor/e-contact-list-model.h
	* addressbook/gui/widgets/e-minicard.c
	* addressbook/gui/widgets/eab-gui-util.c
	* addressbook/importers/evolution-ldif-importer.c
	* addressbook/importers/evolution-vcard-importer.c: Include
	<libebook/e-destination.h> from evolution-data-server.
	* addressbook/util/Makefile.am: Remove e-destination.[ch] from here.
	* addressbook/util/e-destination.[ch]: Removed.

	* plugins/shared-folder/share-folder-common.c: Include
	<libebook/e-destination.h> from evolution-data-server.

	* calendar/gui/e-meeting-list-view.c
	* calendar/gui/e-select-names-editable.c
	* calendar/gui/dialogs/alarm-dialog.c
	* calendar/gui/dialogs/e-delegate-dialog.c: Include
	<libebook/e-destination.h> from evolution-data-server.

	* composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h>
	from evolution-data-server.

	* mail/importers/pine-importer.c: Include <libebook/e-destination.h>
	from evolution-data-server.

svn path=/trunk/; revision=28094
2004-12-09 06:12:56 +00:00
Not Zed 87a7a18c32 include camel-cipher-context.h so we build if nss isn't available.
2004-12-07  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c: include camel-cipher-context.h so we build if
        nss isn't available.

svn path=/trunk/; revision=28080
2004-12-07 03:24:33 +00:00
Not Zed ad284c3505 remove the old camel_multipart_encrypted api.
2004-11-15  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (handle_multipart_encrypted): remove the old
        camel_multipart_encrypted api.

svn path=/trunk/; revision=28052
2004-12-03 03:43:19 +00:00
JP Rosevear 869473d7f6 get image from icon factory directly
2004-11-26  JP Rosevear  <jpr@novell.com>

	* e-msg-composer.c (create_composer): get image from icon factory
	directly

svn path=/trunk/; revision=28002
2004-11-26 15:53:57 +00:00
Not Zed 7f73e47a13 fix the popup id.
2004-10-28  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (drag_data_received): fix the popup id.

        * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco.

svn path=/trunk/; revision=27750
2004-10-28 09:25:47 +00:00
Jeffrey Stedfast 08761f5b18 Close on Esc. (create_composer): Connect to the key-press-event signal.
2004-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (composer_key_pressed): Close on Esc.
	(create_composer): Connect to the key-press-event signal.

svn path=/trunk/; revision=27743
2004-10-27 18:38:28 +00:00
mengjie yu 83e209ee7a fix for bugzilla #44876
2004-10-26  mengjie yu  <meng-jie.yu@sun.com>

        fix for bugzilla #44876

        * e-msg-composer-hdrs.c (header_new_recipient), (create_headers): add access key for Reply_to,
        From,Subject,To,Cc,Bcc,Post_to;
        * e-msg-composer.c: (setup_signatures_menu):Add accesss key for Signature.

svn path=/trunk/; revision=27735
2004-10-27 06:53:30 +00:00
JP Rosevear 9ab978229a convert to org.gnome hook names
2004-10-19  JP Rosevear  <jpr@novell.com>

	* e-msg-composer.c, e-msg-composer-attachment-bar.c: convert to
	org.gnome hook names

svn path=/trunk/; revision=27636
2004-10-20 03:02:45 +00:00
Jeffrey Stedfast 2432e22d47 g_strdup() the gpg/smime keys into the recipients list or else we end up
2004-10-08  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (build_message): g_strdup() the gpg/smime keys
	into the recipients list or else we end up free'ing them later
	when we shouldn't. Fixes bug #66703

svn path=/trunk/; revision=27537
2004-10-11 16:51:17 +00:00
Jeffrey Stedfast 270e6457db updated
svn path=/trunk/; revision=27516
2004-10-08 18:39:39 +00:00
Not Zed adf099914c e-popup api changes.
2004-10-06  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (drag_data_received):
        * e-msg-composer-attachment-bar.c (emcab_popup): e-popup api changes.

svn path=/trunk/; revision=27486
2004-10-07 01:30:50 +00:00
JP Rosevear 490736b2b9 set a GTKHTML_API_VERSION variable
2004-10-01  JP Rosevear  <jpr@novell.com>

	* configure.in: set a GTKHTML_API_VERSION variable

2004-10-01  JP Rosevear  <jpr@novell.com>

	* e-msg-composer.c: uses GTKHTML_API_VERSION for the bonobo server
	look up

svn path=/trunk/; revision=27442
2004-10-01 05:30:22 +00:00
Not Zed 985ea02bdb enable ask drop action and hook onto drag motion. (drag_motion):
2004-10-01  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (create_composer): enable ask drop action and
        hook onto drag motion.
        (drag_motion): implement.
        (drop_action): do the work here now.
        (drag_data_received): popup a menu if the action is ask.
        (drop_popup_copy, drop_popup_move, drop_popup_cancel):
        (drop_popup_free): Popup callbacks.

svn path=/trunk/; revision=27441
2004-10-01 03:45:33 +00:00
Kjartan Maraas 6989b2cc5b Use non-deprecated functions.
2004-09-30  Kjartan Maraas  <kmaraas@gnome.org>

	* e-msg-composer.c: (autosave_manager_start),
	(autosave_manager_stop), (create_composer): Use non-deprecated
	functions.

svn path=/trunk/; revision=27436
2004-09-30 08:53:05 +00:00
Michael Meeks 7bcacf89cb handle 'attachment' as well, as per Mozilla's mangling, and the new
2004-08-17  Michael Meeks  <michael@ximian.com>

	* e-msg-composer.c (handle_mailto): handle 'attachment' as
	well, as per Mozilla's mangling, and the new desktop-launch spec.
	[ this was approved months ago, but somehow never got committed ]
	** See bug #65592

svn path=/trunk/; revision=27309
2004-09-20 15:21:59 +00:00
Michael Zucci ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
Not Zed b3a60f734a ** See bug #64454.
2004-09-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #64454.

        * mail-composer-errors.xml: add accelerators to modified message
        dialogue.

svn path=/trunk/; revision=27190
2004-09-09 00:04:20 +00:00
Radek Doulik 96bec73826 set paragraph style to normal to avoid signature landing in PRE paragraph
2004-08-13  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph
	style to normal to avoid signature landing in PRE paragraph

svn path=/trunk/; revision=26919
2004-08-13 16:27:16 +00:00
Carlos Garnacho Parro a064dadb0c Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0.
2004-07-29  Carlos Garnacho Parro  <carlosg@gnome.org>

	* e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser
	if compiled against Gtk+ >= 2.4.0. (e_msg_composer_select_file):
	added save_mode parameter

	* e-msg-composer.c: use the modified e_msg_composer_select_file()
	function

svn path=/trunk/; revision=26892
2004-08-12 20:36:07 +00:00
Not Zed a0a9b026a5 Fixes for api changes in mail/ for 61940.
2004-07-28  Not Zed  <NotZed@Ximian.com>

	* e-msg-composer.c: Fixes for api changes in mail/ for 61940.

svn path=/trunk/; revision=26761
2004-07-28 18:06:31 +00:00
Radek Doulik 34b244a041 removed unused static variable listener_vepv
2004-07-23  Radek Doulik  <rodo@ximian.com>

	* listener.c: removed unused static variable listener_vepv

	* added len parameter to set_editor_text,
	e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it
	allows us to send whole buffer (even if it contains \0 in the
	middle) to gtkhtml editor.

svn path=/trunk/; revision=26746
2004-07-27 16:52:17 +00:00
Radek Doulik 7ddc126750 removed body content + signature html concatenating and call
2004-07-22  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (set_editor_text): removed body content +
	signature html concatenating and call e_msg_composer_show_sig_file
	instead

	Fixes #59490

svn path=/trunk/; revision=26705
2004-07-22 16:36:15 +00:00
Not Zed 5ce0c6c2bd include config.h. See #61395.
2004-07-20  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment.c: include config.h.  See #61395.

svn path=/trunk/; revision=26695
2004-07-22 03:03:39 +00:00
Not Zed 59baf26287 ** Fix for #60387.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        ** Fix for #60387.

        * mail-composer-errors.xml: added an error for failing to retrieve
        to-be-attached messages.

        * e-msg-composer.c (message_rfc822_dnd): remove this, we only want
        to treat it as a real rfc822 message, not a berkeley mailbox.
        (drag_data_received): handle the rfc822 type here, and also the
        new x-uid-list type.
        (attach_message): helper set a description on attached messages.

svn path=/trunk/; revision=26411
2004-06-18 05:59:16 +00:00
Not Zed 7ca7b54a79 clean up the code slightly.
2004-06-16  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the
        code slightly.

        * evolution-composer.c (impl_Composer_set_headers): Fix all the
        strn?casecmp calls.

        * e-msg-composer.c (from_changed_cb, drag_data_received)
        (is_special_header, e_msg_composer_new_with_message)
        (handle_mailto, e_msg_composer_new_from_url): as above.

        * e-msg-composer-attachment.c (e_msg_composer_attachment_new): as
        above.

        * e-msg-composer.c (drag_data_received): handle comments in uri
        lists.

svn path=/trunk/; revision=26378
2004-06-17 07:33:24 +00:00
Jeffrey Stedfast dadf300d45 Don't connect to the key_pressed_event. (composer_key_pressed): Removed.
2004-06-14  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (create_composer): Don't connect to the
	key_pressed_event.
	(composer_key_pressed): Removed. We don't want to close the
	compose on Escape. To do so would violate the HIG.

svn path=/trunk/; revision=26339
2004-06-14 17:46:30 +00:00
Dan Winship 756eadbdf3 fix the name of "stock_save-as" everywhere
svn path=/trunk/; revision=26237
2004-06-07 15:36:39 +00:00
Jeffrey Stedfast fcbe2d020d Use e_error_run() instead of the e_activation_error_dialog() stuff that no
2004-06-04  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (create_composer): Use e_error_run() instead of
	the e_activation_error_dialog() stuff that no longer exists.

svn path=/trunk/; revision=26215
2004-06-04 17:00:52 +00:00
Radek Doulik c1afb96405 always insert new paragraph for signature
2004-06-03  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_show_sig_file): always insert
	new paragraph for signature

	Fixes #37601

svn path=/trunk/; revision=26170
2004-06-03 15:16:05 +00:00
Jeffrey Stedfast cd26a513df s/${0}/{0}/g
2004-05-27  Jeffrey Stedfast  <fejj@novell.com>

	* mail-composer-errors.xml: s/${0}/{0}/g

svn path=/trunk/; revision=26117
2004-05-27 22:06:37 +00:00
Rodney Dawes 59751421bd Require e-error-tool
2004-05-27  Rodney Dawes  <dobey@novell.com>

	* e-util/Makefile.am (dist-hook): Require e-error-tool

2004-05-27  Rodney Dawes  <dobey@novell.com>

	* */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist"

svn path=/trunk/; revision=26114
2004-05-27 18:23:57 +00:00
Not Zed 7eaa6cfb91 use e-icon-factory sizes.
2004-05-25  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (pixcache[]): use e-icon-factory sizes.

svn path=/trunk/; revision=26071
2004-05-25 04:10:05 +00:00
Not Zed ce318c4d3a if we have a cached icon, use it, don't just ignore it! #58831.
2004-05-25  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (update): if we have a cached
        icon, use it, don't just ignore it!  #58831.

svn path=/trunk/; revision=26070
2004-05-25 03:24:01 +00:00
JP Rosevear a472a2df13 don't dist the error .h file
004-05-19  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't dist the error .h file

svn path=/trunk/; revision=25980
2004-05-19 16:56:35 +00:00
Not Zed a2a2f0b039 set the default for exit-unsaved to save, as in 1.4. #57995.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * mail-composer-errors.xml: set the default for exit-unsaved to
        save, as in 1.4.  #57995.

svn path=/trunk/; revision=25957
2004-05-18 09:13:35 +00:00
Not Zed 0e56658aaa fix for folder selector api change.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c (post_browser_clicked_cb): fix for folder
        selector api change.

svn path=/trunk/; revision=25949
2004-05-18 07:26:55 +00:00
Not Zed bc754690be add for translators.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * mail-composer-errors.xml.h: add for translators.

        * mail-composer-errors.xml: renamed from xml.in file.

        * Makefile.am: Fix for i18n build stuff.

svn path=/trunk/; revision=25866
2004-05-12 03:32:39 +00:00
Jeffrey Stedfast 3957b2480e Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't use
2004-05-11  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (build_message): Use CAMEL_EXCEPTION_SYSTEM
	instead of '1', also don't use camel_exception_setv() if we aren't
	using the printf-style arguments. Just use camel_exception_set() -
	safer anyway, since then we don't have to worry about translated
	strings containing printf-style formatters that could break stuff.

svn path=/trunk/; revision=25861
2004-05-11 21:25:17 +00:00
Enver ALTIN 48a354b2a2 Fixing parts of #53466.
2004-05-08  Enver ALTIN <enver.altin@frontsite.com.tr>

        * e-msg-composer.c: Fixing parts of #53466.

svn path=/trunk/; revision=25829
2004-05-10 08:10:12 +00:00