Commit Graph

829 Commits

Author SHA1 Message Date
a4922ca221 Fix for Bug 273921
svn path=/trunk/; revision=32364
2006-07-21 05:41:16 +00:00
9b1edd91d3 Fix for memory leak in bug #209254
svn path=/trunk/; revision=32337
2006-07-18 09:19:23 +00:00
17a2e89e3b Fix for bug #209254
svn path=/trunk/; revision=32328
2006-07-17 11:20:38 +00:00
b8daa5dc7c Fix for bug #209254
svn path=/trunk/; revision=32316
2006-07-14 06:55:19 +00:00
ed653efeb0 fixed
svn path=/trunk/; revision=32195
2006-06-26 15:43:50 +00:00
8b8668d8c5 Fixes bug #177416 on bnc initialise type to "" and not NULL.
2006-06-12  Parthasarathi Susarla <sparthasarathi@novell.com>

	Fixes bug #177416 on bnc
	* e-msg-composer.c: (attachment_guess_mime_type):
	initialise type to "" and not NULL.

svn path=/trunk/; revision=32113
2006-06-12 11:44:04 +00:00
b8b49de6ce If 'str' is empty, continue immediately rather than trying to parse it a
2006-05-26  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (drop_action): If 'str' is empty, continue
	immediately rather than trying to parse it a URL.

svn path=/trunk/; revision=32040
2006-05-26 20:19:01 +00:00
f9a13fe3bb Instead of g_free()ing 'str' in the if and else blocks, just g_free it
2006-05-25  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer.c (drop_action): Instead of g_free()ing 'str' in
	the if and else blocks, just g_free it after the if-else block.

svn path=/trunk/; revision=32033
2006-05-25 18:15:54 +00:00
b5a0acb45a Replace 'if (!filename)' with 'if (filename)', fixes a bug in Srini's
2006-05-25  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer-select-file.c (select_attach_response): Replace
	'if (!filename)' with 'if (filename)', fixes a bug in Srini's
	patch.

svn path=/trunk/; revision=32032
2006-05-25 18:09:36 +00:00
4b1250f0ca Set the visible field to FALSE.
2006-05-25  Jeffrey Stedfast  <fejj@novell.com>

	* e-msg-composer-hdrs.c (header_new_recipient): Set the visible
	field to FALSE.

svn path=/trunk/; revision=32031
2006-05-25 18:05:31 +00:00
1999fbd962 fixed ChangeLog formatting
svn path=/trunk/; revision=32030
2006-05-25 18:04:05 +00:00
24368cf92d Added code to save/attach files/mails/events to/from remote shares
svn path=/trunk/; revision=32023
2006-05-25 06:04:48 +00:00
de728a10ee Committing fix for bug #333971
svn path=/trunk/; revision=31897
2006-04-26 08:28:55 +00:00
321d929aba Added ENameSelectorList support.
svn path=/trunk/; revision=31875
2006-04-24 06:46:33 +00:00
6761feca24 ** Fixes bug #333213 According to POSIX.1 specfication, if iconv()
2006-04-05  Simon Zheng  <simon.zheng@sun.com>

        ** Fixes bug #333213
        * e-msg-composer.c: (best_encoding): According to POSIX.1
        specfication, if iconv() encounts non-identical characters, it'll
        return the number of non-identical conversation performed. i.e.
        returning positive value means exception as well as -1.

svn path=/trunk/; revision=31766
2006-04-05 03:34:23 +00:00
ab382e9611 ** Fix for bug #268584
2006-03-20  Boby Wang <boby.wang@sun.com>

        ** Fix for bug #268584

        * e-msg-composer-attachment.glade:
        * e-msg-composer-select-file.c: (get_selector):
        set the accelerate key for "Suggest Suggest automatic display of
        attachment"

