Commit Graph

526 Commits

Author SHA1 Message Date
Tor Lillqvist 82e65517b6 Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-msg-composer.c: Include <gtk/gtk.h> instead of attempting to
	hand-pick individual GTK headers. Use gstdio wrappers. Use GDir
	instead of dirent. Use g_mkstemp() instead of mkstemp(). Construct
	xml file names at run-time.
	(autosave_manager_unregister): Close file before unlinking so we
	don't leave stray autosave files laying around on Win32.

svn path=/trunk/; revision=30819
2005-12-17 14:14:07 +00:00
Parthasarathi Susarla 1aacb36b7b Add support for setting priority of a message.
2005-12-07  Parthasarathi Susarla <sparthasarathi@novell.com>

	* e-msg-composer.[ch]:
	(build_message):
	(menu_insert_priority_cb):
	(setup_ui):
	(e_msg_composer_get_priority):
	(e_msg_composer_set_priority):
	Add support for setting priority of a message.

svn path=/trunk/; revision=30734
2005-12-07 08:29:51 +00:00
Parthasarathi Susarla 3fa50f34f7 ** See bug #322863 Check if the account indeed exists before
2005-12-05  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug #322863
	* e-msg-composer.c: (e_msg_composer_new_with_message):
	Check if the account indeed exists before freeing/duping it.
	The account would typically not exist, when redirecting mails
	originated from other accounts which are not configured in ones
	machine.

svn path=/trunk/; revision=30718
2005-12-05 08:31:03 +00:00
Parthasarathi Susarla a0ce7e9771 use composer->priv->charset instead of p->charset. This fixes a crash
2005-10-22  Parthasarathi Susarla <sparthasarathi@novell.com>

	* e-msg-composer.c: (get_file_content):
	use composer->priv->charset instead of p->charset. This fixes
	a crash

svn path=/trunk/; revision=30554
2005-10-22 08:16:44 +00:00
Philip Van Hoof 6f39b0448b Little oeps
svn path=/trunk/; revision=30534
2005-10-19 11:05:27 +00:00
Philip Van Hoof 5a2d1c1777 Little oeps
svn path=/trunk/; revision=30533
2005-10-19 11:01:37 +00:00
Philip Van Hoof 656934c7ff composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,
2005-10-19  Philip Van Hoof <pvanhoof@gnome.org>
        composer/e-msg-composer-select-file.c,
	composer/e-msg-composer.c, composer/e-msg-composer.h,
	composer/evolution-composer.c, composer/listener.c,
	mail/em-composer-utils.c,
	plugins/mailing-list-actions/mailing-list-actions.c:
	data hiding

svn path=/trunk/; revision=30532
2005-10-19 10:54:27 +00:00
Srinivasa Ragavan a4be2cee1e ** fixes bug #316937
2005-10-04  Srinivasa Ragavan <sragavan@novell.com>

	** fixes bug #316937

	* e-msg-composer.c (handle_mailto): Shows the attachments
	when added via a mailto: url.a

svn path=/trunk/; revision=30485
2005-10-04 08:19:57 +00:00
Parthasarathi Susarla c15acafc2c ** See bug 317337
2005-09-29  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug 317337

	* e-msg-composer.c: (e_msg_composer_new_with_message):
	Set the proper account name in account_name, so that
	the from header is set properly.

svn path=/trunk/; revision=30419
2005-09-29 14:51:34 +00:00
Srinivasa Ragavan 26da038f6d Show the bar depending on the number of attachments.
2005-08-22  Srinivasa Ragavan <sragavan@novell.com>

	* e-msg-composer.c (drop_action): Show the bar depending on the
	number of attachments.

	* e-msg-composer-select-file.c (select_attach_response): Show the bar
	depending on the number of attachments.

	** Fixes the bug #313083

svn path=/trunk/; revision=30233
2005-08-24 04:19:01 +00:00
Not Zed 12beb061d3 only define skip_content: if it is used. (menu_file_add_attachment_cb):
2005-08-23  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (build_message): only define skip_content: if
        it is used.
        (menu_file_add_attachment_cb): fixed the warning.  Boy, what on
        earth is this thing doing!
        (add_to_bar): fix signature to match code.
        (emcab_add): more warning fixes for bizarre functions.
        (emcab_popup_position): more casting crap

        * e-msg-composer-hdrs.c (addressbook_dialog_response): Remove
        unused.
        (account_can_send): make this static, and define before first use.
        : include missing e-name-selector-entry header.
        (create_headers): fix casts/style
        (e_msg_composer_hdrs_set_to, e_msg_composer_hdrs_set_cc)
        (e_msg_composer_hdrs_set_bcc, e_msg_composer_hdrs_get_to)
        (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): remove
        unused str.  lazy addressbook hackers!

svn path=/trunk/; revision=30218
2005-08-24 03:08:37 +00:00
Srinivasa Ragavan 6a1efa3030 Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for the
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* e-message-composer.c: Added Shortcut for Save Draft
	(Ctrl+Shift+s) and a toolbar button for the same.
	Fixes #219242. Commited Devasish patch.

svn path=/trunk/; revision=29872
2005-07-25 05:03:32 +00:00
Kjartan Maraas bb714f46f7 Don't leak the file name here.
2005-07-13  Kjartan Maraas  <kmaraas@gnome.org>

	* e-msg-composer-select-file.c: (select_attach_response): Don't
	leak the file name here.

