Commit Graph

969 Commits

Author SHA1 Message Date
42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
741307a930 Fix show CC/BCC text for Anjal depending on the visibility of the
widget.
2009-06-24 21:23:50 +05:30
ace3390de6 I was a bit over-keen in changing includes, revert this part. 2009-06-19 11:54:34 +02:00
235e390e77 Fix properly include paths, since this is one of our public headers 2009-06-19 11:43:56 +02:00
6b12be62e1 Fix coding style. 2009-06-13 22:51:11 -04:00
6ee3d89d0b Fix compiler warnings. 2009-06-13 22:44:46 -04:00
6a1c827891 Changes for Anjal: Pack Send/Save draft, instead of the combo box for
Icon view.
2009-06-11 16:45:40 +05:30
ac11f6a280 Fix Anjal's composer path. 2009-06-04 10:00:45 +05:30
5b1e05dbf5 Anjal stuff's for Evo. 2009-06-03 19:46:53 +05:30
32bb1e1650 More Anjal stuff for trunk. 2009-06-03 19:46:52 +05:30
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
75a36a295a Fix composer header regression caused by Anjal merge. 2009-05-26 22:55:38 -04:00
06563bd114 Remove Attach toolbar button from composer.
This was an oversight from the attachment UI rewrite.
2009-05-26 22:39:40 -04:00
05a85647b7 Fix compiler warnings in composer. 2009-05-25 23:24:45 -04:00
2087f385e5 Prefer icons from GTK's cache instead of our own. 2009-05-24 11:06:13 -04:00
9b0e9dc0ae Johnny's composer changes for Anjal. 2009-05-22 17:43:57 +05:30
a1f287ca6b Bug 274117 – Difficult to post a new message to newsgroups
Completely rewrite how composer headers are managed.  There's now two
sets of headers (with some overlap): one set is for sending an email
message, the other is for posting to a newsgroup.  The correct set of
headers is chosen on-the-fly based on the currently selected account
type.  The user's "view" preferences for these two sets are stored
separately, so that switching between an email account and a news
account will no longer stomp on your preferences.

This also eliminates the need for the "Post New Message to Folder" and
"Post a Reply" actions, so they've been removed.  Usenet users can now
just highlight a newsgroup in the folder tree and click New or Reply,
and the composer window will show the correct set of headers with the
Post-To field filled in automatically.

Comment #6 in the bug discusses other standard news reader behaviors we
still don't get right, particularly the missing "Followup To" header.
These will be dealt with separately.
2009-05-20 12:56:55 -04:00
152d43ec92 Bug 582744 – CC field autofill doesn't work for replies 2009-05-16 17:19:51 -04:00
edb65e9547 Move automatic CC/BCC handling to EComposerHeaderTable. 2009-05-16 16:56:14 -04:00
e4fa8fe104 Fix several types of pedantic compiler warnings. 2009-05-16 12:11:55 -04:00
ba2cf0efba Remove dead composer code. 2009-05-04 16:03:22 -04:00
6e72a236dc ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_add
According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to
the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a
timeout in seconds is desired.
2009-05-04 10:10:55 +05:30
d523f10dfe Use Behdad's brilliant git.mk to generate .gitignore files. 2009-05-02 11:37:10 -04:00
156dfd09d8 External Editor rewrite by Holger Macht. Fixes #567145 2009-04-28 20:40:26 +05:30
de003c135a Use consistent variable names for GtkUIManager 2009-04-27 20:27:02 -04:00
4449a34101 Commit the rest of the attachment UI rewrite
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
2009-04-27 15:36:19 -04:00
c8938bd337 Do not delete text lines on signature set in composer
** Fix for bug #553535

	* e-msg-composer.c: (is_top_signature), (get_signature_html),
	(set_editor_text), (e_msg_composer_show_sig_file): Do not eat
	lines of text when changing signature at top of the message.
	Add one extra empty line between the signature and the body
	of the mail when placing signature to the bottom.
2009-04-27 11:52:30 +02:00
035c9fbfa8 ** Remove a bunch of juvenile comments. Source code should look
2009-04-12  Matthew Barnes  <mbarnes@redhat.com>

	** Remove a bunch of juvenile comments.  Source code should
	   look professional, even if some developers are not.


svn path=/trunk/; revision=37514
2009-04-12 05:58:10 +00:00
1d70888451 ** Fix for bug #574680
2009-03-19  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #574680

	* e-msg-composer.c: (is_special_header): Function removed.
	* e-msg-composer.c: (e_msg_composer_new_with_message):
	Remove all headers except "References" and "In-Reply-To" when
	composing from an existing message.


