aboutsummaryrefslogtreecommitdiffstats
path: root/composer
Commit message (Collapse)AuthorAgeFilesLines
* ** Changed error messages to EError.Not Zed2004-04-286-119/+75
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to EError. svn path=/trunk/; revision=25652
* duh, pass the string not the content type to the warning message. AndNot Zed2004-04-272-3/+9
| | | | | | | | | | 2004-04-27 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): duh, pass the string not the content type to the warning message. And derrr, print it for the actual error case, not the ok case. Fixes #57680. svn path=/trunk/; revision=25633
* Only unlink the original autosave draft file if we are successful inJeffrey Stedfast2004-04-272-9/+13
| | | | | | | | | | 2004-04-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Only unlink the original autosave draft file if we are successful in saving a new copy, otherwise don't unlink the file. Fixes bug #57540. svn path=/trunk/; revision=25619
* forgot to save after i added bug #.Michael Zucci2004-04-231-1/+1
| | | | svn path=/trunk/; revision=25597
* fallback to stock attach if we can't ifnd the icon.Not Zed2004-04-232-11/+21
| | | | | | | | | 2004-04-23 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): fallback to stock attach if we can't ifnd the icon. svn path=/trunk/; revision=25593
* Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.Jeffrey Stedfast2004-04-202-3/+7
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. svn path=/trunk/; revision=25526
* Update the composer to use the icon theme via the EIconFactory object inMichael Terry2004-04-193-13/+31
| | | | | | | | | | 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
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-161-0/+35
| | | | svn path=/trunk/; revision=25493
* Same idea here as with build_mesage(), don't convert th gconf charsetJeffrey Stedfast2004-04-163-52/+82
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* To be on the safe side (even though the real bug behind bug #51924 can'tJeffrey Stedfast2004-04-142-3/+11
| | | | | | | | | | | 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
* add missing debug wrapper back.Larry Ewing2004-04-131-1/+1
| | | | | | --Larry svn path=/trunk/; revision=25434
* accept text/calendar drops.Larry Ewing2004-04-132-2/+17
| | | | | | | | | 2004-04-13 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (drag_data_received): accept text/calendar drops. svn path=/trunk/; revision=25433
* EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):Chris Toshok2004-04-106-105/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Reversed the logic for setting the signature menu to "None" (only set itJeffrey Stedfast2004-04-082-28/+34
| | | | | | | | | | | | 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
* ops, saved it this timeRadek Doulik2004-04-071-3/+3
| | | | svn path=/trunk/; revision=25341
* (set_editor_text): added pad_signature parameter to tell if weRadek Doulik2004-04-072-6/+10
| | | | | | | 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
* added empty hbox so that we have 12pxs between account setting andRadek Doulik2004-04-072-1/+11
| | | | | | | | | | | 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
* Revert Radek's last change to fix bug #56381.Jeffrey Stedfast2004-04-032-1/+7
| | | | | | | | | 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
* dumb fixJeffrey Stedfast2004-04-021-3/+2
| | | | svn path=/trunk/; revision=25292
* Fixed some breakage I introduced in the changes below.Jeffrey Stedfast2004-04-022-2/+12
| | | | | | | | | 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
* simplify menu_item_set_label()Jeffrey Stedfast2004-04-021-10/+5
| | | | svn path=/trunk/; revision=25289
* Updated to use the new signature APIs. (signature_added): _()ify theJeffrey Stedfast2004-04-022-4/+27
| | | | | | | | | 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
* Updated to use the new signature APIs.Jeffrey Stedfast2004-04-023-149/+176
| | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Updated to use the new signature APIs. svn path=/trunk/; revision=25284
* Fixed missing headers now mail/* doesn't include gtk/*, camel/*, andNot Zed2004-03-317-1/+23
| | | | | | | | | 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
* do not add <br> between text and signatureRadek Doulik2004-03-302-2/+6
| | | | | | | | | 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
* do not set editor insensitive, use editable-off command insteadRadek Doulik2004-03-232-1/+13
| | | | | | | | | | | 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
* exclude non-viable folder targets for selection, related to #55089.Not Zed2004-03-222-1/+7
| | | | | | | | | 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
* delete event: if empty paragraph has signature == 1 then set it to 0Radek Doulik2004-03-192-2/+16
| | | | | | | | | | | 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
* If we select multi-attachments, the "properities" menu item in popup iconBill Zhu2004-03-182-1/+17
| | | | | | | | | | | 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
* If the subject is empty, use _("Untitled Message") as the subject instead.Jeffrey Stedfast2004-03-072-1/+6
| | | | | | | | | 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
* Fixes bug #55202Jeffrey Stedfast2004-03-062-10/+16
| | | | | | | | | | | | | 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
* add a key-press event handler, with which a little modification to PaoloBruce Tao2004-03-042-1/+33
| | | | | | | | | | | 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
* Add a <br> tag between the message text and the signature text (makes itJeffrey Stedfast2004-02-272-8/+16
| | | | | | | | | | 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
* From www@reality.cz Tue Feb 17 11:52:51 2004REALiTY-ON-LINE2004-02-172-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >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
* removed debug printfRadek Doulik2004-02-131-1/+0
| | | | svn path=/trunk/; revision=24736
* get default composer size from gconf, hook to unrealize event and saveRadek Doulik2004-02-132-7/+27
| | | | | | | | | | 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
* add accel and icon for the "remove" item in the popup menu. Patch fromRodney Dawes2004-02-072-4/+11
| | | | | | | | | | 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
* use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contentsChris Toshok2004-02-042-0/+7
| | | | | | | | | | 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
* add widgets/miscDan Winship2004-02-042-0/+6
| | | | | | * Makefile.am (INCLUDES): add widgets/misc svn path=/trunk/; revision=24587
* use g_ascii_strcasecmp rather than strcasecmp.Not Zed2004-02-023-13/+28
| | | | | | | | | | | | | | | | | | | 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
* reverted radek's patch below, it was already fixed (#53176). Changed theNot Zed2004-01-293-32/+46
| | | | | | | | | | | | | | | | | | | | | 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
* set body text after setting composer's signature, so that signature isRadek Doulik2004-01-282-1/+8
| | | | | | | | | | | 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
* ** See Bug #53176, probably fixes others too.Not Zed2004-01-282-11/+30
| | | | | | | | | | | | | 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
* ** See Bug #20017.Not Zed2004-01-142-25/+78
| | | | | | | | | | | | | | | | | | | | | | | 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
* bump version and requirementsJP Rosevear2004-01-131-0/+5
| | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * configure.in: bump version and requirements svn path=/trunk/; revision=24193
* fix compilation errorJP Rosevear2004-01-131-1/+1
| | | | | | | | | 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
* added "View To", "View Post To" menu items, made it possible to see bothMeilof Veeningen2004-01-135-65/+490
| | | | | | | | | | | | | | | | 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
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-113-29/+91
| | | | | | | | | 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
* s/unsaved files/unsaved messages/ as per bug #45407.Jeffrey Stedfast2004-01-102-1/+6
| | | | | | | | | 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
* add an assertion for no account set. Discovered from bug #50786.Not Zed2004-01-082-0/+8
| | | | | | | | | 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
* Remove the 6-pixel border around the main window. That just looked ugly.Jeffrey Stedfast2004-01-082-1/+5
| | | | | | | | | 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
* Missing changelogJP Rosevear2004-01-071-0/+4
| | | | svn path=/trunk/; revision=24084
* missed this - remove disable deprecated flagJP Rosevear2004-01-071-1/+0
| | | | | | | | 2004-01-07 JP Rosevear <jpr@ximian.com> * Makefile.am: missed this - remove disable deprecated flag svn path=/trunk/; revision=24083
* Unifdef out the post-to code and fix it to use the new folder selectionJeffrey Stedfast2003-12-052-15/+19
| | | | | | | | | | | 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
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-032-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-022-1/+5
| | | | | | | | | | 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
* autosave fixRadek Doulik2003-12-013-5/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-11 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_autosaved): new method to wrap autosaved flag setting (e_msg_composer_unset_autosaved): ditto (e_msg_composer_is_autosaved): new method, says if composer was autosaved only (autosave_save_draft): unset changed so that we don't autosave all the time when anything else than gtkhtml control changed 2003-11-06 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_save_draft): call gtkhtml's saved command to clean is-saved flag, set composer's autosaved flag (do_exit): complain if last save was just autosave (e_msg_composer_unset_changed): reset autosaved flag (save): reset autosaved flag * e-msg-composer.h: added autosaved flag, it tells whether last save was autosave or regular save, when changed flag is reset the autosaved one is reset too svn path=/trunk/; revision=23526
* (create_headers): #if 0 the "post to"Ettore Perazzoli2003-12-012-3/+9
| | | | | | | stuff for now (it requires the global_shell_client and the evolution_folder_selector_button which we don't have anymore). svn path=/trunk/; revision=23504
* switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS andChris Toshok2003-11-272-2/+7
| | | | | | | | | 2003-11-26 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (build_message): switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS and SMIME_SUPPORTED. svn path=/trunk/; revision=23497
* turn on deprecated gtk widgetsJP Rosevear2003-11-262-1/+4
| | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * Makefile.am: turn on deprecated gtk widgets svn path=/trunk/; revision=23491
* changed to use ciphercontext directly to sign the message, noNot Zed2003-11-052-73/+35
| | | | | | | | | | 2003-11-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): changed to use ciphercontext directly to sign the message, no multipart-signed usage. (build_message): do the same for multipart/encryption for gpg encrypting. svn path=/trunk/; revision=23188
* (SELECT_NAMES_OAFIID): Append "_2".Ettore Perazzoli2003-11-042-1/+5
| | | | svn path=/trunk/; revision=23177
* fix for e-account smime info changes. Also enforce having a signingNot Zed2003-10-312-16/+39
| | | | | | | | | | | | | 2003-10-31 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): fix for e-account smime info changes. Also enforce having a signing certificate set in preferences before doing any signing. (from_changed_cb): handle smime sign/encrypt default for account (create_composer): force a from-changed when we start, to properly setup signing options. svn path=/trunk/; revision=23146
* Turn on SMIME_SUPPORTED. (build_message): move some of the security codeNot Zed2003-10-302-202/+188
| | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Turn on SMIME_SUPPORTED. (build_message): move some of the security code around, and fix up smime code. svn path=/trunk/; revision=23128
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-226-106/+139
| | | | svn path=/trunk/; revision=22966
* Don't blindly claim that the file exists and then ask the user if he/sheJeffrey Stedfast2003-10-073-25/+47
| | | | | | | | | | | | | | | 2003-09-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save): Don't blindly claim that the file exists and then ask the user if he/she would like to overwrite it. First check that the file even exists, if not - then we've got a different error. Fixes bug #48759. * e-msg-composer-select-file.c (e_msg_composer_select_file): Use the proper selector title, otherwise it says "Attach files" when we are trying to save a message. svn path=/trunk/; revision=22798
* Same as below.Jeffrey Stedfast2003-09-253-1/+21
| | | | | | | | | | | | | 2003-09-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (get_default_charset): Same as below. * e-msg-composer.c (composer_get_default_charset_setting): Handle empty-string as the charset value gotten from gconf as this can happen. Partial fix for bug #47638. svn path=/trunk/; revision=22692
* Add some assertion. Send Close response signal to the properties dialogCharles Zhang2003-09-232-2/+24
| | | | | | | | | | | | 2003-09-13 Charles Zhang <charles.zhang@sun.com> * e-msg-composer-attachment-bar.c (remove_attachment): Add some assertion. Send Close response signal to the properties dialog while removeing an attachment. * e-msg-composer-attachment-bar.c (remove_selected): Fix a re- remove-attachment bug. [#48466] svn path=/trunk/; revision=22656
* fixed a commentJeffrey Stedfast2003-09-201-1/+1
| | | | svn path=/trunk/; revision=22630
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-193-14/+22
| | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for CamelTransferEncoding namespace changes * e-msg-composer.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22616
* Updated for namespace changes in Camel.Jeffrey Stedfast2003-09-194-28/+34
| | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: * e-msg-composer-attachment.c: * e-msg-composer.c: Updated for namespace changes in Camel. svn path=/trunk/; revision=22611
* ** Merge in mail-refactor-2-branchNot Zed2003-09-183-38/+31
| | | | | | | | 2003-09-17 Not Zed <NotZed@Ximian.com> ** Merge in mail-refactor-2-branch svn path=/trunk/; revision=22601
* (header_new_recipient): Make the entryEttore Perazzoli2003-09-162-1/+7
| | | | | | | non-focusable again. The right fix for A11Y is to add accelerators. svn path=/trunk/; revision=22575
* Added an entry_uic field for a BonoboUIComponent for the non-controlFederico Mena Quintero2003-09-123-11/+63
| | | | | | | | | | | | | | | | | | | | | 2003-09-11 Federico Mena Quintero <federico@ximian.com> * e-msg-composer.h (EMsgComposer): Added an entry_uic field for a BonoboUIComponent for the non-control entries (e.g. the Subject line). * e-msg-composer.c (create_composer): Set autoactivate to true on the HTML control's BonoboControlFrame. (setup_ui): Create the composer->entry_uic. (destroy): Free the composer->entry_uic. (entry_verbs): New array of verbs for the non-control entries. Moved the Edit* verbs to here, as they should not be part of the main set. (composer_entry_focus_in_event_cb): Load evolution-composer-entries.xml here for the non-control entries' UI. (composer_entry_focus_out_event_cb): Remove the menu items. svn path=/trunk/; revision=22531
* Connect response signal to attachment properties dialog, fix bug #47950.Antonio Xu2003-08-294-7/+26
| | | | | | | | | | | | | | 2003-08-29 Antonio Xu <antonio.xu@sun.com> * e-msg-composer-attachment.c (): Connect response signal to attachment properties dialog, fix bug #47950. * Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR define * e-msg-composer.c (create_composer): use EVOLUTION_IMAGESDIR and composer icon name to get the path of composer icon. [#47781] svn path=/trunk/; revision=22411
* temporarily reverting camel namespace changes until after other branches ↵Jeffrey Stedfast2003-08-274-42/+26
| | | | | | have been merged svn path=/trunk/; revision=22374
* s/HSCAN_/CAMEL_MIME_PARSER_STATE_/gJeffrey Stedfast2003-08-272-1/+6
| | | | | | | | | 2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g svn path=/trunk/; revision=22366
* updated for namespace changed made to camel-mime-utils.[c,h]Jeffrey Stedfast2003-08-264-25/+36
| | | | | | | | | | | | | | | 2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer-attachment.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22356
* Original patch from David Woodhouse, but modified a bit by me.Jeffrey Stedfast2003-08-192-10/+26
| | | | | | | | | | | 2003-08-19 Jeffrey Stedfast <fejj@ximian.com> * Original patch from David Woodhouse, but modified a bit by me. * e-msg-composer.c (handle_mailto): Fix insertion of arbitrary headers from mailto: links. Ignore From: and Reply-To: headers. svn path=/trunk/; revision=22285
* fixed an insulting error message. Fixes bug #47413.Lorenzo Gil Sanchez2003-08-142-1/+6
| | | | | | | | | 2003-08-13 Lorenzo Gil Sanchez <lgs@sicem.biz> * e-msg-composer-hdrs.c (account_removed_cb): fixed an insulting error message. Fixes bug #47413. svn path=/trunk/; revision=22220
* This needs to use camel_data_wrapper_decode_to_stream() rather thanJeffrey Stedfast2003-08-143-39/+32
| | | | | | | | | | | | | | | | | | 2003-08-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (update): This needs to use camel_data_wrapper_decode_to_stream() rather than write_to_stream(). Also simplify a bit - no sense looping to load the pixbuf data into the gdk-pixbuf loader 4K at a time when we have the whole thing in a memory buffer already. Once done, unref the stream instead of closing it so we don't leak. (attach_to_multipart): Use decode_to_stream(). * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Avoid constructing thwe data-wrapper from the stream twice for message/rfc822 parts. svn path=/trunk/; revision=22213
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-08-123-18/+30
| | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. svn path=/trunk/; revision=22172
* add the drop type of mozilla browser link to make composer support toAntonio Xu2003-08-042-10/+16
| | | | | | | | | | 2003-08-04 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (drag_data_received): add the drop type of mozilla browser link to make composer support to handle mozilla DnD data. [#47131] svn path=/trunk/; revision=22077
* fixed the ChangeLogJeffrey Stedfast2003-07-301-1/+1
| | | | svn path=/trunk/; revision=22018
* add gdk_pixbuf_loader_close to close pix buffer loading. [#45908]Antonio Xu2003-07-292-1/+8
| | | | | | | | | 2003-07-29 Antonio Xu <antonio.xu@sun.com> * e-msg-composer-attachment-bar.c (update): add gdk_pixbuf_loader_close to close pix buffer loading. [#45908] svn path=/trunk/; revision=22008
* bump editor versionLarry Ewing2003-07-262-2/+7
| | | | svn path=/trunk/; revision=21974
* Set default answer of dialog to 'yes' to try and prevent autosavedMichel Dänzer2003-07-242-0/+7
| | | | | | | | | | 2003-07-17 Michel Dänzer <michel@daenzer.net> * e-msg-composer.c (autosave_manager_query_load_orphans): Set default answer of dialog to 'yes' to try and prevent autosaved messages from getting lost accidentally. svn path=/trunk/; revision=21922
* Revert my previous changes here too.Jeffrey Stedfast2003-07-243-15/+18
| | | | | | | | | | | 2003-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Revert my previous changes here too. * e-msg-composer.c (build_message): Revert my previous changes. svn path=/trunk/; revision=21918
* Remove this. It was only used by e-icon-list, which is no longer there.Dan Winship2003-07-243-21/+10
| | | | | | | | | | | * bad-icon.xpm: Remove this. It was only used by e-icon-list, which is no longer there. * composer-marshal.list: Likewise * Makefile.am: Update svn path=/trunk/; revision=21914
* Init charset to NULL.Jeffrey Stedfast2003-07-222-2/+6
| | | | | | | | 2003-07-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Init charset to NULL. svn path=/trunk/; revision=21882
* Make this work again.Dan Winship2003-07-222-3/+7
| | | | | | * e-msg-composer.c (build_message): Make this work again. svn path=/trunk/; revision=21881
* ** For bug #46013Maxx Cao2003-07-182-1/+8
| | | | | | | | | | | 2003-07-17 Maxx Cao <maxx.cao@sun.com> ** For bug #46013 * e-msg-composer-hdrs.c (header_new_recipient): To/cc/bcc buttons made focusable. svn path=/trunk/; revision=21868
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-07-173-49/+68
| | | | | | | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings and other breakage introduced by Maxx. svn path=/trunk/; revision=21843
* ** For bug #45826Maxx Cao2003-07-152-0/+61
| | | | | | | | | | | | | | | 2002-07-14 Maxx Cao <maxx.cao@sun.com> ** For bug #45826 * e-msg-composer-attachment-bar.c (class_init): connect the "popup_menu" signal, so that S-F10 keybinding will work. (popup_menu_event): funcion added to handle "popup_menu" (S-F10 key). (popup_menu_placement_callback): function added to place the popup menu to the center of attachment icon, in case it is activated by keyboard. svn path=/trunk/; revision=21812
* Updated to use camel_strcase_hash/equal.Jeffrey Stedfast2003-07-082-3/+8
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Updated to use camel_strcase_hash/equal. svn path=/trunk/; revision=21755
* Gone. (update): Use e_icon_for_mime_type instead.Dan Winship2003-07-033-62/+9
| | | | | | | | | * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Gone. (update): Use e_icon_for_mime_type instead. * Makefile.am (INCLUDES): remove EVOLUTION_IMAGESDIR define svn path=/trunk/; revision=21735
* Change file url to absolute path. Fixes bug #44065.Antonio Xu2003-07-032-1/+16
| | | | | | | | | 2003-06-25 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (handle_mailto): Change file url to absolute path. Fixes bug #44065. svn path=/trunk/; revision=21726
* Connect to the save-draft signal too. Fixes bug #45531.Jeffrey Stedfast2003-07-032-1/+9
| | | | | | | | | 2003-07-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Connect to the save-draft signal too. Fixes bug #45531. svn path=/trunk/; revision=21724
* Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE.Jeffrey Stedfast2003-06-302-0/+10
| | | | | | | | | 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE. svn path=/trunk/; revision=21695
* free the return value. (impl_event): free the return value.Larry Ewing2003-06-202-0/+8
| | | | | | | | | 2003-06-19 Larry Ewing <lewing@ximian.com> * listener.c (insert_paragraph_after): free the return value. (impl_event): free the return value. svn path=/trunk/; revision=21481
* Use e_iconv_open/close so that we get charset aliasing for free. Fixes bugJeffrey Stedfast2003-06-192-3/+8
| | | | | | | | | 2003-06-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (best_encoding): Use e_iconv_open/close so that we get charset aliasing for free. Fixes bug #44991. svn path=/trunk/; revision=21469
* Fixes bug #44139.Jeffrey Stedfast2003-06-183-12/+19
| | | | | | | | | | | | | | | | 2003-06-16 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #44139. * e-msg-composer-hdrs.c (attach_couple): Set the vertical and horizontal padding to 3 always. (create_from_optionmenu): Change the hbox spacing to 6 pixels. * e-msg-composer.c (create_composer): Set the border width around the composer's vbox to HIG specification and make the box_spacing 6 pixels as well. svn path=/trunk/; revision=21460
* free the result only if there isn't an exception.Larry Ewing2003-06-141-1/+1
| | | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * listener.c (insert_paragraph_before): free the result only if there isn't an exception. svn path=/trunk/; revision=21434
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-0/+1
| | | | svn path=/trunk/; revision=21426
* free the structure as well.Larry Ewing2003-06-112-0/+6
| | | | | | | | | 2003-06-10 Larry Ewing <lewing@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_and_string_free): free the structure as well. svn path=/trunk/; revision=21396
* free the return values.Larry Ewing2003-06-112-0/+6
| | | | | | | | 2003-06-09 Larry Ewing <lewing@ximian.com> * listener.c (insert_paragraph_before): free the return values. svn path=/trunk/; revision=21393
* Same as the rest. (setup_ui): We didn't even seem to be using the gconfJeffrey Stedfast2003-06-104-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as the rest. (setup_ui): We didn't even seem to be using the gconf client here. Removed. (e_msg_composer_load_config): Unref the gconf client after we're finished. (e_msg_composer_new): Same. (e_msg_composer_new_post): Here too. (e_msg_composer_set_view_from): And here. (e_msg_composer_set_view_replyto): And here. (e_msg_composer_set_view_cc): Here too. (e_msg_composer_set_view_bcc): Again here. * e-msg-composer-hdrs.c (create_from_optionmenu): Same as below. (e_msg_composer_hdrs_set_from_account): Here too. * e-msg-composer-attachment-bar.c (get_default_charset): Unref the gconf client. svn path=/trunk/; revision=21391
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-4037/+4037
| | | | svn path=/trunk/; revision=21387
* i2003-05-20 Larry Ewing <lewing@ximian.com>Larry Ewing2003-05-213-1/+49
| | | | | | | | | | | * e-msg-composer.c (composer_settings_update): set the various bonobo properties that are composer preferences. (create_composer): add notification of gconf changes. (destroy): disconnect notification. * e-msg-composer.h: keep the gcond notify handler id. svn path=/trunk/; revision=21287
* Don't connect to the focus-out-event in order to update the mime-type.Jeffrey Stedfast2003-05-172-29/+7
| | | | | | | | | | | 2003-05-15 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_edit): Don't connect to the focus-out-event in order to update the mime-type. Simply don't update the mime-type ever. Fixes bug #42798. svn path=/trunk/; revision=21214
* Change the "would you like to recover unsaved drafts?" dialog a QUESTIONJeffrey Stedfast2003-04-302-1/+7
| | | | | | | | | | 2003-04-28 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): Change the "would you like to recover unsaved drafts?" dialog a QUESTION dialog rather than an ERROR dialog. Fixes bug #42024. svn path=/trunk/; revision=21001
* If we fail to load the icon that gnome_vfs_get_icon() gave us, the defaultJeffrey Stedfast2003-04-282-2/+15
| | | | | | | | | | | | 2003-04-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): If we fail to load the icon that gnome_vfs_get_icon() gave us, the default back to gnome-unknown.png. This is the only POSSIBLE way for Anna to be getting a NULL pixbuf if she has gnome-unknown.png that I can see. Should fix bug #41513. svn path=/trunk/; revision=20982
* removed debug printfs.Not Zed2003-04-242-3/+4
| | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (map_default_cb): removed debug printfs. svn path=/trunk/; revision=20952
* Don't ever attach non-inlined text or message parts. Reverts a prior fix.Jeffrey Stedfast2003-04-232-7/+8
| | | | | | | | | 2003-04-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Don't ever attach non-inlined text or message parts. Reverts a prior fix. svn path=/trunk/; revision=20923
* added related argument, TRUE means that container of mime_part isRadek Doulik2003-04-222-4/+19
| | | | | | | | | | | | | | 2003-04-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): added related argument, TRUE means that container of mime_part is multipart/related (add_attachments_handle_mime_part): add images as inline when related is TRUE (add_attachments_from_multipart): pass related to add_attachments_handle_mime_part svn path=/trunk/; revision=20913
* Change the order of the ok/cancel buttons.Jeffrey Stedfast2003-04-222-6/+11
| | | | | | | | | 2003-04-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Change the order of the ok/cancel buttons. svn path=/trunk/; revision=20904
* [ fixes #40694 ] this can't hurt - set the frame to autoactivate so if byChris Toshok2003-04-203-3/+16
| | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * e-msg-composer-hdrs.c (create_addressbook_entry): this can't hurt - set the frame to autoactivate so if by some chance the widget is focused the control will end up being activated. * e-msg-composer.c (map_default_cb): activate the To: control instead of focusing the widget. svn path=/trunk/; revision=20896
* [ fixes #21499 ]Rodney Dawes2003-04-193-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Return FALSE so the signal gets propogated further up the chain. Fixes bugJeffrey Stedfast2003-04-162-2/+12
| | | | | | | | | | | | 2003-04-14 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (file_name_focus_out_cb): Return FALSE so the signal gets propogated further up the chain. Fixes bug #41238. (e_msg_composer_attachment_edit): The focus-out-event signal name changed (although the old name still works...for now?). svn path=/trunk/; revision=20847
* Updated to comply with the HIG. Fixes bug #41239 and bug #41241.Jeffrey Stedfast2003-04-122-2/+3
| | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Updated to comply with the HIG. Fixes bug #41239 and bug #41241. svn path=/trunk/; revision=20832
* Updated to comply with the HIG.Jeffrey Stedfast2003-04-122-230/+224
| | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Updated to comply with the HIG. svn path=/trunk/; revision=20831
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-102-2/+2
| | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. (setup_ui): Don't free the default_charset, it's a const char*. svn path=/trunk/; revision=20797
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-103-2/+10
| | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. * e-msg-composer-attachment-bar.c (get_default_charset): Same. svn path=/trunk/; revision=20793
* fix build, it's composer_get_default_charset_setting.Chris Toshok2003-04-092-1/+6
| | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (setup_ui): fix build, it's composer_get_default_charset_setting. svn path=/trunk/; revision=20782
* Same as with attachment-bar's get_default_charset(). (setup_ui): InsteadJeffrey Stedfast2003-04-093-5/+22
| | | | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as with attachment-bar's get_default_charset(). (setup_ui): Instead of pulling the default charset from gconf, call our helper function above. * e-msg-composer-attachment-bar.c (get_default_charset): If gconf returns a NULL string, default back to the locale charset. svn path=/trunk/; revision=20775
* Added some debug printfs. (create_composer): Call map_default_cb directlyJeffrey Stedfast2003-04-092-7/+15
| | | | | | | | | | | 2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (map_default_cb): Added some debug printfs. (create_composer): Call map_default_cb directly instead of having it in a "map" callback. Ettore says we shouldn't be doing this *shrug*. Still doesn't work tho. svn path=/trunk/; revision=20767
* [ fixes bug #39763 ] remove the control_entry_focus_{in,out}_event_cbChris Toshok2003-04-083-39/+13
| | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #39763 ] * e-msg-composer.c (setup_cut_copy_paste): remove the control_entry_focus_{in,out}_event_cb signal stuff. (control_entry_focus_in_event_cb): nuke (control_entry_focus_in_event_cb): same. * e-msg-composer-hdrs.c (create_addressbook_entry): pass the contain to bonobo_widget_new_control_from_objref when creating the entries. svn path=/trunk/; revision=20745
* If the composer isn't 'dirty', then don't autosave the draft (no need to).Jeffrey Stedfast2003-04-052-0/+9
| | | | | | | | | | 2003-04-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_save_draft): If the composer isn't 'dirty', then don't autosave the draft (no need to). Fixes bug #40764. svn path=/trunk/; revision=20671
* Add a select-all callback and verb. (composer_entry_focus_in_event_cb):Jeffrey Stedfast2003-04-042-0/+24
| | | | | | | | | | 2003-04-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_edit_select_all_cb): Add a select-all callback and verb. (composer_entry_focus_in_event_cb): Set our bonobo-ui verbs. svn path=/trunk/; revision=20661
* Guard against the filesel's selection being NULL. Fixes bug #40679.Jeffrey Stedfast2003-04-032-6/+14
| | | | | | | | | 2003-04-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (e_msg_composer_select_file): Guard against the filesel's selection being NULL. Fixes bug #40679. svn path=/trunk/; revision=20648
* Keep track of which entry widget has focus.Jeffrey Stedfast2003-04-024-16/+165
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_entry_focus_in_event_cb): Keep track of which entry widget has focus. (composer_entry_focus_out_event_cb): Same. (control_entry_focus_in_event_cb): Same idea, but since this is in another component, tell that component that its widget has focus so it can merge bonoboui cut/copy/paste (and anything else) menus. (control_entry_focus_out_event_cb): Same. (setup_cut_copy_paste): Connect to the focus-in and focus-out events for all the entry widgets and the html editor. (menu_edit_cut_cb): New callback function since the composer will now own the Cut/Copy/Paste menu items sometimes (depending on which widget is in focus... confused yet? good). * e-msg-composer-hdrs.c (from_changed): Update the Reply-To entry to be a normal GtkEntry. (create_headers): Same. (e_msg_composer_hdrs_set_reply_to): Here too. (e_msg_composer_hdrs_get_reply_to): And finally here. svn path=/trunk/; revision=20623
* ** See bug #40300 & probably others.Not Zed2003-04-023-4/+27
| | | | | | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> ** See bug #40300 & probably others. * e-msg-composer.c (autosave_manager_query_load_orphans): make the composer arg a parent arg, its only used parent the dialogue. Fix caller casts. (e_msg_composer_check_autosave): new function, checks for autosave files, and recovers them per user instructions. svn path=/trunk/; revision=20616
* Convert to libglade-2's format.Jeffrey Stedfast2003-04-013-293/+266
| | | | | | | | | | | 2003-03-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Convert to libglade-2's format. * e-msg-composer.c (set_editor_signature): E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id can never be NULL anymore. svn path=/trunk/; revision=20604
* Update for e_notice moveDan Winship2003-03-252-9/+13
| | | | | | * e-msg-composer.c: Update for e_notice move svn path=/trunk/; revision=20501
* Fixes for bug #39813Jeffrey Stedfast2003-03-212-7/+15
| | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39813 * e-msg-composer.c (composer_finalise): Don't unregister the signature event handler here. (destroy): Unregister it here instead. svn path=/trunk/; revision=20442
* Change the logic to attach text parts when appropriate. (map_default_cb):Jeffrey Stedfast2003-03-202-11/+12
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. (map_default_cb): Grab the focus of the To entry widget. Fixes bug #39800. Fixes another #warning too. svn path=/trunk/; revision=20371
* Change the logic to attach text parts when appropriate.Jeffrey Stedfast2003-03-202-34/+35
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. svn path=/trunk/; revision=20367
* e_msg_composer_hdrs_get_subject() now returns const so don't g_free() itJeffrey Stedfast2003-03-195-44/+50
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): e_msg_composer_hdrs_get_subject() now returns const so don't g_free() it :-) (map_default_cb): Same as above. Also, the subject entry no longer derives from GnomeCanvas so eliminate the now unneeded casting to grab the focus of the subject widget. (e_msg_composer_get_subject): Return a const char * now. * e-msg-composer-hdrs.c (create_headers): Make the subject entry into a GtkEntry so we don't have to worry about i18n and other EEntry bugs anymore. Fixes numerous bugs (including #39924). (e_msg_composer_hdrs_set_subject): Use gtk_entry_set_text(). (e_msg_composer_hdrs_to_message_internal): e_msg_composer_hdrs_get_subject() now returns const. (e_msg_composer_hdrs_get_subject): Return a const char *. (entry_changed): e_msg_composer_hdrs_get_subject() now returns const. svn path=/trunk/; revision=20350
* Default the composer's title to "Create a message". Fixes bug #39696.Jeffrey Stedfast2003-03-142-1/+7
| | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Default the composer's title to "Create a message". Fixes bug #39696. svn path=/trunk/; revision=20283
* Use GnomeIconList instead of EIconList so we don't have to maintain anJeffrey Stedfast2003-03-126-2887/+70
| | | | | | | | | | | | 2003-03-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: Use GnomeIconList instead of EIconList so we don't have to maintain an exact copy/paste of GnomeIconList ourselves. I don't udnerstand why we ever did. * e-icon-list.[c,h]: Removed. svn path=/trunk/; revision=20251
* add send_cb/save_draft_cb arguments. (impl_Composer_send): use the localNot Zed2003-03-103-72/+55
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * evolution-composer.c (evolution_composer_new): add send_cb/save_draft_cb arguments. (impl_Composer_send): use the local send_cb. (evolution_composer_init): dont init send, save-draft signals here. (evolution_composer_new): init signals here, fix params to composer_construct(). (evolution_composer_factory_init): remove, part of mailer now. (factory_fn): same. (finalise): disconnect from callbacks first. * evolution-composer.h: add send_cb/save_draft_cb to composer object. 2003-03-10 Not Zed <NotZed@Ximian.com> * evolution-composer.c (finalise): from destroy. (evolution_composer_class_init): gtkobject->gobject stuff. (evolution_composer_new): remove old redundant stuff. svn path=/trunk/; revision=20227
* Don't allow the returned charset to be NULL. (get_file_content): Make sureJeffrey Stedfast2003-03-052-2/+13
| | | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Don't allow the returned charset to be NULL. (get_file_content): Make sure there is buffered data before trying to convert it to UTF-8. svn path=/trunk/; revision=20139
* disconnect any signal handlers on the accounts object. For bug #37873.Not Zed2003-03-042-0/+6
| | | | | | | | | 2003-03-04 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (destroy): disconnect any signal handlers on the accounts object. For bug #37873. svn path=/trunk/; revision=20135
* Same as below.Jeffrey Stedfast2003-02-263-5/+12
| | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Same as below. * e-msg-composer-attachment-bar.c: Go back to using e_iconv_charset_name(). svn path=/trunk/; revision=20059
* Make sure the url is != NULL? I can't think of anything else in this codeJeffrey Stedfast2003-02-252-0/+8
| | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (drag_data_received): Make sure the url is != NULL? I can't think of anything else in this code that could possibly cause bug #38382. svn path=/trunk/; revision=20046
* Fixed a memory leak.Jeffrey Stedfast2003-02-252-0/+6
| | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Fixed a memory leak. svn path=/trunk/; revision=20044
* Don't save the HTML format setting to gconf. This option menu is meant forJeffrey Stedfast2003-02-232-5/+8
| | | | | | | | | | | | 2003-02-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): Don't save the HTML format setting to gconf. This option menu is meant for a per-essage setting (ie. once the composer closes, the next composer will again use the default and not what the user chose last time). svn path=/trunk/; revision=20004
* build libcomposer as a shared library so it can be linked intoDan Winship2003-02-222-2/+7
| | | | | | | * Makefile.am: build libcomposer as a shared library so it can be linked into libevolution-mail.so without portability problems svn path=/trunk/; revision=19992
* Same as below.Jeffrey Stedfast2003-02-213-4/+12
| | | | | | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as below. * e-msg-composer-attachment-bar.c (get_default_charset): Use camel_charset_canonical_name() rather than e_iconv_charset_name() as the latter will be removed shortly. svn path=/trunk/; revision=19979
* default_account is now a string value, not an int.Jeffrey Stedfast2003-02-193-17/+30
| | | | | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): default_account is now a string value, not an int. (create_from_optionmenu): Same. (header_new_recipient): Use g_signal_connect_data() instead of the now deprecated gtk_signal_connect_full(). svn path=/trunk/; revision=19934
* clean upDan Winship2003-02-069-11/+36
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: clean up * e-msg-composer.c (autosave_manager_query_load_orphans): #include string.h (menu_file_send_cb): s/gtk_signal_emit/g_signal_emit/ * e-msg-composer-attachment.c: #include string.h (e_msg_composer_attachment_edit): s/E_GLADEDIR/EVOLUTION_GLADEDIR * e-msg-composer-attachment-bar.c: #include string.h (pixbuf_for_mime_type): s/ICONSDIR/IMAGESDIR/ * e-msg-composer-hdrs.c: #include string.h * e-msg-composer-select-file.c (run_selector): Remove unused var * evolution-composer.c: #include string.h (evolution_composer_init): Remove unused var * listener.c: #include string.h (listener_new): Remove unused var svn path=/trunk/; revision=19804
* Split out the mailto handling code from here so we can use it in theJeffrey Stedfast2003-02-062-36/+60
| | | | | | | | | | | | | 2003-02-05 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Split out the mailto handling code from here so we can use it in the drag-n-drop code too. (drag_data_received): If we find a mailto: url in the text/uri-list drop, pass that off to handle_mailto() so it can fill in the fields for us. svn path=/trunk/; revision=19768
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-12/+12
| | | | svn path=/trunk/; revision=19736
* ops, buildJeffrey Stedfast2003-02-041-5/+2
| | | | | | ops, build svn path=/trunk/; revision=19713
* Just use gnome_vfs_get_mime_type_from_name().Jeffrey Stedfast2003-02-042-21/+8
| | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c: Just use gnome_vfs_get_mime_type_from_name(). svn path=/trunk/; revision=19712
* Give gnome_vfs_get_uri_from_local_path a full path.Jeffrey Stedfast2003-02-022-10/+31
| | | | | | | | | 2003-02-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (update_mime_type): Give gnome_vfs_get_uri_from_local_path a full path. svn path=/trunk/; revision=19702
* If the subject or body components of the mailto url are not in UTF-8,Jeffrey Stedfast2003-01-282-2/+27
| | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): If the subject or body components of the mailto url are not in UTF-8, convert them to UTF-8. svn path=/trunk/; revision=19662
* Fixed a #warning by converting the filename into a uri before passing itJeffrey Stedfast2003-01-283-30/+164
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (update_mime_type): Fixed a #warning by converting the filename into a uri before passing it into gnome_vfs_get_mime_type() since that function really needs a uri. 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (init): Get the list of accounts here and ref the account-list. (destroy): Unref the accounts list here. (create_from_optionmenu): Connect to the added/changed/removed account-list signals here. (account_added_cb): New callback function that adds the newly added account to the from-dropdown menu. (account_changed_cb): New callback that changes the label for the account that got changed in the dropdown menu. (account_removed_cb): Removes the account from the from dropdown menu. svn path=/trunk/; revision=19654
* (iconsdir): Remove, this is now defined inEttore Perazzoli2003-01-252-2/+5
| | | | | | configure.in. svn path=/trunk/; revision=19621
* Load the view menu states from gconf. (e_msg_composer_set_send_html): SaveJeffrey Stedfast2003-01-243-102/+84
| | | | | | | | | | | | | | | | | | 2003-01-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_load_config): Load the view menu states from gconf. (e_msg_composer_set_send_html): Save the setting via gconf instead of bonobo-config. (e_msg_composer_set_view_from): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_cc): Again here. (e_msg_composer_set_view_bcc): And finally here. (setup_ui): Fixed a #warning - use gconf instead of bonobo-conf. (destroy): No need to sync/destroy the bonobo-conf db, we don't use it anymore. svn path=/trunk/; revision=19606
* *** empty log message ***Ettore Perazzoli2003-01-233-5/+13
| | | | svn path=/trunk/; revision=19555
* Updated to use EAccountList and iterators. (evolution_composer_init):Jeffrey Stedfast2003-01-186-49/+92
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-17 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (impl_Composer_set_headers): Updated to use EAccountList and iterators. (evolution_composer_init): Updated to use EAccount. * e-msg-composer.c (from_changed_cb): Updated to use the EAccount object. (e_msg_composer_new_with_message): Same. (e_msg_composer_get_preferred_account): Updated to return an EAccount object. (set_editor_signature): Updated to use an EAccountIdentity pointer. (get_signature_html): Same. * e-msg-composer-hdrs.c (create_from_optionmenu): Updated to use EAccount and EAccountList foo. (destroy): Same here. (e_msg_composer_hdrs_set_from_account): Here too. (e_msg_composer_hdrs_get_from): Updated. svn path=/trunk/; revision=19511
* mail_config_get_signature_list now returns a GSList.Jeffrey Stedfast2003-01-172-13/+19
| | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (signature_cb): mail_config_get_signature_list now returns a GSList. (setup_signatures_menu): Same. (set_signature_gui): Here too. svn path=/trunk/; revision=19498
* (do_exit): Make dialog HIG compliantEttore Perazzoli2003-01-152-3/+14
| | | | | | [Discard/Cancel/Save]. svn path=/trunk/; revision=19471
* don't pass NULL to bonobo_widget_set_property.Chris Toshok2003-01-102-3/+10
| | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): don't pass NULL to bonobo_widget_set_property. (e_msg_composer_hdrs_set_cc): same. (e_msg_composer_hdrs_set_bcc): same. svn path=/trunk/; revision=19383
* need to ref/sink "new" so that the g_object_unref doesn't spew a warning.Chris Toshok2003-01-102-1/+9
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_new): need to ref/sink "new" so that the g_object_unref doesn't spew a warning. svn path=/trunk/; revision=19368
* Icons are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-092-1/+6
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19291
* Use gconf to get the default account index.Jeffrey Stedfast2003-01-092-36/+48
| | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): Use gconf to get the default account index. (e_msg_composer_hdrs_set_from_account): Same. svn path=/trunk/; revision=19286
* use the composer's charset gconf keyJeffrey Stedfast2003-01-082-2/+2
| | | | svn path=/trunk/; revision=19274
* New convenience function. (attach_to_multipart): UseJeffrey Stedfast2003-01-082-1/+23
| | | | | | | | | | 2003-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (get_default_charset): New convenience function. (attach_to_multipart): Use get_default_charset(). svn path=/trunk/; revision=19270
* Convenience function. (get_file_content): Use the convenience function toJeffrey Stedfast2003-01-082-4/+44
| | | | | | | | | | | | | | 2003-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset): Convenience function. (get_file_content): Use the convenience function to get the default charset setting. (best_charset): Same. (e_msg_composer_new): Use gconf to get the send_html setting. (e_msg_composer_new_post): Same. svn path=/trunk/; revision=19269
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-062-1/+5
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* fixed to build with -DG[TK]_DISABLE_DEPRECATEDJeffrey Stedfast2003-01-032-1/+2
| | | | svn path=/trunk/; revision=19208
* fixesJeffrey Stedfast2003-01-032-12/+5
| | | | svn path=/trunk/; revision=19206
* Use camel_text_to_html(). (e_msg_composer_new_from_url): Same.Jeffrey Stedfast2002-12-173-17/+25
| | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Use camel_text_to_html(). (e_msg_composer_new_from_url): Same. * evolution-composer.c (impl_Composer_set_body): Use camel_text_to_html(). svn path=/trunk/; revision=19127
* Fix for bug #33295Jeffrey Stedfast2002-12-082-71/+72
| | | | | | | | | | | | | | | | | 2002-12-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #33295 * e-msg-composer-attachment.c: Change the parent_class to a GObjectClass pointer instead of a GtkObjectClass pointer. (e_msg_composer_attachment_edit): Ref the attachment object so that if the attachment is removed while it is still being edited, the attachment object will still exist and therefor foil the user's attempt to make Evolution crash when they close the properties dialog for this attachment. (close_cb): Unref the attachment object. svn path=/trunk/; revision=19053
* Get rid of the unused exception variable.Jeffrey Stedfast2002-12-042-5/+5
| | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): Get rid of the unused exception variable. svn path=/trunk/; revision=18997
* removed warning about e_notice. its used too much, its here to stay.Not Zed2002-12-0211-45/+51
| | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (save): removed warning about e_notice. its used too much, its here to stay. * *.[ch]: run fix.sh over everything. svn path=/trunk/; revision=18973
* removed merge conflictsJeffrey Stedfast2002-12-021-1/+0
| | | | svn path=/trunk/; revision=18970
* s/g_str[n]casecmp/str[n]casecmpJeffrey Stedfast2002-12-022-11/+16
| | | | | | | | 2002-12-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: s/g_str[n]casecmp/str[n]casecmp svn path=/trunk/; revision=18969
* properly chain finalise.Not Zed2002-11-262-2/+9
| | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (composer_finalise): properly chain finalise. svn path=/trunk/; revision=18918
* Remove the window size setting. (e_msg_composer_attachment_bar_new): MoveNot Zed2002-11-252-18/+26
| | | | | | | | | | | | 2002-11-25 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (init): Remove the window size setting. (e_msg_composer_attachment_bar_new): Move the window size setting here. Also set icon width based on 15 approximate characters, so the icon text is more readable. svn path=/trunk/; revision=18906
* rewrote most of this. Just use gtkfileselection directly, noNot Zed2002-11-254-223/+91
| | | | | | | | | | | | | | | | | | | | | | | | 2002-11-22 Not Zed <NotZed@Ximian.com> * e-msg-composer-select-file.c: rewrote most of this. Just use gtkfileselection directly, no e-file-selector, much smaller/simpler. 2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (remove_attachment): fix g_signal_emit params, detail in wrong spot. (add_common): Same. * e-icon-list.c (icon_new_from_pixbuf): remove the 'use_broken_event_handling' set. (emit_select): Add detail to signal emit. (text_changed): Same. * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. svn path=/trunk/; revision=18904
* Duh! dont free subject & simplify logic a little.Not Zed2002-11-213-9/+14
| | | | | | | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. 2002-11-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (entry_changed): duh, emit the signal using an initialised value(!). svn path=/trunk/; revision=18873
* applied plain_signature_fix.patchRadek Doulik2002-11-202-1/+6
| | | | svn path=/trunk/; revision=18841
* dont unref after destroy. duh.Not Zed2002-11-195-24/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (add_from_file): dont unref after destroy. duh. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): Add type code to set_property call. (e_msg_composer_hdrs_set_cc): " (e_msg_composer_hdrs_set_bcc): " (e_msg_composer_hdrs_get_to): Do the same for get_property calls. (init): ref/sink the tooltip object. (e_msg_composer_hdrs_get_type): fix return type. * e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): we want version 3.0 not 1.1. (create_composer): Add type code to set property call. (autosave_manager_query_load_orphans): my bad, we dont unref dialog's once we've destroyed 'em. (build_message): " (get_file_content): " (save): " (do_exit): " (composer_dispose): moved the autosave shutdown here. svn path=/trunk/; revision=18836
* Remove check for gtk_main_level(). as far as i can tell it serves no realNot Zed2002-11-182-36/+53
| | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): Remove check for gtk_main_level(). as far as i can tell it serves no real purpose, and i think gtkmain is now redundant. (e_msg_composer_new_with_message): Same here. (destroy): moved some stuff into finalise, and made destroy mulitcall safe. svn path=/trunk/; revision=18819
* ignore composer-marshal.[ch]Chris Toshok2002-11-171-0/+1
| | | | svn path=/trunk/; revision=18804
* Removed {BEGIN,END}_GNOME_DECLS.Ettore Perazzoli2002-11-144-9/+9
| | | | | | | | | | | * listener.h: Removed {BEGIN,END}_GNOME_DECLS. * e-msg-composer-select-file.c: Do not #include <libgnome/gnome-defs.h>. * e-msg-composer.c: Likewise. * listener.h: Likewise. svn path=/trunk/; revision=18738
* bonobo api changes.Not Zed2002-11-132-3/+5
| | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (setup_ui): bonobo api changes. svn path=/trunk/; revision=18733
* Use the right object_new method.Not Zed2002-11-133-3/+14
| | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * e-icon-list.c (e_icon_list_new): Use the right object_new method. * e-icon-list.h: get rid of BEGIN/END_GNOME_DECLS stuff. svn path=/trunk/; revision=18730
* Remove some unused ehaders and ones that cause compilation failures (suchJeffrey Stedfast2002-11-113-34/+30
| | | | | | | | | | | 2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: Remove some unused ehaders and ones that cause compilation failures (such as gnome-defs.h). * e-icon-list.h: Same. svn path=/trunk/; revision=18694
* Fix bonobo object setup.Not Zed2002-11-0816-750/+745
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Not Zed <NotZed@Ximian.com> * listener.c: Fix bonobo object setup. * e-msg-composer-hdrs.c: Remove oaf stuff, fix destroy to be multi-call safe. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Remove utf8 from locale conversions, & glib api changes. (ok_cb): " * e-msg-composer-attachment-bar.c (add_from_file): gtk message dialog. (pixbuf_for_mime_type): glib,gnome-vfs api changes. (init): Estimate the icon_height based on the pango font description size, this is probably not correct. (properties_cb): (remove_cb): Changed signature for gnomeui callbacks. (popup_icon_context_menu): (popup_context_menu): popup_menu api change (destroy): Protect from multiple calls. (e_msg_composer_attachment_bar_new): Remove push/pop visual/colormap stuff. * composer-marshal.list: The list of marshallers used by the composer. * Makefile.am (composer-marshal.h): Added composer marshal builder. * evolution-composer.c (class_init): bonobo object epv setup change. (factory_fn): Fix changes to factory callback. * e-icon-list.c: (icon_get_height): Use bounding box to calc height. (icon_event): drop gtk_selection_extended. (e_icon_list_remove): " (select_icon): (unselect_icon): " * e-msg-composer.c (autosave_save_draft): Dup fd rather than poke camel_stream_fd's data. Also, use camel_stream_close() rather than flush. (autosave_manager_query_load_orphans): Port to gtk dialog. (autosave_query_cb): Removed, redundant. (save): Port to gtkdialog. (prepare_engine): Fix bonobo-object-client code. (get_file_content): gtk dialog (do_exit): gtk dialog. (setup_signatures_menu): dump gtkutf8 stuff. (marshal_NONE__NONE_INT): What WAS jeff thinking? Removed :) (class_init): g object setup. (e_msg_composer_get_type): " (create_composer): remove bonobo_window_construct, use create property instead. g_signal stuff. bonobo stuff. (is_special_header): Use ascii_strncasecmp (e_msg_composer_set_pending_body): gtk->g_object_get/set_data. (e_msg_composer_set_body): use ascii_strncasecmp (e_msg_composer_add_inline_image_from_mime_part): make cid const. (autosave_manager_register): (autosave_manager_unregister): Use g_path_get_basename() & account for differences. (composer_shutdown): rename to finalise/etc. (class_init): Use object:finalize instead of shutdown. (e_msg_composer_set_body): Use _() rather than U_(). (build_message): gtk dialog. 2002-11-06 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Add error return to gdk_pixbuf_new_from_file(). svn path=/trunk/; revision=18659
* Add support for an attach option in the mailto: url.Jeffrey Stedfast2002-11-022-1/+8
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Add support for an attach option in the mailto: url. svn path=/trunk/; revision=18489
* comment fixJeffrey Stedfast2002-11-021-1/+1
| | | | svn path=/trunk/; revision=18488
* Make sure to save References and In-Reply-To headers. Fixes bug #32932.Jeffrey Stedfast2002-10-312-1/+8
| | | | | | | | | 2002-10-29 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Make sure to save References and In-Reply-To headers. Fixes bug #32932. svn path=/trunk/; revision=18469
* Don't set the charset param on text parts nor tha rawtext bit on theJeffrey Stedfast2002-10-282-10/+23
| | | | | | | | | | 2002-10-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Don't set the charset param on text parts nor tha rawtext bit on the content if a charset for the part is already specified. svn path=/trunk/; revision=18449
* (size_to_string): Return NULLEttore Perazzoli2002-10-262-3/+14
| | | | | | | | instead of the empty string if the size is less than one K. (update): Only put the size if size_to_string() doesn't return NULL. [#32751] svn path=/trunk/; revision=18439
* Only add the account address to the list of addresses if it is non-NULL.Jeffrey Stedfast2002-10-222-1/+9
| | | | | | | | | | | 2002-10-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): Only add the account address to the list of addresses if it is non-NULL. Fixes bug #32446 although it shouldn't ever happen anyway (an account address is not allowed to be NULL). svn path=/trunk/; revision=18401
* We need to treat message/rfc822 streams differently. Fixes bug #32378.Jeffrey Stedfast2002-10-172-1/+17
| | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): We need to treat message/rfc822 streams differently. Fixes bug #32378. svn path=/trunk/; revision=18382
* Mark the file selector modal. Quick fix for bug #32256.Not Zed2002-10-172-0/+6
| | | | | | | | | 2002-10-16 Not Zed <NotZed@Ximian.com> * e-msg-composer-select-file.c (select_file_internal): Mark the file selector modal. Quick fix for bug #32256. svn path=/trunk/; revision=18380
* Set content->rawtext to TRUE for text parts because the content is in itsJeffrey Stedfast2002-10-082-7/+33
| | | | | | | | | | | | | 2002-10-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Set content->rawtext to TRUE for text parts because the content is in its raw form (since we didn't know the charset when we created it). Also only write out the content-object to discover the best encoding, we don't want to include the headers of the MIME part. Second half of the fix for bug #31655. svn path=/trunk/; revision=18335
* Don't create a new file if the file doesn't exist.Jeffrey Stedfast2002-10-052-2/+8
| | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): Don't create a new file if the file doesn't exist. svn path=/trunk/; revision=18325
* If the user hits cancel when signing/encrypting, don't continueJeffrey Stedfast2002-10-022-2/+8
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If the user hits cancel when signing/encrypting, don't continue constructing the message, instead abort (and just don't pop up a dialog). svn path=/trunk/; revision=18291
* When signing/encrypting a part, if a USER_CANCEL occurs, re-use the partJeffrey Stedfast2002-10-022-2/+10
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): When signing/encrypting a part, if a USER_CANCEL occurs, re-use the part otherwise unref it and replace it with the new part. svn path=/trunk/; revision=18290
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-013-2/+10
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* let the caller set the "From" account too (by name or address).Dan Winship2002-09-303-4/+34
| | | | | | | | | | * Evolution-Composer.idl (setHeaders): let the caller set the "From" account too (by name or address). * evolution-composer.c (impl_Composer_set_headers): Update for that. svn path=/trunk/; revision=18260
* Don't reuse the part that we've signed and/or encrypted, create a new partJeffrey Stedfast2002-09-282-1/+10
| | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Don't reuse the part that we've signed and/or encrypted, create a new part container instead. Fixes bug #31379. svn path=/trunk/; revision=18257
* Use "mail/*" for the allowed_types for the posting folder selector.Dan Winship2002-09-262-1/+6
| | | | | | | * e-msg-composer-hdrs.c (create_headers): Use "mail/*" for the allowed_types for the posting folder selector. svn path=/trunk/; revision=18224
* Only append the account name to the end of the From menu item if the emailDan Winship2002-09-252-4/+30
| | | | | | | | | | | * e-msg-composer-hdrs.c (create_from_optionmenu): Only append the account name to the end of the From menu item if the email address is not unique. (That was added for people who have multiple accounts with the same email address but different transports. The rest of us don't need to be reminded of the account name, and having it there can make the window very wide.) svn path=/trunk/; revision=18207
* Don't mark empty string with _().Zbigniew Chyla2002-09-242-1/+6
| | | | | | | | | 2002-09-24 Zbigniew Chyla <cyba@gnome.pl> * e-msg-composer-attachment-bar.c (size_to_string): Don't mark empty string with _(). svn path=/trunk/; revision=18197
* Removed a #warning.Ettore Perazzoli2002-09-243-13/+12
| | | | | | | | | * e-icon-list.c (icon_new_from_pixbuf): Removed a #warning. * e-msg-composer-attachment-bar.c (size_to_string): Don't use dots here so we don't get funny wrapping from GnomeIconList. [#236] svn path=/trunk/; revision=18176
* Fix non-ANSI switch statementDan Winship2002-09-232-0/+5
| | | | | | * e-msg-composer.c (save): Fix non-ANSI switch statement svn path=/trunk/; revision=18159
* allow to select last 2 menu itemsRadek Doulik2002-09-202-1/+6
| | | | | | | | | 2002-09-19 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): allow to select last 2 menu items svn path=/trunk/; revision=18128
* Handle multipart/signed and multipart/encrypted parts in a more expectedJeffrey Stedfast2002-09-182-33/+51
| | | | | | | | | | 2002-09-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_from_multipart): Handle multipart/signed and multipart/encrypted parts in a more expected way. Fixes bug #28453. svn path=/trunk/; revision=18099
* Mark a string for translation.Kjartan Maraas2002-09-162-1/+5
| | | | | | | | 2002-09-15 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: Mark a string for translation. svn path=/trunk/; revision=18072
* (composer_key_pressed): Don't chain the eventEttore Perazzoli2002-09-062-9/+10
| | | | | | | handler here -- that's just wrong! Also stop emission of the signal when we catch Escape. svn path=/trunk/; revision=17987
* Make it so that the composer will close when the user hits Escape.Jeffrey Stedfast2002-09-052-14/+40
| | | | | | | | | 2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Make it so that the composer will close when the user hits Escape. svn path=/trunk/; revision=17983
* removed "Set as default" menu itemRadek Doulik2002-08-282-53/+4
| | | | | | | | | 2002-08-27 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): removed "Set as default" menu item svn path=/trunk/; revision=17878
* Oops, we were overwriting 'multipart' with our child multipart. FixesPeter Williams2002-08-272-11/+21
| | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * e-msg-composer.c (handle_multipart): Oops, we were overwriting 'multipart' with our child multipart. Fixes 29399. (handle_multipart_alternative): Here too. svn path=/trunk/; revision=17864
* Fixes bug #29016Jeffrey Stedfast2002-08-233-89/+118
| | | | | | | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #29016 * e-msg-composer.c (e_msg_composer_new_with_message): If the X-Evolution-PostTo header exists, then treat this message composer as a PostTo composer rather than a mail composer. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): Set the X-Evolution-PostTo header if that is the mdoe we are in. svn path=/trunk/; revision=17843
* Use an EvolutionFolderSelectorButton instead of a label to indicate theDan Winship2002-08-192-7/+22
| | | | | | | | | | | | * e-msg-composer-hdrs.c (create_headers): Use an EvolutionFolderSelectorButton instead of a label to indicate the posting destination. #27920. (e_msg_composer_hdrs_set_post_to): Use evolution_folder_button_set_uri. (e_msg_composer_hdrs_get_post_to): Use evolution_folder_button_get_folder. svn path=/trunk/; revision=17796
* Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_signDan Winship2002-08-152-1/+17
| | | | | | | | | * e-msg-composer.c (from_changed_cb): Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_sign is set. (e_msg_composer_set_body): If setting a text/calendar body and pgp_no_imip_sign is true, turn off signing. svn path=/trunk/; revision=17779
* Make the warning dialog display the message subject so that it is moreJeffrey Stedfast2002-08-142-12/+28
| | | | | | | | | | 2002-08-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): Make the warning dialog display the message subject so that it is more clear which composer the dialog is referring to. Fixes bug #25467. svn path=/trunk/; revision=17772
* Set the file-selection window icon. Fixes the mailer part of bug #7368.Jeffrey Stedfast2002-08-135-53/+64
| | | | | | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the file-selection window icon. Fixes the mailer part of bug #7368. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17763
* Don't call new_from_mime_part() since that function now does some copyingJeffrey Stedfast2002-08-132-9/+36
| | | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17760
* Parse the auto-cc/bcc recipients and then later when parsing the cc/bccJeffrey Stedfast2002-08-012-12/+80
| | | | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Parse the auto-cc/bcc recipients and then later when parsing the cc/bcc recipients into EDestination objects, if the address is an auto-*cc address, then set auto_recipient to TRUE on that EDestination. This fixes bug #28339. svn path=/trunk/; revision=17664
* new helper function (decode_signature_name): new helper functionRadek Doulik2002-07-302-4/+112
| | | | | | | | | | | 2002-07-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (encode_signature_name): new helper function (decode_signature_name): new helper function (get_signature_html): use encode_signature_name (set_signature_gui): use decode_signature_name svn path=/trunk/; revision=17636
* (set_signature_gui): new helper method to set signature from draftRadek Doulik2002-07-272-1/+40
| | | | | | | message (e_msg_composer_new_with_message): use set_signature_gui svn path=/trunk/; revision=17621
* don't assert on default, when ESC is pressed, the dialog is closed as wellRadek Doulik2002-07-272-3/+9
| | | | | | | | | 2002-07-26 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (do_exit): don't assert on default, when ESC is pressed, the dialog is closed as well and we get button number -1 svn path=/trunk/; revision=17611
* Fix ChangeLog.Ettore Perazzoli2002-07-271-1/+2
| | | | svn path=/trunk/; revision=17610
* Special-case message/digest and give it a nice icon. [#9786]Ettore Perazzoli2002-07-273-2/+27
| | | | | | | | | * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Special-case message/digest and give it a nice icon. [#9786] * Makefile.am (INCLUDES): Add -D for EVOLUTION_ICONSDIR. svn path=/trunk/; revision=17609
* Create the Post-To header. (headers_set_visibility): Possibly show theJeffrey Stedfast2002-07-265-136/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_headers): Create the Post-To header. (headers_set_visibility): Possibly show the Post-To header. (attach_headers): Attach the Post-To header. (e_msg_composer_hdrs_set_post_to): Set the text for the Post-To header. (e_msg_composer_hdrs_get_post_to_label): Return the label widget for this header pair. (e_msg_composer_hdrs_set_visible_mask): New function to set the visible mask (so we can disallow certain headers to be shown). (e_msg_composer_hdrs_new): Save the visible mask argument. (setup_headers): To: does not always have to be visible anymore. (e_msg_composer_hdrs_get_post_to): New function to get the url for the Post-To folder. * e-msg-composer.c (e_msg_composer_get_visible_flags): Set the Post-To bit when it is supposed to be visible. (e_msg_composer_new_post): Set the visible_mask to only allow the headers needed for Posting. svn path=/trunk/; revision=17590
* Fix spelling.Dan Winship2002-07-262-1/+5
| | | | | | * e-msg-composer.c (e_msg_composer_set_body): Fix spelling. svn path=/trunk/; revision=17588
* restart automanager to avoid multiple dialog apearingRadek Doulik2002-07-242-2/+11
| | | | | | | | | 2002-07-23 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_run): restart automanager to avoid multiple dialog apearing svn path=/trunk/; revision=17559
* Applied patch below.Not Zed2002-07-232-1/+11
| | | | | | | | | | | | | | 2002-07-23 Not Zed <NotZed@Ximian.com> * Applied patch below. 2002-07-19 Christian Kreibich <christian@whoop.org> * e.msg-composer.c (get_signature_html): Test for the signature delimiter not only at the beginning of a signature file, but also inside the signature. svn path=/trunk/; revision=17547
* Reverted some code that got committed by accident.Jeffrey Stedfast2002-07-232-4/+12
| | | | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some code that got committed by accident. (e_msg_composer_set_view_cc): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_from): And here. svn path=/trunk/; revision=17542
* fixed up some gtk-doc commentsJeffrey Stedfast2002-07-231-5/+13
| | | | svn path=/trunk/; revision=17540
* more cleanupJeffrey Stedfast2002-07-231-78/+78
| | | | svn path=/trunk/; revision=17539
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-232-12/+40
| | | | | | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). (get_file_content): Signatures are now supposed to be in UTF-8 and not the user's locale charset, so we must first read in the content, then check that it is valid UTF-8. If it isn't, then we need to try to convert it to UTF-8. svn path=/trunk/; revision=17538
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-233-177/+176
| | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). svn path=/trunk/; revision=17537
* removed insert file menu itemRadek Doulik2002-07-232-36/+4
| | | | svn path=/trunk/; revision=17534
* This should use address_encode, since its an rfc822 address, notNot Zed2002-07-192-1/+7
| | | | | | | | | | 2002-07-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): This should use address_encode, since its an rfc822 address, not address_format which is for display. svn path=/trunk/; revision=17516
* use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved"Radek Doulik2002-07-182-3/+11
| | | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (save): use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved" gtkhtml command svn path=/trunk/; revision=17493
* Set the from-account last so that auto-cc/bcc recipients don't getJeffrey Stedfast2002-07-172-1/+7
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_headers): Set the from-account last so that auto-cc/bcc recipients don't get overwritten when setting the cc/bcc recipient fields. svn path=/trunk/; revision=17487
* Instead of doing this with a weakref, do it by connecting to the destroyPeter Williams2002-07-173-9/+24
| | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * e-msg-composer.c (create_composer): Instead of doing this with a weakref, do it by connecting to the destroy signal. The weakref was not getting notified in certain conditions that I could never really pin down, and this caused problems at exit. * e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to before from, because create_from_optionmenu causes from_changed to be called, which expects reply_to.entry to exist. svn path=/trunk/; revision=17480
* added save_html_object_data parameter, use gtkhtml command to save objectRadek Doulik2002-07-163-6/+22
| | | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (build_message): added save_html_object_data parameter, use gtkhtml command to save object data when wanted svn path=/trunk/; revision=17466
* Add include lines to get ebook headers relative to <ebook/foo.h>, notPeter Williams2002-07-112-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * tools/Makefile.am (INCLUDES): Add include lines to get ebook headers relative to <ebook/foo.h>, not "foo.h". addressbook: 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so that the installed headers will work sanely. * backend/ebook/e-card-cursor.h: * backend/ebook/e-book-view.h: * backend/ebook/e-card-simple.h: * backend/ebook/e-card.h: * backend/ebook/e-destination.h: Same. * printing/Makefile.am (INCLUDES): add -Iaddressbook/backend to access the ebook headers. Also the builddir version to get the generated addressbook.h * gui/widgets/Makefile.am (INCLUDES): Same builddir fix. * gui/merging/e-card-merging.c: Fix an ebook #include. * gui/merging/Makefile.am (INCLUDES): Same idea. * gui/contact-list-editor/Makefile.am (INCLUDES): Same. * gui/contact-editor/Makefile.am (INCLUDES): Same builddir change. calendar: 2002-07-08 Peter Williams <peterw@ximian.com> * gui/Makefile.am (INCLUDES): Change the -I flags to get it to play nicely with the new Ebook header paradigm. * gui/dialogs/Makefile.am: Same. * gui/e-meeting-model.c: More of the same. * gui/dialogs/e-delegate-dialog.c: * gui/dialogs/e-meeting-model.c: * gui/dialogs/comp-editor-util.c: Fix include lines to get ebook headers. * pcs/Makefile.am: Same. composer: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Fix cflags for ebook header namespacing. importers: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Fix cflags to get at ebook headers correctly. * pine-importer.c: Fix include lines to get ebook headers the "right" way. * evolution-gnomecard-importer.c: Same. mail: 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I flags to get the ebook headers. svn path=/trunk/; revision=17411
* oops, forgot to saveJeffrey Stedfast2002-07-061-1/+1
| | | | svn path=/trunk/; revision=17378
* Don't connect to the postpone signal, but do connect to the save-draftJeffrey Stedfast2002-07-065-58/+24
| | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't connect to the postpone signal, but do connect to the save-draft signal. (evolution_composer_factory_init): No longer takes a postpone_cb argument, but does now take a save_draft_cb argument. * e-msg-composer.c (menu_file_send_later_cb): Removed. (class_init): Removed the POSTPONE signal. (setup_ui): Don't need to swap the Send/SendLater tooltips and accels anymore, since SendLater no longer exists. svn path=/trunk/; revision=17377