aboutsummaryrefslogtreecommitdiffstats
path: root/composer
Commit message (Collapse)AuthorAgeFilesLines
* Factorize some code.Frédéric Crozat2006-02-102-29/+18
| | | | | | | | * e-msg-composer-hdrs.c: (e_msg_composer_hdrs_get_internal), (e_msg_composer_hdrs_get_to), (e_msg_composer_hdrs_get_cc), (e_msg_composer_hdrs_get_bcc): Factorize some code. svn path=/trunk/; revision=31465
* fixing a patch to again fix bug 325276.Andre Klapper2006-02-072-1/+4
| | | | | | | 2006-02-07 Andre Klapper <a9016009@gmx.de> * mail-composer.error.xml: fixing a patch to again fix bug 325276. svn path=/trunk/; revision=31431
* Use guint for 1 bit bitfield, use g_slist_delete_link instead ofKjartan Maraas2006-01-305-20/+22
| | | | | | | | | | | | | | | | | 2006-01-24 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-hdrs.c: (account_removed_cb), (header_new_recipient): Use guint for 1 bit bitfield, use g_slist_delete_link instead of g_slist_remove_link+g_slist_free1, Remove some unused vars. * e-msg-composer.c: (build_message), (set_editor_text), (autosave_manager_query_load_orphans), (e_msg_composer_new_with_message): Remove unused vars and rename a local variable with a name clash. * evolution-composer.c: (evolution_composer_init): Remove unused var * listener.c: Remove stray semi colon. svn path=/trunk/; revision=31358
* 2006-1-15 Srinivasa Ragavan <sragavan@novell.comSrinivasa Ragavan2006-01-162-22/+72
| | | | | | | | | | | | ** Committing the patch for Johnny Jacob ** Fixes bug #323127 * e-msg-composer.c (create_composer) : Add a Expander for attachments bar. (show_attachments): Show/Hide attachment bar. (attachment_expander_activate_cb) : Event handler for attachment bar. svn path=/trunk/; revision=31184
* ** Fixes bug #326378Srinivasa Ragavan2006-01-142-2/+9
| | | | | | | | | | | 2006-01-13 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #326378 * mail-composer.error.xml: Added mnemonics to Recover, Do not Recover buttons in composer. svn path=/trunk/; revision=31175
* Committing Rohini's patch.Srinivasa Ragavan2006-01-102-3/+12
| | | | | | | | 2006-01-10 Srinivasa Ragavan <sragavan@novell.com> * Committing Rohini's patch. svn path=/trunk/; revision=31113
* use libedataserver/e-account.h instead of e-util/e-account.h. useSimon Zheng2006-01-063-2/+9
| | | | | | | | | | | 2006-01-06 Simon Zheng <simon.zheng@sun.com> * e-msg-composer-hdrs.h: use libedataserver/e-account.h instead of e-util/e-account.h. * evolution-composer.c: use libedataserver/e-account-list.h instead of e-util/e-account-list.h. svn path=/trunk/; revision=31074
* s/don't/do not/ string changes. Fixes #325276.Harish Krishnaswamy2006-01-011-1/+1
| | | | | | | | 2006-01-01 Harish Krishnaswamy <kharish@novell.com> * s/don't/do not/ string changes. Fixes #325276. svn path=/trunk/; revision=31003
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-182-14/+16
| | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-msg-composer-attachment.c: Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK headers. Use gstdio wrappers. Use GDir instead of dirent. Use g_mkstemp() instead of mkstemp(). Construct xml file names at run-time. svn path=/trunk/; revision=30832
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-172-36/+47
| | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-msg-composer.c: Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK headers. Use gstdio wrappers. Use GDir instead of dirent. Use g_mkstemp() instead of mkstemp(). Construct xml file names at run-time. (autosave_manager_unregister): Close file before unlinking so we don't leave stray autosave files laying around on Win32. svn path=/trunk/; revision=30819
* Committed Johnny's patch.Srinivasa Ragavan2005-12-142-1/+7
| | | | | | | | 2005-12-14 Srinivasa Ragavan <sragavan@novell.com> * Committed Johnny's patch. svn path=/trunk/; revision=30775
* Add support for setting priority of a message.Parthasarathi Susarla2005-12-073-0/+79
| | | | | | | | | | | | | | 2005-12-07 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.[ch]: (build_message): (menu_insert_priority_cb): (setup_ui): (e_msg_composer_get_priority): (e_msg_composer_set_priority): Add support for setting priority of a message. svn path=/trunk/; revision=30734
* ** See bug #322863 Check if the account indeed exists beforeParthasarathi Susarla2005-12-052-2/+13
| | | | | | | | | | | | | 2005-12-05 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #322863 * e-msg-composer.c: (e_msg_composer_new_with_message): Check if the account indeed exists before freeing/duping it. The account would typically not exist, when redirecting mails originated from other accounts which are not configured in ones machine. svn path=/trunk/; revision=30718
* Include e-util-private.h to get redefinition of compile-time pathnames asTor Lillqvist2005-11-262-2/+16
| | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-msg-composer-attachment.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30681
* use composer->priv->charset instead of p->charset. This fixes a crashParthasarathi Susarla2005-10-223-3/+9
| | | | | | | | | | 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.c: (get_file_content): use composer->priv->charset instead of p->charset. This fixes a crash svn path=/trunk/; revision=30554
* Comitted NotZed's patch given on #314701Vivek Jain2005-10-212-7/+18
| | | | | | | | | | | | 2005-10-21 Vivek Jain <jvivek@novell.com> Comitted NotZed's patch given on #314701 ** See bug #314701. * e-msg-composer-hdrs.c (get_account_store_url): don't dereference a null url or create an empty one. svn path=/trunk/; revision=30545
* Little oepsPhilip Van Hoof2005-10-191-10/+0
| | | | svn path=/trunk/; revision=30534
* Little oepsPhilip Van Hoof2005-10-191-17/+1
| | | | svn path=/trunk/; revision=30533
* composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,Philip Van Hoof2005-10-196-805/+1081
| | | | | | | | | | | | 2005-10-19 Philip Van Hoof <pvanhoof@gnome.org> composer/e-msg-composer-select-file.c, composer/e-msg-composer.c, composer/e-msg-composer.h, composer/evolution-composer.c, composer/listener.c, mail/em-composer-utils.c, plugins/mailing-list-actions/mailing-list-actions.c: data hiding svn path=/trunk/; revision=30532
* Reverting the last commitParthasarathi Susarla2005-10-052-2/+6
| | | | | | | | 2005-10-05 Parthasarathi Susarla <sparthasarathi@novell.com> Reverting the last commit svn path=/trunk/; revision=30493
* ** See bug #315987Parthasarathi Susarla2005-10-052-2/+10
| | | | | | | | | | | | 2005-10-05 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #315987 * e-msg-composer-hdrs.c: (create_from_optionmenu): Load the account info in the From header only if the account is enabled svn path=/trunk/; revision=30490
* ** fixes bug #316937Srinivasa Ragavan2005-10-042-0/+9
| | | | | | | | | | | 2005-10-04 Srinivasa Ragavan <sragavan@novell.com> ** fixes bug #316937 * e-msg-composer.c (handle_mailto): Shows the attachments when added via a mailto: url.a svn path=/trunk/; revision=30485
* ** See bug 317337Parthasarathi Susarla2005-09-292-0/+10
| | | | | | | | | | | | 2005-09-29 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 317337 * e-msg-composer.c: (e_msg_composer_new_with_message): Set the proper account name in account_name, so that the from header is set properly. svn path=/trunk/; revision=30419
* Show the bar depending on the number of attachments.Srinivasa Ragavan2005-08-243-5/+19
| | | | | | | | | | | | | | 2005-08-22 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (drop_action): Show the bar depending on the number of attachments. * e-msg-composer-select-file.c (select_attach_response): Show the bar depending on the number of attachments. ** Fixes the bug #313083 svn path=/trunk/; revision=30233
* only define skip_content: if it is used. (menu_file_add_attachment_cb):Not Zed2005-08-243-41/+51
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): only define skip_content: if it is used. (menu_file_add_attachment_cb): fixed the warning. Boy, what on earth is this thing doing! (add_to_bar): fix signature to match code. (emcab_add): more warning fixes for bizarre functions. (emcab_popup_position): more casting crap * e-msg-composer-hdrs.c (addressbook_dialog_response): Remove unused. (account_can_send): make this static, and define before first use. : include missing e-name-selector-entry header. (create_headers): fix casts/style (e_msg_composer_hdrs_set_to, e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc, e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): remove unused str. lazy addressbook hackers! svn path=/trunk/; revision=30218
* C99 keyword 'inline' could not been used as variable name.Mengjie Yu2005-07-272-1/+8
| | | | | | | | | | | 2005-07-27 Mengjie Yu <meng-jie.yu@sun.com> * e-msg-composer-select-file.h: C99 keyword 'inline' could not been used as variable name. Fixes #310198 svn path=/trunk/; revision=29900
* Fix build breakage due to extra whitespace after a backslash.Jody Goldberg2005-07-272-1/+6
| | | | | | | | | 2005-07-26 Jody Goldberg <jody@gnome.org> * Makefile.am : Fix build breakage due to extra whitespace after a backslash. svn path=/trunk/; revision=29894
* Fix make distcheck issues.Harish Krishnaswamy2005-07-272-0/+5
| | | | | | | | 2005-07-26 Harish Krishnaswamy <kharish@novell.com> * Makefile.am: Fix make distcheck issues. svn path=/trunk/; revision=29891
* Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for theSrinivasa Ragavan2005-07-252-0/+6
| | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * e-message-composer.c: Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for the same. Fixes #219242. Commited Devasish patch. svn path=/trunk/; revision=29872
* Use camel_object_unref instead of g_object_unref.Shreyas Srinivasan2005-07-212-5/+10
| | | | | | | | | 2005-07-21 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c (account_can_send): Use camel_object_unref instead of g_object_unref. svn path=/trunk/; revision=29823
* unref the store which was being leaked.Shreyas Srinivasan2005-07-152-6/+11
| | | | | | | | | 2005-07-15 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c: (account_can_send) unref the store which was being leaked. svn path=/trunk/; revision=29778
* add casts in previous patch to fix warnings. (account_can_send): fix theNot Zed2005-07-142-4/+10
| | | | | | | | | | 2005-07-14 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (address_button_clicked_cb): add casts in previous patch to fix warnings. (account_can_send): fix the permission mode name. svn path=/trunk/; revision=29766
* ** See bug #309869S.Antony Vincent Pandian2005-07-142-0/+16
| | | | | | | | | | | 2005-07-13 S.Antony Vincent Pandian <santony@gmail.com> ** See bug #309869 * e-msg-composer-hdrs.c: moves the focus to the corresponding header buttons' entry fields. svn path=/trunk/; revision=29763
* Don't leak the file name here.Kjartan Maraas2005-07-133-2/+12
| | | | | | | | | 2005-07-13 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-select-file.c: (select_attach_response): Don't leak the file name here. svn path=/trunk/; revision=29757
* There are no camel or addressbook/backend directories in evolution.Tor Lillqvist2005-07-132-4/+5
| | | | | | | | | 2005-07-13 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES): There are no camel or addressbook/backend directories in evolution. svn path=/trunk/; revision=29755
* Removed em-attachment* from the build. Remains in the CVS, just incase toSrinivasa Ragavan2005-07-114-43/+204
| | | | | | | | | | | | | | | | | 2005-07-11 Srinivasa Ragavan <sragavan@novell.com> * Makefile.am: Removed em-attachment* from the build. Remains in the CVS, just incase to revert in case of issues. Should go away after 2.3.5. * e-msg-composer.c: (add_inlined_images) (build_message) (menu_file_close_cb) (setup_ui) (attach_message) (drop_action) (e_msg_composer_unrealize) (create_composer) (handle_mailto) (e_msg_composer_add_header) Changed the code to use e_attachment_* from em_attachment* * e-msg-composer.h: Added removed old header includes svn path=/trunk/; revision=29716
* Take into account store permissions (Read Only). These are proxy specificShreyas Srinivasan2005-07-102-36/+68
| | | | | | | | | 2005-07-10 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c: Take into account store permissions (Read Only). These are proxy specific as of now. svn path=/trunk/; revision=29699
* Added widgets in INCLUDES.Kaushal Kumar2005-06-232-3/+3
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Fixed to show the attachment bar, when a message is forwardedSrinivasa Ragavan2005-06-032-0/+8
| | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (e_msg_composer_attach): Fixed to show the attachment bar, when a message is forwarded svn path=/trunk/; revision=29453
* hack up so we dont include mail-component.h anymore, since it now reliesNot Zed2005-06-032-1/+12
| | | | | | | | | | 2005-06-03 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c: hack up so we dont include mail-component.h anymore, since it now relies on files generated in mail/ svn path=/trunk/; revision=29452
* Show attachment bar when attachments are added e-msg-composer.cSrinivasa Ragavan2005-06-033-8/+42
| | | | | | | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-select-file.c (select_attach_response): Show attachment bar when attachments are added e-msg-composer.c (attachment_bar_changed_cb), (drop_action), (drag_data_received), (create_composer): Added support to DnD targets to the composer GtkHTML window. Also show the attachment bar when there are attachments and hide when all attachments are removed. svn path=/trunk/; revision=29451
* e-msg-composer-attachment.cSrinivasa Ragavan2005-05-272-0/+5
| | | | | | | | 2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new_from_mime_part); Fixed a bug, which considered forwarded mails as remote files. svn path=/trunk/; revision=29416
* Fixed a potential memory leak.Srinivasa Ragavan2005-05-242-3/+8
| | | | | | | | | 2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment.c (finalise): Fixed a potential memory leak. svn path=/trunk/; revision=29403
* Added attachment of remote URL. The dnd of url, downloads the files andSrininvasa Ragavan2005-05-238-40/+433
| | | | | | | | | | | 2005-05-23 Srininvasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h, e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c, e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL. The dnd of url, downloads the files and attaches to the mail. svn path=/trunk/; revision=29399
* composer/e-message-composer.c calendar/gui/dialogs/comp-editor.cSrinivasa Ragavan2005-05-162-83/+16
| | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> * composer/e-message-composer.c * calendar/gui/dialogs/comp-editor.c * ui/evolutoin-message-composer.xml Removed the expander for the attachment bar and made visible always. svn path=/trunk/; revision=29373
* moved e-error to e-util.Not Zed2005-05-164-3/+7
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util. svn path=/trunk/; revision=29365
* Set a mnemonic for the "Attach" buttonRodney Dawes2005-05-092-1/+6
| | | | | | | | | 2005-05-09 Rodney Dawes <dobey@novell.com> * e-msg-composer-select-file.c (get_selector): Set a mnemonic for the "Attach" button svn path=/trunk/; revision=29320
* Use "Attach" as the text for the "Open" action button in the file chooserRodney Dawes2005-05-072-1/+6
| | | | | | | | | 2005-05-06 Rodney Dawes <dobey@novell.com> * e-msg-composer-select-file.c (get_selector): Use "Attach" as the text for the "Open" action button in the file chooser svn path=/trunk/; revision=29309
* renamed from mail-errors.xml, add i18n tags, fix some whitespace issues.Not Zed2005-05-065-135/+83
| | | | | | | | | 2005-05-06 Not Zed <NotZed@Ximian.com> * mail.error.xml: renamed from mail-errors.xml, add i18n tags, fix some whitespace issues. Removed some unecessary translations. svn path=/trunk/; revision=29307
* put back e_msg_composer_set_enable_autosave which was removed by mistakeRadek Doulik2005-05-061-0/+8
| | | | svn path=/trunk/; revision=29306
* removed old unused function which was using low level gtkhtml APIsRadek Doulik2005-05-052-71/+5
| | | | | | | | | 2005-05-05 Radek Doulik <rodo@site> * e-msg-composer.c (e_msg_composer_ignore): removed old unused function which was using low level gtkhtml APIs svn path=/trunk/; revision=29273
* block gtkhtml's selection so that we don't set primary X selectionRadek Doulik2005-04-082-0/+9
| | | | | | | | | | | 2005-04-06 Radek Doulik <rodo@novell.com> * e-msg-composer.c (delete_old_signature): block gtkhtml's selection so that we don't set primary X selection Fixes #36972 svn path=/trunk/; revision=29192
* implement read-receipt functionality.ERDI Gergo2005-04-083-1/+82
| | | | | | | | 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: implement read-receipt functionality. svn path=/trunk/; revision=29183
* ** See bug #73347Not Zed2005-03-172-1/+7
| | | | | | | | | | 2005-03-16 Not Zed <NotZed@Ximian.com> ** See bug #73347 * mail-composer-errors.xml: set the default for auto-recover. svn path=/trunk/; revision=29047
* Set up c/c/p for To: Cc: Bcc: and Post To: entries too.Hans Petter Jansson2005-03-162-0/+21
| | | | | | | | | 2005-03-15 Hans Petter Jansson <hpj@novell.com> * e-msg-composer.c (setup_cut_copy_paste): Set up c/c/p for To: Cc: Bcc: and Post To: entries too. svn path=/trunk/; revision=29027
* ** See bug #66592Not Zed2005-03-043-19/+63
| | | | | | | | | | | | | | 2005-03-03 Not Zed <NotZed@Ximian.com> ** See bug #66592 * e-msg-composer.c (e_msg_composer_get_message_draft): set the uid for the x-evolution-account, not the account name, which can change. (e_msg_composer_new_with_message): find the account by uid first, fallback to name search. svn path=/trunk/; revision=28949
* Fix previous patch for the !USE_GTKFILECHOOSER case.Jeffrey Stedfast2005-02-172-1/+6
| | | | | | | | | 2005-02-15 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer-select-file.c (select_attach_response): Fix previous patch for the !USE_GTKFILECHOOSER case. svn path=/trunk/; revision=28805
* Add a11y name for attachment button and barsHarry Lu2005-02-163-0/+12
| | | | | | | | | | | | 2005-02-16 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars * e-msg-composer-attachment-bar.c: (e_msg_composer_attachment_bar_new): * e-msg-composer.c: (create_composer): svn path=/trunk/; revision=28802
* declare a variable in the !USE_GTKFILECHOOSER code pathJeffrey Stedfast2005-02-151-1/+2
| | | | | | ---------------------------------------------------------------------- svn path=/trunk/; revision=28791
* ** See bug #66126.Not Zed2005-02-105-127/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-10 Not Zed <NotZed@Ximian.com> ** See bug #66126. * e-msg-composer-attachment-bar.c (destroy): destroy async file requesters. (add_from_user_response, add_from_user): use async file requesters. * e-msg-composer.c (save): don't fallback to saveas if the filename is null. (saveas, saveas_response): new functions for async file requesters. (menu_file_save_cb): call saveas if we have no filename. (menu_file_save_as_cb): call saveas. (menu_file_open_cb, file_open_response): change for async file loading (which doesn't appear to be used anymore). (destroy): destroy async requesters. * e-msg-composer-select-file.c (get_selector): make it no longer modal, no longer show the window. (select_file_response, e_msg_composer_select_file): make it async. (select_attach_response, e_msg_composer_select_file_attachments): same. svn path=/trunk/; revision=28760
* Set pointers to the contact editor creation functions in the entries, soHans Petter Jansson2005-01-252-0/+13
| | | | | | | | | | 2005-01-24 Hans Petter Jansson <hpj@novell.com> * e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the contact editor creation functions in the entries, so they can pop up said editors. svn path=/trunk/; revision=28540
* initialise composer before using it. sigh.Not Zed2005-01-122-3/+6
| | | | | | | | | 2005-01-12 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (destroy): initialise composer before using it. sigh. svn path=/trunk/; revision=28362
* turn off debug, setup g private instance data structure. (setup_ui):Not Zed2005-01-052-3/+46
| | | | | | | | | | | | 2005-01-05 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (d): turn off debug, setup g private instance data structure. (setup_ui): activate the composer plugin menu. (destroy): clean up the composer plugin menu. (class_init, init): init private instance data & plugin menu. svn path=/trunk/; revision=28243
* kill warnings (map_default_cb): the to entry widget is now just a gtkJP Rosevear2004-12-242-13/+12
| | | | | | | | | | 2004-12-24 JP Rosevear <jpr@novell.com> * e-msg-composer.c (setup_signatures_menu): kill warnings (map_default_cb): the to entry widget is now just a gtk entry at its core, so check for text that way svn path=/trunk/; revision=28201
* Remove select-names from here.Hans Petter Jansson2004-12-233-6/+10
| | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (selectnamesdir) (IDL_GENERATED) (INCLUDES): Remove select-names from here. * Composer.idl: Remove Evolution-Addressbook-SelectNames.idl include. svn path=/trunk/; revision=28190
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-233-92/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* svn path=/trunk/; revision=28178Not Zed2004-12-223-2/+8
| | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (emcab_popup): * e-msg-composer.c (drag_data_received): svn path=/trunk/; revision=28178
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-092-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* include camel-cipher-context.h so we build if nss isn't available.Not Zed2004-12-072-0/+6
| | | | | | | | | 2004-12-07 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: include camel-cipher-context.h so we build if nss isn't available. svn path=/trunk/; revision=28080
* remove the old camel_multipart_encrypted api.Not Zed2004-12-033-9/+15
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (handle_multipart_encrypted): remove the old camel_multipart_encrypted api. svn path=/trunk/; revision=28052
* get image from icon factory directlyJP Rosevear2004-11-262-4/+6
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-msg-composer.c (create_composer): get image from icon factory directly svn path=/trunk/; revision=28002
* fix the popup id.Not Zed2004-10-283-2/+15
| | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): fix the popup id. * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco. svn path=/trunk/; revision=27750
* Close on Esc. (create_composer): Connect to the key-press-event signal.Jeffrey Stedfast2004-10-282-3/+27
| | | | | | | | | 2004-10-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_key_pressed): Close on Esc. (create_composer): Connect to the key-press-event signal. svn path=/trunk/; revision=27743
* fix for bugzilla #44876mengjie yu2004-10-273-14/+31
| | | | | | | | | | | | 2004-10-26 mengjie yu <meng-jie.yu@sun.com> fix for bugzilla #44876 * e-msg-composer-hdrs.c (header_new_recipient), (create_headers): add access key for Reply_to, From,Subject,To,Cc,Bcc,Post_to; * e-msg-composer.c: (setup_signatures_menu):Add accesss key for Signature. svn path=/trunk/; revision=27735
* convert to org.gnome hook namesJP Rosevear2004-10-203-2/+7
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-msg-composer.c, e-msg-composer-attachment-bar.c: convert to org.gnome hook names svn path=/trunk/; revision=27636
* g_strdup() the gpg/smime keys into the recipients list or else we end upJeffrey Stedfast2004-10-122-2/+8
| | | | | | | | | | 2004-10-08 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): g_strdup() the gpg/smime keys into the recipients list or else we end up free'ing them later when we shouldn't. Fixes bug #66703 svn path=/trunk/; revision=27537
* updatedJeffrey Stedfast2004-10-091-0/+2
| | | | svn path=/trunk/; revision=27516
* e-popup api changes.Not Zed2004-10-073-2/+7
| | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): * e-msg-composer-attachment-bar.c (emcab_popup): e-popup api changes. svn path=/trunk/; revision=27486
* set a GTKHTML_API_VERSION variableJP Rosevear2004-10-012-1/+6
| | | | | | | | | | | | | 2004-10-01 JP Rosevear <jpr@novell.com> * configure.in: set a GTKHTML_API_VERSION variable 2004-10-01 JP Rosevear <jpr@novell.com> * e-msg-composer.c: uses GTKHTML_API_VERSION for the bonobo server look up svn path=/trunk/; revision=27442
* enable ask drop action and hook onto drag motion. (drag_motion):Not Zed2004-10-012-10/+169
| | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): enable ask drop action and hook onto drag motion. (drag_motion): implement. (drop_action): do the work here now. (drag_data_received): popup a menu if the action is ask. (drop_popup_copy, drop_popup_move, drop_popup_cancel): (drop_popup_free): Popup callbacks. svn path=/trunk/; revision=27441
* Use non-deprecated functions.Kjartan Maraas2004-09-302-3/+9
| | | | | | | | | | 2004-09-30 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: (autosave_manager_start), (autosave_manager_stop), (create_composer): Use non-deprecated functions. svn path=/trunk/; revision=27436
* handle 'attachment' as well, as per Mozilla's mangling, and the newMichael Meeks2004-09-202-2/+10
| | | | | | | | | | | 2004-08-17 Michael Meeks <michael@ximian.com> * e-msg-composer.c (handle_mailto): handle 'attachment' as well, as per Mozilla's mangling, and the new desktop-launch spec. [ this was approved months ago, but somehow never got committed ] ** See bug #65592 svn path=/trunk/; revision=27309
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-206-149/+113
| | | | svn path=/trunk/; revision=27300
* ** See bug #64454.Not Zed2004-09-093-4/+11
| | | | | | | | | | | 2004-09-08 Not Zed <NotZed@Ximian.com> ** See bug #64454. * mail-composer-errors.xml: add accelerators to modified message dialogue. svn path=/trunk/; revision=27190
* set paragraph style to normal to avoid signature landing in PRE paragraphRadek Doulik2004-08-142-0/+6
| | | | | | | | | 2004-08-13 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph style to normal to avoid signature landing in PRE paragraph svn path=/trunk/; revision=26919
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0.Carlos Garnacho Parro2004-08-134-53/+139
| | | | | | | | | | | | | 2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org> * e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0. (e_msg_composer_select_file): added save_mode parameter * e-msg-composer.c: use the modified e_msg_composer_select_file() function svn path=/trunk/; revision=26892
* Fixes for api changes in mail/ for 61940.Not Zed2004-07-292-5/+9
| | | | | | | | 2004-07-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Fixes for api changes in mail/ for 61940. svn path=/trunk/; revision=26761
* removed unused static variable listener_vepvRadek Doulik2004-07-285-19/+55
| | | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * listener.c: removed unused static variable listener_vepv * added len parameter to set_editor_text, e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it allows us to send whole buffer (even if it contains \0 in the middle) to gtkhtml editor. svn path=/trunk/; revision=26746
* removed body content + signature html concatenating and callRadek Doulik2004-07-232-22/+12
| | | | | | | | | | | | 2004-07-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): removed body content + signature html concatenating and call e_msg_composer_show_sig_file instead Fixes #59490 svn path=/trunk/; revision=26705
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment.c: include config.h. See #61395. svn path=/trunk/; revision=26695
* ** Fix for #60387.Not Zed2004-06-184-42/+138
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** Fix for #60387. * mail-composer-errors.xml: added an error for failing to retrieve to-be-attached messages. * e-msg-composer.c (message_rfc822_dnd): remove this, we only want to treat it as a real rfc822 message, not a berkeley mailbox. (drag_data_received): handle the rfc822 type here, and also the new x-uid-list type. (attach_message): helper set a description on attached messages. svn path=/trunk/; revision=26411
* clean up the code slightly.Not Zed2004-06-174-29/+48
| | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the code slightly. * evolution-composer.c (impl_Composer_set_headers): Fix all the strn?casecmp calls. * e-msg-composer.c (from_changed_cb, drag_data_received) (is_special_header, e_msg_composer_new_with_message) (handle_mailto, e_msg_composer_new_from_url): as above. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): as above. * e-msg-composer.c (drag_data_received): handle comments in uri lists. svn path=/trunk/; revision=26378
* Don't connect to the key_pressed_event. (composer_key_pressed): Removed.Jeffrey Stedfast2004-06-152-16/+7
| | | | | | | | | | | 2004-06-14 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Don't connect to the key_pressed_event. (composer_key_pressed): Removed. We don't want to close the compose on Escape. To do so would violate the HIG. svn path=/trunk/; revision=26339
* fix the name of "stock_save-as" everywhereDan Winship2004-06-072-1/+5
| | | | svn path=/trunk/; revision=26237
* Use e_error_run() instead of the e_activation_error_dialog() stuff that noJeffrey Stedfast2004-06-054-18/+31
| | | | | | | | | 2004-06-04 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Use e_error_run() instead of the e_activation_error_dialog() stuff that no longer exists. svn path=/trunk/; revision=26215
* always insert new paragraph for signatureRadek Doulik2004-06-032-2/+8
| | | | | | | | | | | 2004-06-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): always insert new paragraph for signature Fixes #37601 svn path=/trunk/; revision=26170
* s/${0}/{0}/gJeffrey Stedfast2004-05-283-11/+15
| | | | | | | | 2004-05-27 Jeffrey Stedfast <fejj@novell.com> * mail-composer-errors.xml: s/${0}/{0}/g svn path=/trunk/; revision=26117
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* use e-icon-factory sizes.Not Zed2004-05-252-6/+8
| | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (pixcache[]): use e-icon-factory sizes. svn path=/trunk/; revision=26071
* if we have a cached icon, use it, don't just ignore it! #58831.Not Zed2004-05-252-2/+10
| | | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): if we have a cached icon, use it, don't just ignore it! #58831. svn path=/trunk/; revision=26070
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25980
* set the default for exit-unsaved to save, as in 1.4. #57995.Not Zed2004-05-182-1/+4
| | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * mail-composer-errors.xml: set the default for exit-unsaved to save, as in 1.4. #57995. svn path=/trunk/; revision=25957
* fix for folder selector api change.Not Zed2004-05-182-1/+6
| | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (post_browser_clicked_cb): fix for folder selector api change. svn path=/trunk/; revision=25949
* add for translators.Not Zed2004-05-125-60/+112
| | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-composer-errors.xml.h: add for translators. * mail-composer-errors.xml: renamed from xml.in file. * Makefile.am: Fix for i18n build stuff. svn path=/trunk/; revision=25866
* Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't useJeffrey Stedfast2004-05-122-3/+13
| | | | | | | | | | | | 2004-05-11 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't use camel_exception_setv() if we aren't using the printf-style arguments. Just use camel_exception_set() - safer anyway, since then we don't have to worry about translated strings containing printf-style formatters that could break stuff. svn path=/trunk/; revision=25861
* Fixing parts of #53466.Enver ALTIN2004-05-102-2/+6
| | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * e-msg-composer.c: Fixing parts of #53466. svn path=/trunk/; revision=25829
* updateDan Winship2004-05-031-16/+9
| | | | svn path=/trunk/; revision=25751
* header cleanups.Not Zed2004-05-032-0/+12
| | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: header cleanups. svn path=/trunk/; revision=25743
* ** 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