svn path=/trunk/; revision=37462
2009-03-19 10:16:14 +00:00
9b965c0767 ** Fix for bug #551470
2009-02-25  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #551470

	* e-composer-private.h:
	* e-msg-composer.c: (add_signature_delim), (get_signature_html),
	(set_editor_text): Do not force adding "-- \n" above the signature.


svn path=/trunk/; revision=37322
2009-02-25 10:39:42 +00:00
73ece6ee4b ** Fix for bug #567089
2009-02-12  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #567089

	* e-msg-composer.c: (get_signature_html):
	Do not crash when no From set yet.


svn path=/trunk/; revision=37251
2009-02-12 10:32:23 +00:00
2b820fc4e2 New convenience function calls gtk_show_uri() and displays an error dialog
2009-01-11  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-util.c (e_show_uri):
	New convenience function calls gtk_show_uri() and displays an
	error dialog if the URI cannot be shown.

	* addressbook/gui/widgets/eab-contact-display.c
	(eab_uri_popup_link_open), (on_link_clicked):
	* calendar/gui/e-cal-component-preview (on_link_clicked):
	* calendar/gui/e-cal-component-memo-preview (on_link_clicked):
	* calendar/gui/e-memo-table.c (open_url_cb):
	* calendar/gui/dialogs/comp-editor.c (open_attachment):
	* composer/e-msg-composer.c (msg_composer_link_clicked):
	* mail/em-folder-view.c (emfv_format_link_clicked):
	* mail/em-popup.c (emp_uri_popup_link_open):
	* plugins/mailing-list-actions/mailing-list-actions.c
	(emla_list_action_do):
	* shell/e-shell-window-commands.c (command_open_faq):
	* widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb):
	* widgets/misc/e-url-entry.c (button_clicked_cb):
	Call e_show_uri() instead of gnome_url_show().

	* e-util/e-error.c (ee_response):
	Call e_display_help() instead of gnome_url_show().

	* mail/em-config.c:
	* mail/em-menu.c:
	Remove unneeded #include <libgnome/gnome-url.h>