svn path=/trunk/; revision=31721
2006-03-20 06:18:45 +00:00
e58a0e7498 Committing Rohini's patch for bug #324742.
svn path=/trunk/; revision=31576
2006-02-24 08:15:43 +00:00
0cea641045 Return a value... Why are blatant errors like this just warnings in gcc?
2006-02-16  Tor Lillqvist  <tml@novell.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_to)
	(e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): Return
	a value... Why are blatant errors like this just warnings in gcc?

svn path=/trunk/; revision=31533
2006-02-15 23:33:45 +00:00
02f7d08e8a Factorize some code.
* e-msg-composer-hdrs.c: (e_msg_composer_hdrs_get_internal),
        (e_msg_composer_hdrs_get_to), (e_msg_composer_hdrs_get_cc),
        (e_msg_composer_hdrs_get_bcc): Factorize some code.

svn path=/trunk/; revision=31465
2006-02-09 17:35:43 +00:00
e1277c6691 fixing a patch to again fix bug 325276.
2006-02-07  Andre Klapper <a9016009@gmx.de>
	* mail-composer.error.xml: fixing a patch to again fix bug 325276.

svn path=/trunk/; revision=31431
2006-02-07 12:36:57 +00:00
04b418a507 Use guint for 1 bit bitfield, use g_slist_delete_link instead of
2006-01-24  Kjartan Maraas  <kmaraas@gnome.org>

	* e-msg-composer-hdrs.c: (account_removed_cb),
	(header_new_recipient): Use guint for 1 bit bitfield, use
	g_slist_delete_link instead of g_slist_remove_link+g_slist_free1,
	Remove some unused vars.
	* e-msg-composer.c: (build_message), (set_editor_text),
	(autosave_manager_query_load_orphans),
	(e_msg_composer_new_with_message): Remove unused vars and rename
	a local variable with a name clash.
	* evolution-composer.c: (evolution_composer_init): Remove unused var
	* listener.c: Remove stray semi colon.

svn path=/trunk/; revision=31358
2006-01-30 09:51:18 +00:00
d34fc62f9f 2006-1-15 Srinivasa Ragavan <sragavan@novell.com
** Committing the patch for Johnny Jacob

	** Fixes bug #323127
	* e-msg-composer.c (create_composer) : Add a Expander
	for attachments bar.
	(show_attachments): Show/Hide attachment bar.
	(attachment_expander_activate_cb) : Event handler for attachment bar.

svn path=/trunk/; revision=31184
2006-01-15 16:04:20 +00:00
8c698f1318 ** Fixes bug #326378
2006-01-13  Srinivasa Ragavan  <sragavan@novell.com>

	** Fixes bug #326378

	* mail-composer.error.xml: Added mnemonics to Recover, Do not Recover
	buttons in composer.

svn path=/trunk/; revision=31175
2006-01-13 16:43:50 +00:00
19d9bd5945 Committing Rohini's patch.
2006-01-10  Srinivasa Ragavan <sragavan@novell.com>

	* Committing Rohini's patch.

svn path=/trunk/; revision=31113
2006-01-10 07:49:54 +00:00
2dabbc64ae use libedataserver/e-account.h instead of e-util/e-account.h. use
2006-01-06  Simon Zheng <simon.zheng@sun.com>

        * e-msg-composer-hdrs.h: use libedataserver/e-account.h
        instead of e-util/e-account.h.
        * evolution-composer.c: use libedataserver/e-account-list.h
        instead of e-util/e-account-list.h.

svn path=/trunk/; revision=31074
2006-01-06 06:40:44 +00:00
4b1a6066dc s/don't/do not/ string changes. Fixes #325276.
2006-01-01 Harish Krishnaswamy <kharish@novell.com>

	* s/don't/do not/ string changes. Fixes #325276.

svn path=/trunk/; revision=31003
2006-01-01 12:34:48 +00:00
0ef40d19c2 Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-msg-composer-attachment.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.

svn path=/trunk/; revision=30832
2005-12-17 17:22:49 +00:00
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
1065638cd6 Committed Johnny's patch.
2005-12-14  Srinivasa Ragavan <sragavan@novell.com>

	* Committed Johnny's patch.

