Commit Graph

803 Commits

Author SHA1 Message Date
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
567b310cb1 ** See bug #309869
2005-07-13 S.Antony Vincent Pandian <santony@gmail.com>

        ** See bug #309869

        * e-msg-composer-hdrs.c: moves the focus to the corresponding
        header buttons' entry fields.

svn path=/trunk/; revision=29763
2005-07-14 02:09:51 +00:00
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
f0f3975fa8 There are no camel or addressbook/backend directories in evolution.
2005-07-13  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (INCLUDES): There are no camel or
	addressbook/backend directories in evolution.

svn path=/trunk/; revision=29755
2005-07-13 10:17:39 +00:00
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
ed5e4061f4 Take into account store permissions (Read Only). These are proxy specific
2005-07-10  Shreyas Srinivasan <sshreyas@novell.com>

	* e-msg-composer-hdrs.c: Take into account store
	permissions (Read Only). These are proxy specific as of now.

svn path=/trunk/; revision=29699
2005-07-10 10:06:41 +00:00
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
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
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
c19b2aef4b hack up so we dont include mail-component.h anymore, since it now relies
2005-06-03  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c: hack up so we dont include
        mail-component.h anymore, since it now relies on files generated
        in mail/

svn path=/trunk/; revision=29452
2005-06-03 09:05:43 +00:00
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
7c9f51f7cc e-msg-composer-attachment.c
2005-05-24  Srinivasa Ragavan <sragavan@novell.com>
	* e-msg-composer-attachment.c (e_msg_composer_attachment_new_from_mime_part);
	Fixed a bug, which considered forwarded mails as remote files.

svn path=/trunk/; revision=29416
2005-05-27 04:03:18 +00:00
179aec8eac Fixed a potential memory leak.
2005-05-24  Srinivasa Ragavan <sragavan@novell.com>

	* e-msg-composer-attachment.c (finalise): Fixed a potential memory
	  leak.

svn path=/trunk/; revision=29403
2005-05-24 04:26:34 +00:00
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
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
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
c3d13bf504 Set a mnemonic for the "Attach" button
2005-05-09  Rodney Dawes  <dobey@novell.com>

	* e-msg-composer-select-file.c (get_selector): Set a mnemonic for
	the "Attach" button

svn path=/trunk/; revision=29320
2005-05-09 15:09:39 +00:00
9dfbde97f5 Use "Attach" as the text for the "Open" action button in the file chooser
2005-05-06  Rodney Dawes  <dobey@novell.com>

	* e-msg-composer-select-file.c (get_selector): Use "Attach" as the
	text for the "Open" action button in the file chooser

svn path=/trunk/; revision=29309
2005-05-06 17:57:28 +00:00
581a7cd195 renamed from mail-errors.xml, add i18n tags, fix some whitespace issues.
2005-05-06  Not Zed  <NotZed@Ximian.com>

        * mail.error.xml: renamed from mail-errors.xml, add i18n tags, fix
        some whitespace issues.  Removed some unecessary translations.

svn path=/trunk/; revision=29307
2005-05-06 11:26:06 +00:00
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
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
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
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
b7f0753dbc ** See bug #73347
2005-03-16  Not Zed  <NotZed@Ximian.com>

        ** See bug #73347

        * mail-composer-errors.xml: set the default for auto-recover.

svn path=/trunk/; revision=29047
2005-03-17 02:12:44 +00:00
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
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
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