Commit Graph

696 Commits

Author SHA1 Message Date
cc309ba614 Update the composer to use the icon theme via the EIconFactory object in
2004-04-19  Michael Terry  <mike@mterry.name>

	* e-msg-composer-select-file.c:
	* e-msg-composer.c: Update the composer to use the icon theme via
	the EIconFactory object in e-util

svn path=/trunk/; revision=25516
2004-04-19 15:20:26 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
f57b228500 Same idea here as with build_mesage(), don't convert th gconf charset
2004-04-15  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (attach_to_multipart): Same idea
	here as with build_mesage(), don't convert th gconf charset
	setting to the iconv name before setting it on the mime part.

	* e-msg-composer.c (best_charset): Now returns a malloc'd string
	bufefr containing the charset that has NOT been converted to the
	iconv name. This is important in order to avoid using the iconv
	charset name which may or may not necessarily be the IANA blessed
	name.
	(composer_get_default_charset_setting): Changed to always return
	the actual value in the settings (eg. don't return the iconv
	name).
	(build_message): Updated for changes to best_charset(). Set the
	actual charset name as the charset param and then get the
	iconv_charset from that. Use iconv_charset everywhere else.
	(get_file_content): Updated for changes to
	get_default_charset_setting().
	(setup_ui): Same.