svn path=/trunk/; revision=30775
2005-12-14 14:04:50 +00:00
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
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
4172f09580 Include e-util-private.h to get redefinition of compile-time pathnames as
2005-11-26  Tor Lillqvist  <tml@novell.com>

	* e-msg-composer-attachment.c: Include e-util-private.h to get
	redefinition of compile-time pathnames as calls to functions on
	Windows. Construct the pathnames of files and directories under
	the installation prefix at run-time to enable install-anywhere on
	Windows. No effect on functionality on Unix.

svn path=/trunk/; revision=30681
2005-11-26 02:43:22 +00:00
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
0776ea1d51 Comitted NotZed's patch given on #314701
2005-10-21 Vivek Jain <jvivek@novell.com>

	Comitted NotZed's patch given on #314701

	** See bug #314701.
	* e-msg-composer-hdrs.c (get_account_store_url): don't dereference
	a null url or create an empty one.

svn path=/trunk/; revision=30545
2005-10-21 05:10:07 +00:00
6f39b0448b Little oeps
svn path=/trunk/; revision=30534
2005-10-19 11:05:27 +00:00
5a2d1c1777 Little oeps
svn path=/trunk/; revision=30533
2005-10-19 11:01:37 +00:00
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
ad4b47a0b4 Reverting the last commit
2005-10-05  Parthasarathi Susarla <sparthasarathi@novell.com>

	Reverting the last commit

svn path=/trunk/; revision=30493
2005-10-05 10:38:01 +00:00
e37cfb0e82 ** See bug #315987
2005-10-05  Parthasarathi Susarla <sparthasarathi@novell.com>

	** See bug #315987

	* e-msg-composer-hdrs.c: (create_from_optionmenu):
	Load the account info in the From header only if the
	account is enabled

svn path=/trunk/; revision=30490
2005-10-05 08:07:12 +00:00
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
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
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
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
77beb76c3d C99 keyword 'inline' could not been used as variable name.
2005-07-27  Mengjie Yu  <meng-jie.yu@sun.com>

        * e-msg-composer-select-file.h:
        C99 keyword 'inline' could not been used as variable name.

        Fixes #310198

svn path=/trunk/; revision=29900
2005-07-27 10:55:23 +00:00
66058f52b7 Fix build breakage due to extra whitespace after a backslash.
2005-07-26  Jody Goldberg <jody@gnome.org>

	* Makefile.am : Fix build breakage due to extra whitespace after a
	  backslash.

svn path=/trunk/; revision=29894
2005-07-26 23:00:01 +00:00
ee9f341b5b Fix make distcheck issues.
2005-07-26  Harish Krishnaswamy  <kharish@novell.com>

* Makefile.am: Fix make distcheck issues.

svn path=/trunk/; revision=29891
2005-07-26 16:38:04 +00:00
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
ae18a1bad1 Use camel_object_unref instead of g_object_unref.
2005-07-21  Shreyas Srinivasan  <sshreyas@novell.com>

	* e-msg-composer-hdrs.c (account_can_send): Use camel_object_unref
	instead of g_object_unref.

svn path=/trunk/; revision=29823
2005-07-21 07:00:54 +00:00
eebcdb93a5 unref the store which was being leaked.
2005-07-15  Shreyas Srinivasan  <sshreyas@novell.com>

	* e-msg-composer-hdrs.c: (account_can_send) unref the store which
	was being leaked.

svn path=/trunk/; revision=29778
2005-07-15 10:23:16 +00:00
bfa2e64242 add casts in previous patch to fix warnings. (account_can_send): fix the
2005-07-14  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c (address_button_clicked_cb): add casts in
        previous patch to fix warnings.
        (account_can_send): fix the permission mode name.

svn path=/trunk/; revision=29766
2005-07-14 03:15:13 +00:00