svn path=/trunk/; revision=29757
2005-07-13 10:37:16 +00:00
Srinivasa Ragavan c3902df124 Removed em-attachment* from the build. Remains in the CVS, just incase to
2005-07-11  Srinivasa Ragavan <sragavan@novell.com>

	* Makefile.am: Removed em-attachment* from the build.
	Remains in the CVS, just incase to revert in case of issues.
	Should go away after 2.3.5.

	* e-msg-composer.c: (add_inlined_images) (build_message) (menu_file_close_cb)
	(setup_ui) (attach_message) (drop_action) (e_msg_composer_unrealize)
	(create_composer) (handle_mailto) (e_msg_composer_add_header)
	Changed the code to use e_attachment_* from em_attachment*

	* e-msg-composer.h: Added removed old header includes

svn path=/trunk/; revision=29716
2005-07-11 11:26:31 +00:00
Kaushal Kumar df07f02cae Added widgets in INCLUDES.
2005-06-23  Kaushal Kumar  <kakumar@novell.com>

        * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
        addressbook/gui/search/Makefile.am,
        plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.

        Updated the include paths to use misc instead of widgets/misc.

svn path=/trunk/; revision=29574
2005-06-23 09:11:11 +00:00
Kaushal Kumar 27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
Srinivasa Ragavan c2e8785c01 Fixed to show the attachment bar, when a message is forwarded
2005-06-03  Srinivasa Ragavan <sragavan@novell.com>

	* e-msg-composer.c (e_msg_composer_attach): Fixed to show the
	attachment bar, when a message is forwarded

svn path=/trunk/; revision=29453
2005-06-03 09:52:02 +00:00
Srinivasa Ragavan 64e2180e3e Show attachment bar when attachments are added e-msg-composer.c
2005-06-03  Srinivasa Ragavan <sragavan@novell.com>

	* e-msg-composer-select-file.c (select_attach_response): Show
	attachment bar when attachments are added
	e-msg-composer.c (attachment_bar_changed_cb), (drop_action),
	(drag_data_received), (create_composer): Added support to
	DnD targets to the composer GtkHTML window. Also show the
	attachment bar when there are attachments and hide when all
	attachments are removed.

svn path=/trunk/; revision=29451
2005-06-03 04:20:57 +00:00
Srininvasa Ragavan b25b709bf7 Added attachment of remote URL. The dnd of url, downloads the files and
2005-05-23  Srininvasa Ragavan <sragavan@novell.com>

	* e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h,
	  e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c,
  	  e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL.
  	  The dnd of url, downloads the files and attaches to the mail.

svn path=/trunk/; revision=29399
2005-05-23 07:10:03 +00:00
Srinivasa Ragavan 903becfede composer/e-message-composer.c calendar/gui/dialogs/comp-editor.c
2005-05-16  Srinivasa Ragavan <sragavan@novell.com>

	* composer/e-message-composer.c
	* calendar/gui/dialogs/comp-editor.c
	* ui/evolutoin-message-composer.xml
	Removed the expander for the attachment bar and made visible
	always.

svn path=/trunk/; revision=29373
2005-05-16 11:39:08 +00:00
Not Zed 920c9847e9 moved e-error to e-util.
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * moved e-error to e-util.

svn path=/trunk/; revision=29365
2005-05-16 06:14:53 +00:00
Radek Doulik 98016cc549 put back e_msg_composer_set_enable_autosave which was removed by mistake
svn path=/trunk/; revision=29306
2005-05-06 09:33:54 +00:00
Radek Doulik ff85fafd5e removed old unused function which was using low level gtkhtml APIs
2005-05-05  Radek Doulik  <rodo@site>

	    * e-msg-composer.c (e_msg_composer_ignore): removed old unused
	    function which was using low level gtkhtml APIs

svn path=/trunk/; revision=29273
2005-05-05 11:22:50 +00:00
Radek Doulik 4e0c35255b block gtkhtml's selection so that we don't set primary X selection
2005-04-06  Radek Doulik  <rodo@novell.com>

	* e-msg-composer.c (delete_old_signature): block gtkhtml's
	selection so that we don't set primary X selection

	Fixes #36972

svn path=/trunk/; revision=29192
2005-04-08 13:56:28 +00:00
ERDI Gergo ba7ec805fc implement read-receipt functionality.
2005-04-05  ERDI Gergo  <cactus@cactus.rulez.org>

        * e-msg-composer.c: implement read-receipt functionality.

svn path=/trunk/; revision=29183
2005-04-08 04:33:31 +00:00
Hans Petter Jansson 66a51be2a5 Set up c/c/p for To: Cc: Bcc: and Post To: entries too.
2005-03-15  Hans Petter Jansson  <hpj@novell.com>

	* e-msg-composer.c (setup_cut_copy_paste): Set up c/c/p for To: Cc:
	Bcc: and Post To: entries too.

svn path=/trunk/; revision=29027
2005-03-15 21:05:52 +00:00
Not Zed 65d329aa11 ** See bug #66592
2005-03-03  Not Zed  <NotZed@Ximian.com>

        ** See bug #66592

        * e-msg-composer.c (e_msg_composer_get_message_draft): set the uid
        for the x-evolution-account, not the account name, which can
        change.
        (e_msg_composer_new_with_message): find the account by uid first,
        fallback to name search.

svn path=/trunk/; revision=28949
2005-03-04 03:15:21 +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
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
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
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
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
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
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