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-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-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 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-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-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-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-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
** 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-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
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 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-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-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-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-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-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-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-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-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-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-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-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-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