svn path=/trunk/; revision=37037
2009-01-11 13:55:04 +00:00
607ce3802e Reviewed by Matthew Barnes <mbarnes@redhat.com>
2009-01-09  Takao Fujiwara  <takao.fujiwara@sun.com>

	Reviewed by Matthew Barnes  <mbarnes@redhat.com>

	* Fix for bug #566011

	* addressbook/gui/component/Makefile.am:
	* addressbook/gui/component/addressbook-component.c
	(addressbook_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* calendar/gui/Makefile.am:
	* calendar/gui/calendar-component.c (calendar_component_class_init):
	* calendar/gui/dialogs/comp-editor.c:
	* calendar/gui/memos-component.c (memos_component_class_init):
	* calendar/gui/tasks-component.c (tasks_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* composer/e-composer-header-table.c:
	* composer/e-composer-private.h:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.

	* mail/mail-component.c (mail_component_class_init):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* shell/e-user-creatable-items-handler.c
	(e_user_creatable_items_handler_class_ini):
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h> and
	add bindtextdomain().

	* widgets/misc/e-charset-picker.c:
	* widgets/misc/e-signature-combo-box.c:
	Include <glib/gi18n-lib.h> instead of <glib/gi18n.h>.


svn path=/trunk/; revision=37021
2009-01-09 07:36:29 +00:00
95132e70be Change "Save Draft" menu item to "Save as Draft" to be consistent with
2008-12-18  Matthew Barnes  <mbarnes@redhat.com>

	* e-composer-actions.c:
	Change "Save Draft" menu item to "Save as Draft" to be consistent
	with "Save as Template".  I like that better.  But leave the toolbar
	button alone.


svn path=/trunk/; revision=36915
2008-12-18 12:31:36 +00:00
c24b6b2f71 ** Fix for bug #564248
2008-12-16  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #564248

	* e-msg-composer.c: (msg_composer_paste_clipboard):
	Attach images pasted from a clipboard.

Note: Requires at least gtkhtml revision 9067.

svn path=/trunk/; revision=36906
2008-12-16 12:57:38 +00:00
16f4e41132 ** Fixes bug #562450
2008-12-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #562450

	* composer/e-msg-composer.c (handle_multipart_signed):
	Fix a typo that broke "Edit as New Message" for signed messages.


svn path=/trunk/; revision=36869
2008-12-12 03:21:51 +00:00
8889652854 ** Fixes bug #562886
2008-12-04  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #562886

	* composer/e-msg-composer (handle_mailto):
	Don't double-decode attachment URIs.  Also, parse &amp; correctly.


svn path=/trunk/; revision=36834
2008-12-05 04:22:08 +00:00
7dde4c5626 ** Fix for bug #559701
2008-11-07  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #559701

	* e-msg-composer.c: (e_load_spell_languages): Don't save when its
	NULL.



svn path=/trunk/; revision=36775
2008-11-12 06:23:20 +00:00
3849f9da5a ** Fixes part of bug #559371
2008-11-05  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #559371

	* composer/e-msg-composer.c (e_load_spell_languages):
	New function loads a list of GtkhtmlSpellLanguage structs from
	GConf, taking care of details like converting language codes to
	structs and ensuring the returned list is non-empty.

	* composer/e-msg-composer.c (e_save_spell_languages):
	New function saves a list of GtkhtmlSpellLanguage structs to
	GConf, taking care of details like converting the structs to
	language codes.

	* composer/e-msg-composer.c (msg_composer_constructor):
	* mail/em-composer-prefs.c (spell_language_save), (spell_setup):
	Simplify the logic by using e_load_spell_languages() and
	e_save_spell_languages().


svn path=/trunk/; revision=36743
2008-11-05 16:16:13 +00:00
7007a0191d ** Fixes bug #554450
2008-11-04  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #554450

	* composer/e-msg-composer.c (msg_composer_init):
	Get drag-and-drop to the attachment bar working again, but see
	my note in the source code.  I'm still not sure why it broke.


svn path=/trunk/; revision=36741
2008-11-04 20:57:35 +00:00
2f84127ab6 ** Fixes bug #559028
2008-11-02  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #559028

	* composer/e-msg-composer.c (msg_composer_key_press_event):
	Skip over the style toolbar when tabbing in reverse.


svn path=/trunk/; revision=36720
2008-11-03 04:14:33 +00:00
df55bc8beb License Changes
svn path=/trunk/; revision=36693
2008-10-29 10:44:21 +00:00
f2bbac0d5f ** Updated fix for bug #555775
2008-10-13  Bharath Acharya  <abharath@novell.com>

        ** Updated fix for bug #555775

        * e-composer-private.c: (e_composer_private_init): Reverting a 
        hunk from the previous patch as suggested by Matthew Barnes.

svn path=/trunk/; revision=36605
2008-10-13 03:31:48 +00:00
f1d75515a8 ** Fix for bug #555775
2008-10-10  Bharath Acharya  <abharath@novell.com>

        ** Fix for bug #555775

        * e-composer-private.c: (e_composer_private_init): Include 
        e-util-private.h for Win32 redefinition of EVOLUTION_UIDIR and
        build the filename using it.

svn path=/trunk/; revision=36587
2008-10-10 09:42:29 +00:00
676a02bcd1 ** Fix for bug #554664
2008-10-03  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #554664

	* e-composer-actions.c: (action_attach_cb):
	Call attach_remote_file when knows the URI points to it.


svn path=/trunk/; revision=36549
2008-10-03 15:39:45 +00:00
77ff19dd83 ** Fix for bug #554418
2008-10-01  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #554418

	* e-util/e-util.h: (e_util_guess_mime_type):
	* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
	the file content only when permitted by the caller, otherwise
	check based on the filename only, where it fallbacks if file
	content guess fails.

	* mail/em-utils.c: (em_utils_snoop_type):
	* mail/em-popup.c: (emp_standard_menu_factory):
	Guess mime_type based on the filename only.

	* composer/e-msg-composer.c: (handle_uri),
	(e_msg_composer_add_inline_image_from_file): Guess mime_type based
	on the file content, if failed, then on the filename.

	* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
	Allow guessing mime_type based on the file content.

	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
	Allow/disallow guessing of the mime_type based on the file content.


svn path=/trunk/; revision=36529
2008-10-01 12:29:46 +00:00
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
eb725acfbf ** Fix for bug #553148
2008-09-25  Philip Withnall  <philip@tecnocode.co.uk>

	** Fix for bug #553148

	* addressbook/gui/contact-editor/contact-editor.glade:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* composer/mail-composer.error.xml:
	* 
plugins/groupwise-account-setup/org-gnome-gw-account-setup.eplug.xml:
	* plugins/groupwise-features/org-gnome-compose-send-options.xml:
	* 
plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml:
	Standardise "GroupWise" usage in translatable strings.


svn path=/trunk/; revision=36453
2008-09-25 17:04:44 +00:00