svn path=/trunk/; revision=25487
2004-04-15 18:55:33 +00:00
d06dd98d77 To be on the safe side (even though the real bug behind bug #51924 can't
2004-04-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (get_file_content): To be on the safe side
	(even though the real bug behind bug #51924 can't happen here),
	protect against adding a NULL charset filter tot he filtered
	stream.

svn path=/trunk/; revision=25442
2004-04-13 18:02:30 +00:00
4356297138 add missing debug wrapper back.
--Larry

svn path=/trunk/; revision=25434
2004-04-13 14:37:45 +00:00
badc5897b0 accept text/calendar drops.
2004-04-13  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (drag_data_received): accept text/calendar
	drops.

svn path=/trunk/; revision=25433
2004-04-13 14:20:54 +00:00
cb3a5cdddc EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* e-msg-composer-hdrs.c (set_recipients_from_destv):
	EABDestination -> EDestination.
	(e_msg_composer_hdrs_to_message_internal): same.
	(e_msg_composer_hdrs_set_to): same.
	(e_msg_composer_hdrs_set_cc): same.
	(e_msg_composer_hdrs_set_bcc): same.
	(e_msg_composer_hdrs_get_to): same.
	(e_msg_composer_hdrs_get_cc): same.
	(e_msg_composer_hdrs_get_bcc): same.
	(e_msg_composer_hdrs_get_recipients): same.

	* e-msg-composer-hdrs.h: convert prototypes such that
	EABDestination -> EDestination.

	* e-msg-composer.h: convert prototypes such that EABDestination ->
	EDestination.

	* e-msg-composer.c (destination_list_to_vector_sized): new
	function, ripped from EABDestination, as this code is the only
	consumer.
	(destination_list_to_vector): same.
	(update_auto_recipients): EABDestination -> EDestination.
	(e_msg_composer_new_with_message): same.
	(add_recipients): same.
	(handle_mailto): same.
	(e_msg_composer_set_headers): same.
	(e_msg_composer_get_recipients): same.
	(e_msg_composer_get_to): same.
	(e_msg_composer_get_cc): same.
	(e_msg_composer_get_bcc): same.

	* evolution-composer.c (corba_recipientlist_to_destv):
	EABDestination -> EDestination.
	(impl_Composer_set_headers): same.

svn path=/trunk/; revision=25393
2004-04-09 17:31:24 +00:00
e716c8bc98 Reversed the logic for setting the signature menu to "None" (only set it
2004-04-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (sig_select_item): Reversed the logic for
	setting the signature menu to "None" (only set it to "None" if a
	signature *isn't* set, doh!)
	(prepare_signatures_menu): Removed. Combined with
	setup_signature_menu().

svn path=/trunk/; revision=25355
2004-04-07 18:29:10 +00:00
ff9f3a465f ops, saved it this time
svn path=/trunk/; revision=25341
2004-04-06 18:21:14 +00:00
c1cbf40e62 (set_editor_text): added pad_signature parameter to tell if we
want to pad signature with <BR> (used when creating new mail, in
	other cases we don't want to pad the signature)

svn path=/trunk/; revision=25340
2004-04-06 18:18:51 +00:00
e39f992205 added empty hbox so that we have 12pxs between account setting and
2004-04-06  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (prepare_signatures_menu): added empty hbox so
	that we have 12pxs between account setting and signature setting

	Fixes #42866

svn path=/trunk/; revision=25339
2004-04-06 18:09:41 +00:00
fed285f6e5 Revert Radek's last change to fix bug #56381.
2004-04-02  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (set_editor_text): Revert Radek's last change
	to fix bug #56381.

svn path=/trunk/; revision=25303
2004-04-02 18:25:45 +00:00
078b9979bc dumb fix
svn path=/trunk/; revision=25292
2004-04-02 02:25:07 +00:00
4987b8f935 Fixed some breakage I introduced in the changes below.
2004-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (get_signature_html): Fixed some breakage I
	introduced in the changes below.

svn path=/trunk/; revision=25291
2004-04-02 02:18:54 +00:00
adc6bcdfee simplify menu_item_set_label()
svn path=/trunk/; revision=25289
2004-04-01 21:41:54 +00:00
e0f8febd78 Updated to use the new signature APIs. (signature_added): _()ify the
2004-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Updated to use the new signature APIs.
	(signature_added): _()ify the "Autogenerated" signature name.

svn path=/trunk/; revision=25287
2004-04-01 21:17:09 +00:00
aaa36b86af Updated to use the new signature APIs.
2004-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Updated to use the new signature APIs.

svn path=/trunk/; revision=25284
2004-04-01 19:55:05 +00:00
13e4a8b61b Fixed missing headers now mail/* doesn't include gtk/*, camel/*, and
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * *.[ch]: Fixed missing headers now mail/* doesn't include gtk/*,
        camel/*, and gnome/* for you.

svn path=/trunk/; revision=25259
2004-03-31 10:08:03 +00:00
724507dfa6 do not add <br> between text and signature
2004-03-29  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (set_editor_text): do not add <br> between text
	and signature

svn path=/trunk/; revision=25228
2004-03-29 17:32:59 +00:00
17d85681a4 do not set editor insensitive, use editable-off command instead
2004-03-22  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (disable_editor): do not set editor
	insensitive, use editable-off command instead

	Fixes #55049

svn path=/trunk/; revision=25148
2004-03-22 18:35:27 +00:00
c08e1cbe12 exclude non-viable folder targets for selection, related to #55089.
2004-03-22  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c (post_browser_clicked_cb): exclude
        non-viable folder targets for selection, related to #55089.

svn path=/trunk/; revision=25140
2004-03-22 06:07:32 +00:00
5f60698e29 delete event: if empty paragraph has signature == 1 then set it to 0
2004-03-18  Radek Doulik  <rodo@ximian.com>

	* listener.c (impl_event): delete event: if empty paragraph has
	signature == 1 then set it to 0

	Fixes #55735 (be sure to update gtkhtml as well)

svn path=/trunk/; revision=25122
2004-03-18 20:09:11 +00:00
dfade56005 If we select multi-attachments, the "properities" menu item in popup icon
2004-03-17  Bill Zhu  <bill.zhu@sun.com>

        * e-msg_composer-attachment-bar.c: If we select multi-attachments, the
        "properities" menu item in popup icon context menu will be disabled.

        Fixes bug #55299

svn path=/trunk/; revision=25113
2004-03-18 09:10:42 +00:00
f4521c201f If the subject is empty, use _("Untitled Message") as the subject instead.
2004-03-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (do_exit): If the subject is empty, use
	_("Untitled Message") as the subject instead.

svn path=/trunk/; revision=24981
2004-03-07 15:00:51 +00:00
4cbe9157a4 Fixes bug #55202
2004-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #55202

	* e-msg-composer.c (add_recipients): No longer takes a decode
	argument (handle_mailto is the only function that calls it, and
	the decode value always has to be TRUE for mailto).
	(handle_mailto): Updated.

svn path=/trunk/; revision=24975
2004-03-05 18:18:52 +00:00
51cf52e71b add a key-press event handler, with which a little modification to Paolo
2004-02-27  Bruce Tao <bruce.tao@sun.com>

        * e-msg-composer-attachment-bar.c: add a key-press event handler,
        with which a little modification to Paolo Borelli's patch.
         <pborelli@katamail.com> When one attachment is deleted, the
        icon right after the last deleted one will be focused.

svn path=/trunk/; revision=24959
2004-03-04 08:03:32 +00:00
bac1a59d59 Add a <br> tag between the message text and the signature text (makes it
2004-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (set_editor_text): Add a <br> tag between the
	message text and the signature text (makes it nicer looking and
	also fixes bug #53747.

svn path=/trunk/; revision=24897
2004-02-26 20:42:07 +00:00
6b1a7d1e9c From www@reality.cz Tue Feb 17 11:52:51 2004
>From www_work@reality.cz Tue Feb 17 11: 53:15 2004
Received: from data2.centrum.cz ([62.84.131.152]:52704 "EHLO
	data2.centrum.cz") by mail4.centrum.cz with ESMTP id
<S2624487AbUBQKwv>;
	Tue, 17 Feb 2004 11:52:51 +0100
Received: from reality.cz ([212.24.129.47]:8630 "EHLO reality.cz") by
	mail.centrum.cz with ESMTP id <S279448AbUBQKwS>; Tue, 17 Feb 2004
11:52:18
	+0100
X-SpamDetected: 0
Received: by reality.cz (Postfix, from userid 502) id 073861AB2FF; Tue, 17
	Feb 2004 11:52:16 +0100 (CET)
From:   "REALiTY-ON-LINE" <www@reality.cz>
To:     radek.doulik@centrum.cz
Subject: ON-LINE: praha vychod
MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1
Message-Id: <20040217105216.073861AB2FF@reality.cz>
Date:   Tue, 17 Feb 2004 11:52:16 +0100 (CET)
Return-Path: <www_work@reality.cz>
X-Orcpt: rfc822;radek.doulik@mail4.centrum.cz
X-Evolution-Source: pop://radek.doulik@pop.centrum.cz/

<HTML>
<HEAD>
<TITLE>praha vychod</TITLE>
</HEAD>
<BODY BGCOLOR="CCFFFF">
<H3>Vypis novinek ON-LINE ze serveru Reality.CZ</H3>
<HR>
<A HREF="http://www.reality.cz/cgi/detailq?200-005280"><B>Prodej RD 2+1+puda
Praha vychod - Drevcice</B></A><BR>
<I>CENA:</I> <B>2.600.000 Kc  (cena pro jednani)</B><BR>
<I>TEL.:</I> <B>224 942 873 </B><BR>
<A
HREF="http://www.reality.cz/cgi/detailq?200-005280">http://www.reality.cz/cgi/detailq?200-005280</A>
<HR>
Zmeny v nastaveni sveho osobniho profilu muzete provadet na adrese:
<A
HREF="http://www.reality.cz/komunita/">http://www.reality.cz/komunita/</A>
<HR>
</BODY>
</HTML>

svn path=/trunk/; revision=24760
2004-02-17 13:09:01 +00:00
05690a946a removed debug printf
svn path=/trunk/; revision=24736
2004-02-13 15:02:27 +00:00
65dafbf9c3 get default composer size from gconf, hook to unrealize event and save
2004-02-13  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (create_composer): get default composer size
	from gconf, hook to unrealize event and save size to gconf
	(e_msg_composer_unmap): new handler, saves composer window size

svn path=/trunk/; revision=24735
2004-02-13 14:54:10 +00:00
19789f0e8d add accel and icon for the "remove" item in the popup menu. Patch from
2004-02-06  Rodney Dawes  <dobey@ximian.com>

	* e-msg-composer-attachment-bar.c: add accel and icon for
	the "remove" item in the popup menu.
	Patch from Paolo Borelli  <pborelli@katamail.com>

svn path=/trunk/; revision=24653
2004-02-06 18:07:14 +00:00
781f20ac48 use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contents
2004-02-03  Chris Toshok  <toshok@ximian.com>

	* e-msg-composer.c (e_msg_composer_guess_mime_type): use
	FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file
	contents before coming up with a mime type.

svn path=/trunk/; revision=24594
2004-02-03 20:07:10 +00:00
234e62851e add widgets/misc
* Makefile.am (INCLUDES): add widgets/misc

svn path=/trunk/; revision=24587
2004-02-03 17:32:18 +00:00
38d71c0a15 use g_ascii_strcasecmp rather than strcasecmp.
2004-02-02  Not Zed  <NotZed@Ximian.com>

        * evolution-composer.c (impl_Composer_set_body): use
        g_ascii_strcasecmp rather than strcasecmp.

        ** See bug #53506, again.

        * e-msg-composer.c (set_editor_text): Add an argument to make
        adding the signature optional.  Also fix a memleak with the sig
        content.
        (e_msg_composer_new_with_type, e_msg_composer_flush_pending_body)
        (handle_mailto, e_msg_composer_set_body_text)
        (e_msg_composer_set_body): Fixed callers for above change
        appropriately.

svn path=/trunk/; revision=24562
2004-02-02 05:05:07 +00:00
aadeb422d2 reverted radek's patch below, it was already fixed (#53176). Changed the
2004-01-29  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (e_msg_composer_new_with_type): reverted
        radek's patch below, it was already fixed (#53176).  Changed the
        init order though, set_editor_signature only sets the current one,
        it doen'st insert it.

        ** See bug #53506.

        * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to_list):
        use a GString to build the result.
        (e_msg_composer_hdrs_set_post_to_base): same here.
        (e_msg_composer_hdrs_set_post_to_base): dont bother copying the
        post_to string.
        (e_msg_composer_hdrs_get_post_to): change the relative-url test to
        ":/" rather than "://", so that mbox url's work.

svn path=/trunk/; revision=24512
2004-01-29 06:27:52 +00:00
e8054e4c4c set body text after setting composer's signature, so that signature is
2004-01-27  Radek Doulik  <rodo@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_with_type): set body text
	after setting composer's signature, so that signature is shown

	Fixes #53367

svn path=/trunk/; revision=24492
2004-01-28 14:23:28 +00:00
f6588d3c66 ** See Bug #53176, probably fixes others too.
2004-01-28  Not Zed  <NotZed@Ximian.com>

        ** See Bug #53176, probably fixes others too.

        * e-msg-composer.c (set_editor_text): When we set the text, always
        add the signature implictly.  Means we don't have to set it
        manually and break changing the file, or hit any races.
        (e_msg_composer_set_body_text): dont call show_sig_file here.

svn path=/trunk/; revision=24490
2004-01-28 13:36:07 +00:00
76e226a940 ** See Bug #20017.
2004-01-14  Not Zed  <NotZed@Ximian.com>

        ** See Bug #20017.

        * e-msg-composer.c (create_composer): set the composer to
        unchanged after all setup, some setup (from_changed_cb) will mark
        it changed.
        (create_composer): remove a warning.

        ** See Bug #52794.

        (e_msg_composer_get_message_draft): save sign/encrypt settings to
        X-Evolution-Format header.
        (e_msg_composer_new_with_message): restore sign/encrypt settings
        from X-Evolution-Format header.
        (e_msg_composer_set_pgp_sign, e_msg_composer_set_pgp_encrypt)
        (e_msg_composer_set_smime_sign, e_msg_composer_set_smime_encrypt):
        Set composer changed if it did.

svn path=/trunk/; revision=24211
2004-01-14 04:25:25 +00:00
31d60040af bump version and requirements
2004-01-12  JP Rosevear  <jpr@ximian.com>

	* configure.in: bump version and requirements

svn path=/trunk/; revision=24193
2004-01-13 04:30:14 +00:00
ff3f93c675 fix compilation error
2004-01-12  JP Rosevear  <jpr@ximian.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to): fix
	compilation error

svn path=/trunk/; revision=24186
2004-01-12 22:35:10 +00:00
6390a47a1f added "View To", "View Post To" menu items, made it possible to see both
2004-01-12  Meilof Veeningen  <meilof@wanadoo.nl>

	* e-msg-composer.[ch]: added "View To", "View Post To" menu items,
	made it possible to see both at the same time, new
	e_msg_composer_new_with_type, only visibility info of headers if
	in the visible mask.

	* e-msg-composer.[ch]: replaced folder selection button by entry
	with selection button next to it, enabled multiple folder selection,
	made it possible to see both To and PostTo fields, disabled
	setting the "X-Evolution-PostTo" header.

svn path=/trunk/; revision=24179
2004-01-12 22:21:26 +00:00
2fd22d547c Implemented #127527: the attachment bar is packed inside an EExpander
2003-12-02  ERDI Gergo  <cactus@cactus.rulez.org>

        * e-msg-composer.c: Implemented #127527: the attachment bar is
        packed inside an EExpander

svn path=/trunk/; revision=24146
2004-01-10 16:14:17 +00:00
bddba4c088 s/unsaved files/unsaved messages/ as per bug #45407.
2004-01-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (autosave_manager_query_load_orphans):
	s/unsaved files/unsaved messages/ as per bug #45407.

svn path=/trunk/; revision=24140
2004-01-09 21:36:25 +00:00
9cf83b64d0 add an assertion for no account set. Discovered from bug #50786.
2004-01-08  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (set_editor_signature): add an assertion for no
        account set.  Discovered from bug #50786.

svn path=/trunk/; revision=24101
2004-01-08 03:23:46 +00:00
c18d2cf2ea Remove the 6-pixel border around the main window. That just looked ugly.
2004-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (create_composer): Remove the 6-pixel border
	around the main window. That just looked ugly.

svn path=/trunk/; revision=24093
2004-01-07 21:11:41 +00:00
9f97940f20 Missing changelog
svn path=/trunk/; revision=24084
2004-01-07 05:39:51 +00:00
ff3451c203 missed this - remove disable deprecated flag
2004-01-07  JP Rosevear <jpr@ximian.com>

	* Makefile.am: missed this - remove disable deprecated flag

svn path=/trunk/; revision=24083
2004-01-07 05:39:04 +00:00
c923f10cb9 Unifdef out the post-to code and fix it to use the new folder selection
2003-12-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_headers): Unifdef out the post-to
	code and fix it to use the new folder selection button.
	(e_msg_composer_hdrs_set_post_to): Same.
	(e_msg_composer_hdrs_get_post_to): Same.

svn path=/trunk/; revision=23634
2003-12-04 17:24:23 +00:00
7d18bf233d Do not depend on e-folder-list.
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.

* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.

* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.

* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.

* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.

* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.

* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.

* importers/icalendar-importer.c: Do not #include shell stuff.

* gui/main.c: Do not #include <evolution-shell-client.h>.

* gui/e-itip-control.c: Do not #include
<e-folder-selector-button.h> nor <evolution-shell-client.h>.
(start_default_server): Return FALSE.
(default_server_started_cb): Do not connect the "selected" signal
on the button since it's now NULL.
(button_selected_cb): #if 0 out.

* gui/e-cal-list-view.h: Do not #include
"evolution-activity-client.h".

* gui/tasks-component.c (impl_createControls): Give an empty label
for the status bar.

* gui/e-day-view.h: Remove all deps on evolution-activity-client.

* e-msg-composer-hdrs.c: Do not #include
<evolution-folder-selector-button.h>.
(e_msg_composer_hdrs_set_post_to): #if 0 out for now.
(e_msg_composer_hdrs_get_post_to): Likewise.

* mail-vfolder.c: Do not #include "evolution-shell-component.h".

* Makefile.am (libevolution_mail_la_SOURCES): Don't compile
mail-importer.[ch] for now.

* mail-component-factory.c: Do not #include
<evolution-shell-client.h>.
* mail-config.c: Likewise.

* mail-vfolder.h: Do not #include <evolution-storage.h> or
<evolution-shell-component.h>.

* mail.h: Do not #include <evolution-storage.h>.

* mail-ops.h: Do not #include <evolution-storage.h>.
(mail_scan_subfolders): Remove prototype.
(mail_update_subfolders): Likewise.

svn path=/trunk/; revision=23595
2003-12-03 15:37:56 +00:00
7af66de023 Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill the
2003-12-01  Rodney Dawes  <dobey@ximian.com>

	* Use BASE_VERSION for repo_ids and OAFIIDs
  * Update killev to kill the correct versions of gnome-spell and the
    GtkHTML Editor

svn path=/trunk/; revision=23543
2003-12-01 22:14:43 +00:00