aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* Add e_composer_header_table_ref_source().Matthew Barnes2013-06-021-55/+7
| | | | | | Convenience function that works like e_source_registry_ref_source(), but spares the caller from digging out the ESourceRegistry from the header table.
* EComposeHeaderTable: Replace "registry" property with "client-cache".Matthew Barnes2013-06-021-6/+43
| | | | | | | | | | | | | | | | | | | | The ESourceRegistry can still be obtained from the EClientCache: client_cache = e_composer_header_table_ref_client_cache (table); registry = e_client_cache_ref_registry (client_cache); ... g_object_unref (client_cache); g_object_unref (registry); Added functions: e_composer_header_table_ref_client_cache() Removed functions: e_composer_header_table_get_registry()
* Rename libcomposer to libevolution-mail-composer.Matthew Barnes2013-05-281-1/+2
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-composer documentation module.
* Convert EMailPart to a GObject.Matthew Barnes2013-05-201-1/+1
| | | | | EMailPart is reference-counted, subclassed, and allows a custom finalize function. There's no excuse for it not to use GObject.
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-26/+37
|
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-3/+2
| | | | | | | | | | It could happen that header text color had been picked white one time, but the other time black as expected (for me usually when I started Evolution in Calendar and moved to Mail view, the header text color was white, while when starting in Mail view it was black). The change to use GtkStyleContext is there only as a cleanup from deprecated GtkStyle, and to make things easier too, because both GtkStyle and the GtkStyleContext had set white color for some reason.
* Remove more Express Mode hacks.Matthew Barnes2013-04-011-5/+0
| | | | | | This removes all traces of Express Mode from all but the contact editor and calendar appointment editor. Need to evaluate the remaining cases individually.
* Remove e_shell_adapt_window_size().Matthew Barnes2013-04-011-2/+0
| | | | Its preconditions are never TRUE, and is therefore a no-op function.
* Add e_msg_composer_ref_session().Matthew Barnes2013-03-171-27/+23
| | | | Replaces e_msg_composer_get_session().
* Remove EMailShellSettings.Matthew Barnes2013-03-171-16/+23
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-121-8/+7
| | | | | | | g_hash_table_add(table, key) uses less memory than g_hash_table_insert(table, key, GINT_TO_POINTER (1)). Also use g_hash_table_contains() when testing for membership.
* Reduce diff noise with webkit-composer branch.Matthew Barnes2013-01-111-8/+15
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* EMailParserExtension: Collect EMailParts in a GQueue.Matthew Barnes2012-12-081-8/+7
| | | | | | | | | | | | | | | Collect EMailParts in a GQueue provided to the EMailParserExtension, and change the return type of parse() to gboolean to indicate whether the given CamelMimePart was handled (even if no parts were added to the output GQueue). This avoids the awkward corner case of a parser extension returning a linked list node with a NULL data member to indicate the CamelMimePart was handled but no EMailParts produced, and then having to watch out for that NULL data member corner case throughout the application. Also, remove the GCancellable parameter from e_mail_parser_error() and e_mail_parser_wrap_as_attachment() since neither function blocks.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-7/+17
| | | | | | Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them.
* Bug #687998 - Attachment dialog shown when storing assigned taskMilan Crha2012-11-121-3/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-1/+3
|
* Composer could start with empty FromMilan Crha2012-09-051-2/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2012-09-011-7/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-3/+3
|
* Trust attachments from ~/.kde and ~/.kde4.Matthew Barnes2012-07-021-0/+16
| | | | | | | | | This came about from a mailing list thread entitled: Sending photos from digKam: "Skipping suspicious attachment" Apparently KDE still uses dot-folders quite heavily, despite having helped draft the XDG Base Directory Specification.
* Bug #617557 - Can close composer while message is sendingMilan Crha2012-06-261-0/+5
|
* Bug #678304 - Save Draft prevents Evolution's quitMilan Crha2012-06-181-0/+15
|
* Mail formatter rewriteDan Vrátil2012-06-061-29/+34
| | | | | | | | All mail-parsing and formatting code has been moved to em-format. Parsing is handeled by EMailParser class, formatting by EMailFormatter. Both classes have registry which hold extensions - simple classes that do actual parsing and formatting. Each supported mime-type has it's own parser and formatter extension class.
* Adapt composer to the new ESource API.Matthew Barnes2012-06-031-399/+312
|
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-131-0/+8
| | | | Always call it immediately after g_simple_async_result_new().
* Bug #674248 - Lost new lines from text/plainDan Vrátil2012-04-191-2/+8
|
* Bug 673895 - "Send To..." doesn't work anymoreMatthew Barnes2012-04-111-1/+23
| | | | | | Our hidden file/directory blacklist went a little too far. Evolution was blacklisting its own temporary files. This changes the blacklist function to trust the user's own XDG Base Directories.
* Whitespace cleanup.Matthew Barnes2012-04-021-1/+1
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* EMFormat: Add "session" as a constructor property.Matthew Barnes2012-04-011-7/+24
| | | | Pass it in instead of digging it out of EShellSettings.
* WebKit port - port addressbook, calendar and update composer to keep working ↵Dan Vrátil2012-03-291-19/+20
| | | | with GtkHtml
* Bug #665106 - Memory leak from composer setup when opening PreferencesMilan Crha2012-03-161-2/+2
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Bug #617557 - Can lost message after send failedMilan Crha2012-03-011-8/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-6/+3
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-7/+7
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Move gtkhtml data encoding/decoding to e-composer-private.c.Matthew Barnes2012-01-011-97/+6
| | | | Simplify the algorithms, trading efficiency for readability.
* Composer cleanups.Matthew Barnes2012-01-011-1/+1
|
* Composer: "mailto" blacklist touch ups.Matthew Barnes2011-11-301-12/+17
|
* Use e_restore_window() and "org.gnome.evolution.window".Matthew Barnes2011-11-281-8/+5
| | | | Apply it to all windows with persistent size and/or position.
* Miscellaneous cleanups.Matthew Barnes2011-11-231-17/+13
|
* Miscellaneous cleanups.Matthew Barnes2011-11-231-4/+4
|
* Fix compiler warnings.Matthew Barnes2011-11-231-3/+1
|
* Migrate most of the composer to GSettingsRodrigo Moya2011-10-141-46/+27
|
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-6/+3
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Let GtkFileChooser track its own last-used-folder.Matthew Barnes2011-10-061-6/+0
| | | | | | GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder itself, even across applications, so get out of its way and let it handle it.
* GtkApplication has some new EShell-like features.Matthew Barnes2011-10-061-3/+10
| | | | | | | | | | | | | | | | | | I pushed a few EShell features up to GtkApplication for GTK+ 3.2, so we can now trim off the redundancies in EShell. 1) GtkApplication has a new "window-added" signal which replaces EShell's own "window-created" signal. 2) GtkApplication has a new "window-removed" signal which replaces EShell's own "window-destroyed" signal. 3) gtk_application_get_windows() now returns a list of windows sorted by most recently focused, replacing e_shell_get_watched_windows(). 4) GtkApplication now provides enough hooks to subclasses that we can remove e_shell_watch_window() and call gtk_application_add_window() directly.
* Bug #657374 - mailto: attachment parameter can lead to accidental data ↵Vibha Yadav2011-10-041-0/+30
| | | | | | exfiltration Through warning on attaching Hidden/security files by mailto command.
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-8/+11
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Reverting the previous commit.Vibha Yadav2011-09-151-30/+0
|
* Bug #657374 - mailto: attachment parameter can lead to accidental data ↵Vibha Yadav2011-09-151-0/+30
| | | | | | exfiltration Through warning on attaching Hidden/security files by mailto command.
* Bug 635347 - Message lacks ID when submitted for sendingMatthew Barnes2011-09-141-0/+4
|
* Bug #657611 - Hidden error of invalid attendee on sendMilan Crha2011-09-071-1/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-13/+18
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-8/+18
|
* Bug #656290 - "Always carbon-copy (cc) to:" option not honoredMilan Crha2011-08-121-0/+48
|
* Bug 653568 - Forward as Redirect doesn't workMatthew Barnes2011-07-111-29/+24
| | | | | X-Evolution-Account and X-Evolution-Transport headers were not getting set in redirected messages.
* EMsgComposer: Minor cleanups.Matthew Barnes2011-07-111-13/+14
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-7/+21
|
* Bug #651039 - Always update signature in composer on account changeMilan Crha2011-05-251-0/+1
|
* Revert "Correct garbled mailto: uris passed in through GApplication interface"Matthew Barnes2011-05-231-4/+0
| | | | | | This reverts commit 94d5fb1b664ab38790ba620f7d2c6d585b666c91. Wrong solution. See bug #650491.
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-26/+49
|
* Correct garbled mailto: uris passed in through GApplication interfaceMilan Crha2011-05-161-0/+4
|
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-8/+4
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* Coding style cleanups.Matthew Barnes2011-05-091-6/+6
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-4/+8
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-1/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-2/+3
|
* Bug #641805 - Clicking links in mail composer opens URL twiceMilan Crha2011-03-011-20/+1
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-4/+4
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-4/+3
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Fix image dropping in composer while in HTML mode.Matthew Barnes2011-02-031-0/+15
| | | | | | Dragging image data or an image URI to the message body while in HTML mode should insert the image inline, not attach it. Without this the Picture Gallery feature is pointless.
* Bug #635144 - Using external editor duplicates signatureMilan Crha2011-02-021-2/+4
|
* Bug #553438 - Deletes lines of a reply when changing addressMilan Crha2011-01-181-6/+4
|
* GtkSelectionData is sealed in GTK3.Matthew Barnes2011-01-091-1/+4
| | | | Have to use accessor functions, no pointer deferencing.
* Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2010-12-221-0/+32
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
|
* Bug #404570 - Ctrl-R / NNTP doesn't focus the new messageMilan Crha2010-11-291-2/+2
|
* EActivity: Add an "alert-sink" property.Matthew Barnes2010-11-011-7/+35
| | | | | | | This is just for convenience, EActivity does not use this property. Especially useful in async function callbacks when the operation failed and now you have to do something useful with the GError.
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-011-4/+4
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Fix build break.Matthew Barnes2010-11-011-1/+1
|
* Set Date: when building a CamelMimeMessage in composer.Matthew Barnes2010-10-311-0/+3
|
* Skip writing to Outbox when sending.Matthew Barnes2010-10-311-12/+107
| | | | | | | When sending a message from a composer window, it seems pointless to write message to Outbox only to immediately read it back and mark it for deletion. Instead, bypass the Outbox folder when sending, and if an error occurs, offer to save the message to Outbox instead.
* Simplify EActivity.Matthew Barnes2010-10-231-18/+0
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Bug 632127 - Composer is editable while sending messageMatthew Barnes2010-10-151-37/+43
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-777/+1259
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-071-18/+6
|
* Messin around with EAlerts.Matthew Barnes2010-09-301-0/+2
| | | | | | | | | | | | | | | | | | | Trying out a new interface called EAlertSink. The idea is to centralize how errors are shown to the user. A GtkWindow subclass would implement the EAlertSink interface, which consists of a single method: void (*submit_alert) (EAlertSink *alert_sink, EAlert *alert); The subclass has complete control over what to do with the EAlert, although I imagine we'll wind up implementing various alert-handling policies as standalone widgets such as EAlertDialog. I'd like to try an EAlertInfoBar. Code that would otherwise display an error dialog itself would instead pass the EAlert to an appropriate EAlertSink and be done with it. Nothing is final yet. Still hacking on EAlert trying to find an API that feels right for these use cases.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-91/+76
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-33/+102
|
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-3/+6
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-125/+17
| | | | | | | | | | | | | | | | | | | Given the way the autosave feature was awkwardly bolted on to the composer, an EExtension seemed like a natural fit. And it helped clean up some object lifecycle hacks (and bugs). What we have now is a new module consisting of two EExtensions: EComposerAutosave extends EMsgComposer and determines when to kick off an asynchronous autosave operation. EComposerRegistry extends EShell and offers to restore orphaned autosave files on startup (which is also asynchronous now). e-autosave-utils.c holds the actual asynchronous functions and a few other miscellaneous utility functions. Source code for the new module lives in /modules/composer-autosave.
* Composer autosave cleanups.Matthew Barnes2010-08-311-18/+16
| | | | | | This simplifies the async autosave logic and improves error handling. Hoping this will solve bug #616987 but I've yet to reproduce it myself.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-291-10/+10
|
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-35/+13
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-108/+173
| | | | Reduce the composer's dependency on e_shell_get_default().
* Bug 624913 - Disallow drag-and-drop within the same attachment barMatthew Barnes2010-08-131-80/+46
| | | | | | | | | | | | Adds a boolean "dragging" property to the EAttachmentView interface, which becomes TRUE when the user start a drag from the attachment view. e_attachment_view_drag_motion() and e_attachment_view_drag_drop() both return FALSE when this property is set. Also, do not register the entire EMsgComposer window as a drag destination. Just intercept drag signals from the GtkHTML widget. Requires gtkhtml commit 344eb5e to fully work correctly.
* Bug 323142 - Signature missing when handling mailto: URI with body partMatthew Barnes2010-08-131-1/+1
|
* EMsgComposer cleanups.Matthew Barnes2010-08-131-51/+58
|
* Bug #624891 - Various compiler warnings in git/masterMilan Crha2010-07-221-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-16/+16
|
* Bug 623702 - SEGV on redirecting messageMatthew Barnes2010-07-101-0/+5
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-34/+40
|
* Composer: Append drag dest targets to the GtkHTML widget.Matthew Barnes2010-06-231-0/+32
| | | | | | This is so that GtkHTML doesn't have to register drag destination targets that that it can't handle itself, like "text/calendar" and "text/x-vcard".
* Coding style and whitespace cleanup.Matthew Barnes2010-06-201-8/+19
|
* Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-06-151-4/+109
| | | | The second attempt.
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-80/+186
|
* Merge branch 'express2'Matthew Barnes2010-05-271-22/+19
|\
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-251-14/+15
| |\
| | * Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-05-211-13/+14
| | |
| * | get the composer dialog size right on MeeGoMichael Meeks2010-05-211-1/+2
| | |
| * | Use the lite-composer when the shell is in small-screen modeFederico Mena Quintero2010-05-081-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove various utility functions that conditionally create a lite composer, and just use the normal functions to create a composer. The composer will know by itself whether it needs to adjust for small screens. Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Merge express2 into relayout-composerFederico Mena Quintero2010-05-081-0/+7
| |\ \
| | * | Set transient prop in express mode so that composer appears in the sameSrinivasa Ragavan2010-04-301-0/+6
| | | | | | | | | | | | | | | | zone as the mail window.
| * | | Use e_msg_composer_get_lite() instead of a global variable or struct fieldsFederico Mena Quintero2010-05-011-1/+0
| |/ / | | | | | | | | | | | | | | | | | | This will also make 'grep' easier when we remove the lite stuff by refactoring. Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Express: Composer always defaults to HTML modeMatthew Barnes2010-04-071-4/+0
| | | | | | | | | | | | | | | | | | Composer and signature editor always default to HTML in Express mode. Hide the corresponding composer preference. This will not affect the user preference in normal mode.
| * | Fix mismatched quotes.Matthew Barnes2010-04-071-1/+1
| |/
| * Bug 614892 - String leak in the composerPaolo Borelli2010-04-071-0/+2
| |
* | Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-05-211-13/+14
| |
* | Bug #304415 - Allow change of signature hash algorithmMilan Crha2010-05-201-5/+24
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-59/+59
| |
* | Bug #360461 - Avoid markup in translatable messagesMilan Crha2010-04-231-1/+4
| |
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-1/+3
| |
* | Bug 614892 - String leak in the composerPaolo Borelli2010-04-071-0/+2
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-041-33/+36
| |
* | Express: Composer always defaults to HTML modeMatthew Barnes2010-03-301-4/+0
| | | | | | | | | | | | Composer and signature editor always default to HTML in Express mode. Hide the corresponding composer preference. This will not affect the user preference in normal mode.
* | Fix mismatched quotes.Matthew Barnes2010-03-291-1/+1
|/
* Revert some bad assumptions I made in EPluginUI.Matthew Barnes2010-03-161-2/+2
| | | | | | | | | We can't require the use of EUIManager everywhere because we don't control all the UI manager instances -- the most compelling example being the composer, whose UI manager comes from GtkhtmlEditor. Instead, EPluginUI will check the instance type and pick an appropriate "load_from_string" function.
* Prevent future bugs like #612792.Matthew Barnes2010-03-151-3/+3
| | | | | | Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length parameter lists and drop the unnecessary "arg0" parameter so the function attribute works correctly.
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Improve clipboard behavior.Matthew Barnes2010-01-181-70/+64
| | | | | | | | | | | | | | | | | | | | | Add "copy-target-list" and "paste-target-list" to the ESelectable interface. These are underutilized for the moment, but will eventually be used to help integrate drag-and-drop support into ESelectable. Add cut and paste support to EWebView, along with a new "editable" property and new clipboard signals "copy-clipboard", "cut-clipboard" and "paste-clipboard". In EFocusTracker, listen for "owner-changed" signals from the default clipboard as another trigger to update actions, particularly the Paste action. (Unfortunately this doesn't work for EWebView since GtkHtml implements its own clipboard.) In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty stubs, since EFocusTracker will now trigger EWebView's clipboard actions. Also, intercept EWebView::paste-clipboard signals and improve the interaction between the HTML editor and the attachment bar based on use cases in bug #603715.
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-10/+0
|
* Bug 606542 - Broken paste action on to/cc/subject fieldsMatthew Barnes2010-01-111-15/+12
|
* Bug 606344 - Clicking "Reply to All" button causes Evo to dump coreMatthew Barnes2010-01-091-72/+0
| | | | | | | | | | | | | | Adding a GtkhtmlEditor::uri-requested repeater signal was a mistake. It unnecessarily complicates URI handling and so the composer no longer uses it -- instead it connects to GtkHTML::url-requested directly. This also requires commit 203ce61e6ea19323914b9c459b2e79bde5db15be from GtkHTML to work right. That commit changes GtkHTML::url-requested to a G_SIGNAL_RUN_LAST so the composer's signal handler runs first. If the composer can handle the URI request, it stops the signal emission so that nothing else tries to use the freed GtkHTMLStream. Henceforth consider GtkhtmlEditor::uri-requested to be deprecated.
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-126/+169
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Bug #520816 - S/MIME shares "Do not sign meeting requests" with PGPMilan Crha2009-12-241-5/+9
|
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-8/+9
| | | | | | The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
* Bug 551464 - Paste files into composer as attachmentsMatthew Barnes2009-12-041-58/+4
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-8/+8
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* port composer/ to user new EError APIJonathon Jongsma2009-12-011-4/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-2/+0
|
* Bug #250046 - Composer addresses reading fixesMilan Crha2009-11-101-4/+7
| | | | | | - Check for no addresses properly (in post-to only when shown) - Check for garbage addresses and warn user about those - Use garbage text in To/CC/Bcc fields when user typed them
* Bug #599792 - Anjal composer's Send button doesn't work after pressed Save ↵Yan Li2009-11-061-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Drafts button This is due to an old hack that hiding a composer means we're closing it so save_draft_done() destroys the composer after saved draft. But in Anjal, the composer widget is always hidden (since the editor is reparented to the tab), and will be wrongly destroyed by save_draft_done() when you clicked "Save Draft" button. This patch improved the old hack, by adding a new API e_msg_composer_request_close() that can be used to request closing a composer (so the old hack is no longer needed). Internally, composer->priv->application_exiting is used to store this exiting status. So by this we no longer use a composer's visibility to check whether we're to close it. When you no longer need a composer after saved draft, call e_msg_composer_request_close() before sending the save-draft signal. The e_msg_composer_is_exiting() (removed by 983bea9) has to be bring back, which is needed by other programs that use the composer (Anjal here). (forward ported from 08150f6 of gnome-2-28)
* Bug #573304 - Forward an email shouldn't strip signatureMilan Crha2009-11-061-4/+6
|
* Bug #596027: In Anjal, although invalid mail address warning popup, mail's ↵Yan Li2009-11-051-0/+14
| | | | | | | | tab closed automatically A new field "mail_sent" is added to the Composer to indicate whether the mail is sent successfully or not. This is needed by Anjal to know whether it can destroy the composer or not.
* Bug #599124 - Signature always includes an empty line in front of textMilan Crha2009-11-041-3/+3
|
* Bug 598567 - Can only insert local image filesMatthew Barnes2009-10-211-4/+10
|
* Bug #522783 - Signature separator for HTML E-mailsMilan Crha2009-10-161-3/+20
| | | | | | | | Reapplied patch from bug #551470, as this got dropped on merging. Be sure you all also gconftool-2 --install-schema-file=$PREFIX/etc/gconf/schemas/evolution-mail.schemas as new key had been added.
* Bug #545851 - Set properly sign type on reply of signed messageMilan Crha2009-10-161-8/+33
|
* Bug #245683 - Use QP encoding when composing message with "\nFrom "Milan Crha2009-10-161-6/+92
| | | | (QP - Quoted Printable)
* Bug #597123 - Composer's Send Options doesn't workMilan Crha2009-10-141-61/+1
|
* Remove unneeded composer autosave functions.Matthew Barnes2009-10-021-1/+0
|
* Various composer autosave fixes.Matthew Barnes2009-10-011-3/+17
|
* No need to track open composer windows either.Matthew Barnes2009-10-011-6/+0
|
* Remove some unneeded composer autosave bits.Matthew Barnes2009-10-011-46/+1
| | | | | | Closing the last main window no longer takes composer windows down with it, so we no longer need the "holy crap we're shutting down, quick save to disk!" logic.
* Bug 596712 - Recovered messages not autosaved until modificationMatthew Barnes2009-09-301-1/+1
|
* Code cleanup in e-msg-composer.cMatthew Barnes2009-09-301-9/+11
|
* Bug #582745 - Place signature at bottom when Edit As New MessageMilan Crha2009-09-291-35/+36
|
* Bug #494531 - Use quoted-printable encoding when necessaryDavid Liang2009-08-311-1/+2
| | | | For example when part body contains a line longer than some max.
* Bug 590747 – Composer autosave can easily lose dataPhilip Withnall2009-08-071-3/+19
|
* Seal up ESignature and add GObject properties.Matthew Barnes2009-08-071-12/+16
|
* Kill the last GtkOptionMenu instances.Matthew Barnes2009-07-031-1/+0
| | | | | | | Wrote a new widget (ECharsetComboBox) to replace e-charset-picker.c. The widget provides a "charset" string property that allows us to bind to GConf keys (via EShellSettings). Moved e_charset_add_radio_actions() to e-util/e-charset.c. Updated Glade files, #include lines, etc.
* More code cleanup.Matthew Barnes2009-06-021-1/+1
|
* Whitespace cleanup.Matthew Barnes2009-05-291-2/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-8/+8
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-6/+6
| |
| * Fix composer header regression caused by Anjal merge.Matthew Barnes2009-05-271-4/+4
| |
| * Johnny's composer changes for Anjal.Srinivasa Ragavan2009-05-221-1/+37
| |
* | Johnny's composer changes for Anjal.Srinivasa Ragavan2009-05-241-0/+1
| |
* | Mail changes required for Anjal.Srinivasa Ragavan2009-05-241-0/+27
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-221-184/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/gui/component/addressbook-view.c addressbook/gui/component/component-factory.c addressbook/gui/component/eab-composer-util.h addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/e-addressbook-model.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/e-addressbook-view.h addressbook/gui/widgets/eab-gui-util.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup.h calendar/gui/calendar-component.c calendar/gui/e-cal-event.h calendar/gui/e-calendar-table.c calendar/gui/e-calendar-view.c calendar/gui/e-calendar-view.h calendar/gui/e-memo-table.c calendar/gui/memos-component.c calendar/gui/tasks-component.c composer/e-composer-header-table.c composer/e-composer-private.h composer/e-msg-composer.c composer/e-msg-composer.h composer/evolution-composer.ui configure.ac data/icons/Makefile.am em-format/em-format.c em-format/em-format.h mail/Makefile.am mail/e-mail-shell-migrate.c mail/e-searching-tokenizer.c mail/e-searching-tokenizer.h mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html-display.h mail/em-mailer-prefs.c mail/em-message-browser.c plugins/vcard-inline/Makefile.am plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml plugins/vcard-inline/vcard-inline.c shell/e-component-registry.h shell/e-shell-window.c shell/es-menu.h widgets/misc/e-filter-bar.c widgets/misc/e-filter-bar.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h
| * Bug 274117 – Difficult to post a new message to newsgroupsMatthew Barnes2009-05-211-162/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completely rewrite how composer headers are managed. There's now two sets of headers (with some overlap): one set is for sending an email message, the other is for posting to a newsgroup. The correct set of headers is chosen on-the-fly based on the currently selected account type. The user's "view" preferences for these two sets are stored separately, so that switching between an email account and a news account will no longer stomp on your preferences. This also eliminates the need for the "Post New Message to Folder" and "Post a Reply" actions, so they've been removed. Usenet users can now just highlight a newsgroup in the folder tree and click New or Reply, and the composer window will show the correct set of headers with the Post-To field filled in automatically. Comment #6 in the bug discusses other standard news reader behaviors we still don't get right, particularly the missing "Followup To" header. These will be dealt with separately.
| * Move automatic CC/BCC handling to EComposerHeaderTable.Matthew Barnes2009-05-171-93/+0
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
| * Remove dead composer code.Matthew Barnes2009-05-051-176/+0
| |
* | Move automatic CC/BCC handling to EComposerHeaderTable.Matthew Barnes2009-05-211-93/+0
| |
* | Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-211-1/+1
| |
* | Use -no-undefined on Linux tooMilan Crha2009-05-201-10/+107
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Fix compilation errors.Matthew Barnes2009-04-291-10/+2
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-04-291-2/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/Makefile.am a11y/widgets/ea-widgets.c a11y/widgets/ea-widgets.h addressbook/gui/component/addressbook-component.c calendar/gui/Makefile.am calendar/gui/calendar-component.c calendar/gui/dialogs/comp-editor.c calendar/gui/dialogs/event-editor.c calendar/gui/dialogs/memo-editor.c calendar/gui/dialogs/task-editor.c calendar/gui/memos-component.c calendar/gui/tasks-component.c composer/e-composer-private.c composer/e-msg-composer.c configure.in e-util/e-plugin-ui.c e-util/e-plugin-ui.h mail/ChangeLog mail/Makefile.am mail/e-mail-attachment-bar.c mail/em-format-html-display.c mail/em-format-html-display.h mail/em-format-html.h mail/em-format.h mail/em-popup.c mail/mail-component.c plugins/external-editor/external-editor.c widgets/misc/Makefile.am widgets/misc/e-attachment-paned.c widgets/misc/e-attachment-view.c widgets/misc/e-attachment.c
| * Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-281-3/+3
| |
| * Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-531/+166
| | | | | | | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
| * Do not delete text lines on signature set in composerMilan Crha2009-04-271-35/+37
| | | | | | | | | | | | | | | | | | | | ** Fix for bug #553535 * e-msg-composer.c: (is_top_signature), (get_signature_html), (set_editor_text), (e_msg_composer_show_sig_file): Do not eat lines of text when changing signature at top of the message. Add one extra empty line between the signature and the body of the mail when placing signature to the bottom.
| * ** Remove a bunch of juvenile comments. Source code should lookMatthew Barnes2009-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | 2009-04-12 Matthew Barnes <mbarnes@redhat.com> ** Remove a bunch of juvenile comments. Source code should look professional, even if some developers are not. svn path=/trunk/; revision=37514
| * ** Fix for bug #574680Milan Crha2009-03-191-21/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #574680 * e-msg-composer.c: (is_special_header): Function removed. * e-msg-composer.c: (e_msg_composer_new_with_message): Remove all headers except "References" and "In-Reply-To" when composing from an existing message. svn path=/trunk/; revision=37462
| * ** Fix for bug #551470Milan Crha2009-02-251-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #551470 * e-composer-private.h: * e-msg-composer.c: (add_signature_delim), (get_signature_html), (set_editor_text): Do not force adding "-- \n" above the signature. svn path=/trunk/; revision=37322
| * ** Fix for bug #567089Milan Crha2009-02-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 Milan Crha <mcrha@redhat.com> ** Fix for bug #567089 * e-msg-composer.c: (get_signature_html): Do not crash when no From set yet. svn path=/trunk/; revision=37251
| * New convenience function calls gtk_show_uri() and displays an error dialogMatthew Barnes2009-01-111-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-11 Matthew Barnes <mbarnes@redhat.com> * e-util/e-util.c (e_show_uri): New convenience function calls gtk_show_uri() and displays an error dialog if the URI cannot be shown. * addressbook/gui/widgets/eab-contact-display.c (eab_uri_popup_link_open), (on_link_clicked): * calendar/gui/e-cal-component-preview (on_link_clicked): * calendar/gui/e-cal-component-memo-preview (on_link_clicked): * calendar/gui/e-memo-table.c (open_url_cb): * calendar/gui/dialogs/comp-editor.c (open_attachment): * composer/e-msg-composer.c (msg_composer_link_clicked): * mail/em-folder-view.c (emfv_format_link_clicked): * mail/em-popup.c (emp_uri_popup_link_open): * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): * shell/e-shell-window-commands.c (command_open_faq): * widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb): * widgets/misc/e-url-entry.c (button_clicked_cb): Call e_show_uri() instead of gnome_url_show(). * e-util/e-error.c (ee_response): Call e_display_help() instead of gnome_url_show(). * mail/em-config.c: * mail/em-menu.c: Remove unneeded #include <libgnome/gnome-url.h> svn path=/trunk/; revision=37037
| * ** Fix for bug #564248Milan Crha2008-12-161-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #564248 * e-msg-composer.c: (msg_composer_paste_clipboard): Attach images pasted from a clipboard. Note: Requires at least gtkhtml revision 9067. svn path=/trunk/; revision=36906
| * ** Fixes bug #562450Matthew Barnes2008-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562450 * composer/e-msg-composer.c (handle_multipart_signed): Fix a typo that broke "Edit as New Message" for signed messages. svn path=/trunk/; revision=36869
| * ** Fixes bug #562886Matthew Barnes2008-12-051-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562886 * composer/e-msg-composer (handle_mailto): Don't double-decode attachment URIs. Also, parse &amp; correctly. svn path=/trunk/; revision=36834
| * ** Fix for bug #559701Srinivasa Ragavan2008-11-121-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-07 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #559701 * e-msg-composer.c: (e_load_spell_languages): Don't save when its NULL. svn path=/trunk/; revision=36775
| * ** Fixes part of bug #559371Matthew Barnes2008-11-061-17/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #559371 * composer/e-msg-composer.c (e_load_spell_languages): New function loads a list of GtkhtmlSpellLanguage structs from GConf, taking care of details like converting language codes to structs and ensuring the returned list is non-empty. * composer/e-msg-composer.c (e_save_spell_languages): New function saves a list of GtkhtmlSpellLanguage structs to GConf, taking care of details like converting the structs to language codes. * composer/e-msg-composer.c (msg_composer_constructor): * mail/em-composer-prefs.c (spell_language_save), (spell_setup): Simplify the logic by using e_load_spell_languages() and e_save_spell_languages(). svn path=/trunk/; revision=36743
| * ** Fixes bug #554450Matthew Barnes2008-11-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #554450 * composer/e-msg-composer.c (msg_composer_init): Get drag-and-drop to the attachment bar working again, but see my note in the source code. I'm still not sure why it broke. svn path=/trunk/; revision=36741
| * ** Fixes bug #559028Matthew Barnes2008-11-031-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | 2008-11-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #559028 * composer/e-msg-composer.c (msg_composer_key_press_event): Skip over the style toolbar when tabbing in reverse. svn path=/trunk/; revision=36720
| * ** Fix for bug #554418Milan Crha2008-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #554418 * e-util/e-util.h: (e_util_guess_mime_type): * e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on the file content only when permitted by the caller, otherwise check based on the filename only, where it fallbacks if file content guess fails. * mail/em-utils.c: (em_utils_snoop_type): * mail/em-popup.c: (emp_standard_menu_factory): Guess mime_type based on the filename only. * composer/e-msg-composer.c: (handle_uri), (e_msg_composer_add_inline_image_from_file): Guess mime_type based on the file content, if failed, then on the filename. * widgets/misc/e-attachment.c: (attachment_guess_mime_type): Allow guessing mime_type based on the file content. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory): Allow/disallow guessing of the mime_type based on the file content. svn path=/trunk/; revision=36529
| * License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-291-17/+14
| | | | | | | | svn path=/trunk/; revision=36465
| * ** Fixes bug #551548Matthew Barnes2008-09-101-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #551548 * composer/e-msg-composer.c: * composer/e-composer-action.c: Remove pointless SMIME_SUPPORTED check, which was hard-coded to 1. svn path=/trunk/; revision=36294
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #545661 (Skip question for ↵Suman Manjunath2008-09-011-0/+8
| | | | | | | | | | | | not-saved only when not changed or application is exiting). svn path=/trunk/; revision=36241
| * ** Fixes bug #546892Matthew Barnes2008-08-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* | Resolve some differences between this branch and master.Matthew Barnes2009-04-281-121/+2
| |
* | Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-2/+1
| | | | | | | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
* | Do not delete text lines on signature set in composerMilan Crha2009-04-281-5/+18
| | | | | | | | | | | | | | | | | | | | ** Fix for bug #553535 * e-msg-composer.c: (is_top_signature), (get_signature_html), (set_editor_text), (e_msg_composer_show_sig_file): Do not eat lines of text when changing signature at top of the message. Add one extra empty line between the signature and the body of the mail when placing signature to the bottom.
* | Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-251-4/+4
| |
* | Miscellaneous bug fixes.Matthew Barnes2009-04-241-0/+1
| |
* | Convert "import-ics-attachments" plugin to an EAttachmentHandler subclass.Matthew Barnes2009-04-101-1/+4
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37510
* | Finish attachment drag and drop.Matthew Barnes2009-04-021-50/+23
| | | | | | | | | | | | | | | | | | Expunge em-popup.c of dead code. Not much left. Kill the save-attachments (experimental) plugin. The attachment bar can already save all at once. svn path=/branches/kill-bonobo/; revision=37488
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-301-0/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37482
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-261-0/+9
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37476
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-241-6/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37470
* | Saving progress on a massive attachment handling rewrite.Matthew Barnes2009-03-211-405/+140
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37465
* | Cleaning up the attachment bar, centralizing its popup menu, and convertingMatthew Barnes2009-03-091-153/+0
| | | | | | | | | | | | | | | | | | | | | | everything to GtkUIManager/GtkActions. Saving progress mid-stream... not sure about the MIME part utilities yet. Also, add some EActivity subclasses. Considering an EFileActivity subclass for asynchronous GIO operations (loading/saving attachments, etc.), but still ironing out details. svn path=/branches/kill-bonobo/; revision=37389
* | Inline mail_crypto_get_pgp_cipher_context() logic into the composerMatthew Barnes2009-02-161-15/+28
| | | | | | | | | | | | and kill mail/mail-crypto.[ch]. svn path=/branches/kill-bonobo/; revision=37273
* | Move signature script execution to e-util/e-signature-utils.s so theMatthew Barnes2009-02-161-2/+1
| | | | | | | | | | | | | | | | | | composer can invoke it. Composer no longer needs mail-config.h. Split signature preview into a new widget: ESignaturePreview. svn path=/branches/kill-bonobo/; revision=37272
* | Merge revisions 37200:3266 from trunk.Matthew Barnes2009-02-151-1/+6
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37270
* | Get mail search bar partially working without help from EFilterBar.Matthew Barnes2009-02-141-1/+0
| | | | | | | | | | | | Search scope (current folder, current account, etc.) is still ignored. svn path=/branches/kill-bonobo/; revision=37263
* | Make MailSession available through EShellSettings so composer can use it.Matthew Barnes2009-02-131-4/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37257
* | Rewrite the signature management UI from top to bottom.Matthew Barnes2009-02-101-120/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Break the UI out of Glade and into small, manageable widgets: ESignatureEditor (moved from mail to widgets/misc) ESignatureManager ESignatureTreeView ESignatureScriptDialog - Move several signature utilities to e-util/e-signature-utils.c so they're accessible from widgets/misc without introducing circular dependences. - Have EMailShellModule listen for new GtkhtmlEditor windows (from which EMsgComposer and ESignatureEditor are derived) and configure the window with spelling and HTML editing user preferences. - Drastically simplifies em-composer-prefs.c. svn path=/branches/kill-bonobo/; revision=37239
* | Let the mailer handle composer printing.Matthew Barnes2009-02-011-2/+28
| | | | | | | | | | | | Start roughing in the mailer search bar. svn path=/branches/kill-bonobo/; revision=37199
* | When invoking Evolution with URIs on the command-line (e.g. mailto:),Matthew Barnes2009-01-291-1/+1
| | | | | | | | | | | | terminate after all the windows for those URIs have been closed. svn path=/branches/kill-bonobo/; revision=37157
* | Split EAccountList and ESignatureList management out of the mail module.Matthew Barnes2009-01-271-20/+13
| | | | | | | | | | | | | | This reduces the dependency of the composer on the mail module, which is currently a circular dependency. svn path=/branches/kill-bonobo/; revision=37135
* | Miscellaneous stuff.Matthew Barnes2009-01-271-6/+6
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37134
* | Redesign EPluginUI to accommodate merging and unmerging shell views.Matthew Barnes2009-01-241-2/+4
| | | | | | | | | | | | Get the "mark-all-read" and "plugin-manager" plugins working. svn path=/branches/kill-bonobo/; revision=37125
* | Untangle some circular dependencies with the composer.Matthew Barnes2009-01-201-19/+3
| | | | | | | | | | | | Addressbook and calendar no longer depend on the mailer. svn path=/branches/kill-bonobo/; revision=37107
* | Merge revisions 36866:37046 from trunk.Matthew Barnes2009-01-121-3/+34
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37050
* | Continue chipping away at EMFolderView and EMFolderBrowser.Matthew Barnes2009-01-111-10/+1
| | | | | | | | | | | | Migrate from gnome_url_show() to e_show_uri(). svn path=/branches/kill-bonobo/; revision=37038
* | Tweak the EShell API.Matthew Barnes2009-01-081-2/+2
| | | | | | | | | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* | Get the Character Encoding menu working.Matthew Barnes2009-01-011-1/+0
| | | | | | | | | | | | Kill e_charset_picker_bonobo_ui_populate(). svn path=/branches/kill-bonobo/; revision=36950
* | - Fix NetworkManager connection tracking.Matthew Barnes2008-12-141-68/+25
| | | | | | | | | | | | | | | | | | | | - Implement offline preparation as an EActivity that gets broadcast in a signal to shell modules. Offline preparations are complete when the last EActivity reference is dropped. - Bind some of the composer preferences to EShellSettings properties. svn path=/branches/kill-bonobo/; revision=36875
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-2/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Merge revisions 36737:36810 from trunk.Matthew Barnes2008-11-241-17/+115
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36811
* | There we go... that's more like it.Matthew Barnes2008-11-151-3/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36784
* | Rearranged some of the addressbook code to try and eliminate some circularMatthew Barnes2008-11-141-3/+34
| | | | | | | | | | | | | | | | dependencies in our libraries. The circular dependency between the composer and the mail module is still causing me headaches. And it doesn't help that the addressbook and calendar also want to link to the composer. svn path=/branches/kill-bonobo/; revision=36782
* | Merge revisions 36685:36729 from trunk.Matthew Barnes2008-11-081-2/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36763
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-5/+5
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-19/+16
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-6/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Progress update:Matthew Barnes2008-08-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | - Contacts module partially working! - Implement UI merging. Also merge EInfoLabel into ESidebar. The shell window now manages the icon and labels and keeps them up-to-date via EShellView properties. svn path=/branches/kill-bonobo/; revision=36214
* | Merge revisions 35951:35992 from trunk.Matthew Barnes2008-08-151-1/+0
|/ | | | svn path=/branches/kill-bonobo/; revision=35994
* ** Fixes bug #310988Matthew Barnes2008-06-211-2/+43
| | | | | | | | | | | | | 2008-06-21 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #310988 * e-msg-composer.c: Don't even show the "send-options" action unless an Exchange or GroupWise account appears in the From combo box. svn path=/trunk/; revision=35667
* fixed copyright noticesJeffrey Stedfast2008-06-211-5/+5
| | | | svn path=/trunk/; revision=35662
* ** Fixes bug #538908Matthew Barnes2008-06-211-0/+8
| | | | | | | | | | | | | | | | 2008-06-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #538908 * composer/e-composer-actions.h: Define E_COMPOSER_ACTION_SEND_OPTIONS. * composer/e-msg-composer.c (msg_composer_account_changed_cb): Desensitize the "send-options" action unless we've selected an Exchange or GroupWise account. Based on a patch by Paul Bolle. svn path=/trunk/; revision=35660
* ** Fix for bug #330597Milan Crha2008-06-131-4/+2
| | | | | | | | | | | | 2008-06-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #330597 * e-msg-composer.c: (add_attachments_handle_mime_part): Add all text/* parts which has a filename set and also attach all submessages. svn path=/trunk/; revision=35634
* ** Fixes bug #525241 (EPluginUI)Matthew Barnes2008-05-091-31/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #525241 (EPluginUI) * e-util/Makefile.am: Add e-plugin-ui.[ch]. * e-util/e-plugin.h (EPluginClass): Add a "get_symbol" method for extracting arbitrary symbols from an EPlugin. Implementation of the method is optional. * e-util/e-plugin.c (e_plugin_get_symbol): New function invokes the new "get_symbol" EPlugin method. * e-util/e-plugin.c (epl_get_symbol): New function implements the new "get_symbol" EPlugin method. It extracts the given symbol name from the GModule. * e-util/e-plugin-ui.[ch]: New EPluginHook subclass that allows plugins to extend menus, toolbars, and popups that are managed by GtkUIManager instead of BonoboUI. Should eventually replace EMenu/EPopup. * shell/main.c (main): Register the EPluginUIHook type. * composer/e-msg-composer.c (msg_composer_destroy), (msg_composer_init): Rip out the EMenu logic. * composer/e-msg-composer.c (msg_composer_init): Register the GtkUIManager with EPluginUI. * plugins/face/Makefile.am: * plugins/face/org-gnome-face-ui.xml: Remove org-gnome-face-ui.xml (obsolete). * plugins/face/face.c (e_plugin_ui_init): Initialization callback for EPluginUI. Adds a "face" action to the EMsgComposer instance's "composer" action group. * plugins/face/org-gnome-face.eplug.xml: Replace the "bonobomenu" hook definition with a new one for EPluginUI. Include the UI definition inline. svn path=/trunk/; revision=35485
* ** Fixes part of bug #424744Matthew Barnes2008-05-071-4/+5
| | | | | | | | | | | | | | | | | | | | | | | 2008-05-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #424744 * configure.in: Bump eds_minimum_version to 2.23.2 for camel-iconv.h. * composer/e-composer-private.c: * composer/e-composer-private.h: * composer/e-msg-composer.c: * mail/em-composer-prefs.c: * mail/em-format-html.c: * mail/em-format-quote.c: * mail/em-mailer-prefs.c: * widgets/misc/e-attachment-bar.c: * widgets/misc/e-unicode.c: Use camel-iconv.c instead of e-iconv.h (now deprecated). svn path=/trunk/; revision=35474
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-32/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #526741 (gnome-vfs to gio/gvfs port) * configure.in: Drop dependency on gnome-vfs, depend on gio instead. * addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs. * calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async), (async_read): Read data with gio, not with gnome-vfs. * calendar/gui/e-meeting-store.c: (async_close): Function removed. * calendar/gui/migration.c: * calendar/gui/e-memos.c: * calendar/gui/alarm-notify/notify-main.c: * calendar/gui/e-tasks.c: * calendar/gui/main.c: * calendar/gui/e-meeting-list-view.c: Do not include gnome-vfs. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type): Function removed, use e-util function instead. * calendar/gui/e-cal-popup.c: (temp_save_part): Reflect changes in CamelStreamVFS. * calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free), (ecalp_standard_menu_factory): Use gio to fill popup and launch app. * calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb): * calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb): New helper function to manage file:// urls for GtkHTML component. * calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init): * calendar/gui/e-cal-component-memo-preview.c: (e_cal_comp_preview_url_requested_cb): Use above helper function. * calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb): * calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed. * composer/e-msg-composer.h: (e_msg_composer_guess_mime_type): * composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri), (e_msg_composer_add_inline_image_from_file): Use shared e_util_guess_mime_type instead of its own. * e-util/e-gui-utils.c: Do not include gnome-vfs. * e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path): * e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local): Use gio instead of gnome-vfs. * e-util/e-util.h: * e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri), (e_util_uri_to_filename), (e_util_read_file): New helper functions. * mail/Makefile.am: * mail/em-vfs-stream.h: * mail/em-vfs-stream.c: Removed from project, not used anywhere. * mail/em-menu.c: * mail/em-config.c: Do not include gnome-vfs. * mail/mail-ops.c: (save_messages_exec), (save_part_exec): Changes related to Data Server change of CamelStreamVFS. * mail/em-format.c: (em_format_describe_part): * mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler), (efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop), (efhd_format_attachment): Drop use of deprecated gnome-vfs functions. * mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type. * mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free), (emp_standard_menu_factory): Use gio to fill popup and launch app. * plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs. * plugins/ipod-sync/ical-format.c: (do_save_calendar_ical): * plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook): Write to gio GOutputStream instead of gnome-vfs handle. * plugins/ipod-sync/format-handler.h: (open_for_writing): * plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function. * plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical): * plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical): Use gio GOutputStream instead of gnome-vfs handle. * plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI. * plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI. * plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb), (struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question), (mount_first), (publish): Use gio instead of gnome-vfs for opening (remote) files. * plugins/save-calendar/ical-format.c: (do_save_calendar_ical): * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): Use gio GOutpuStream instead of gnome-vfs handle. * plugins/save-calendar/format-handler.h: (open_for_writing): * plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function. * shell/e-shell-window-commands.c: (command_quick_reference): Use gio instead of gnome-vfs. * widgets/misc/e-attachment.h: (struct _EAttachment): * widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type), (e_attachment_new), (struct DownloadInfo), (download_info_free), (data_ready_cb), (download_to_local_path), (e_attachment_new_remote_file): Use gio instead of gnome-vfs to download remote files. * widgets/misc/e-image-chooser.c: (image_drag_data_received_cb): Use new util function to read file. * widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs. svn path=/trunk/; revision=35378
* ** Fixes bug #523413Matthew Barnes2008-04-091-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #523413 * composer/e-msg-composer.c (msg_composer_dispose): Use the 'application_exiting' private flag to determine whether to tell e_composer_autosave_unregister() to delete the autosave file. * composer/e-msg-composer.c (msg_composer_class_init), (e_msg_composer_save_draft): Remove the 'quit' parameter from the 'save-draft' signal. * composer/e-msg-composer.c (e_msg_composer_request_close_all): Take an autosave snapshot before activating the CLOSE action, and set the private 'application_exiting' flag. This should avoid prompting the user before shutting down. * composer/e-composer-actions.c (action_close_cb): When electing to save a message before closing, hide the window immediately. The callback function can then check the window's visibility after the save is complete to know whether to destroy the window. * composer/e-composer-autosave.c (e_composer_autosave_unregister): Add a 'delete_file' boolean parameter to determine whether to delete the autosave file. * composer/e-composer-private.h: Add an 'application_exiting' flag. * mail/em-composer-utils.c (save_draft_done): Check the composer window's visibility to determine whether to destroy the window. See the corresponding composer/ChangeLog entry to get the full story. * mail/em-composer-utils.c (em_utils_composer_save_draft_cb): Remove the 'quit' parameter. svn path=/trunk/; revision=35346
* ** Fixes part of bug #526152, plus some tangential code cleanup.Matthew Barnes2008-04-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #526152, plus some tangential code cleanup. * mail/Makefile.am: Remove all the IDL crud for GnomeSpell. * mail/em-composer-prefs.c: * mail/evolution-mail.schemas.in: * mail/mail-config.c: Define our own GConf keys for active spell checking languages and the underline color for misspelled words, instead of relying on GnomeSpell's GConf keys. The new keys are: /apps/evolution/mail/composer/spell_color (string) /apps/evolution/mail/composer/spell_languages (list of strings) * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: Cleanup the logic a bit to improve readability. * mail/mail-config.c: Cleanup the GConf notification logic: - We don't need the notification IDs for GConf keys we're watching. - Minimize the repetition of GConf keys to reduce the risk of typos. - Reduce the number of notification callback functions. * mail/Spell.idl: Remove this file; we don't use GnomeSpell anymore. * composer/e-msg-composer.c: * composer/e-composer-private.h: Initialize a new composer's spell checking language menu via our new "spell_languages" GConf key. * tools/killev.c (main): No need to continue killing the GnomeSpell Bonobo server. svn path=/trunk/; revision=35322
* ** Merge the mbarnes-composer branchMatthew Barnes2008-04-031-4041/+2131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-02 Matthew Barnes <mbarnes@redhat.com> ** Merge the mbarnes-composer branch * configure.in: Bump libgtkhtml requirement to 3.19.1. Add gtkhtml-editor dependency for addressbook, calendar and mail. Remove print-message plugin; new composer implements this natively. * tools/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list), (eab_send_contact_list_as_attachment): Adapt to new Bonobo-less composer widget. * calendar/gui/Makefile.am: Remove CORBA rules for the old composer. * calendar/gui/itip-utils.c (comp_from), (comp_to_list), (comp_subject), (comp_content_type), (comp_filename), (comp_description), (append_cal_attachments), (itip_send_comp), (reply_to_calendar_comp): Adapt to new Bonobo-less composer widget. * composer/Makefile.am: Remove CORBA rules for the old composer. * composer/e-msg-composer.c: * composer/e-msg-composer.h: EMsgComposer is now a subclass of GtkhtmlEditor. Extensive refactoring and cleanup, too much to list in detail. * composer/e-composer-header.c: * composer/e-composer-header.h: Add "sensitive" property along with get/set functions. * composer/e-composer-from-header.c: * composer/e-composer-from-header.h: Propagate "refreshed" signal from EAccountComboBox. Add function e_composer_from_header_get_account_list(). * composer/e-composer-private.c: * composer/e-composer-private.h: New files manage composer's private data. Allows other composer files to manipulate private data. * composer/e-msg-composer-hdrs.c: * composer/e-msg-composer-hdrs.h: Remove these files; replaced by EComposerHeaderTable widget. * composer/evolution-composer.c: * composer/evolution-composer.h: Remove these files; composer is now a subclass of GtkhtmlEditor. * composer/e-msg-composer-select-file.c: * composer/e-msg-composer-select-file.h: Remove these files; logic moved to e-msg-composer.c. * composer/listener.c: * composer/listener.h: Remove these files; event handlers moved to e-msg-composer.c. * composer/Composer.idl: * composer/Evolution-Composer.idl: Remove these files; composer is no longer a Bonobo object. * mail/em-composer-prefs (sig_edit_cb), (em_composer_prefs_new_signature): Adapt to new Bonobo-less signature editor. * mail/mail-signature-editor.c: * mail/mail-signature-editor.h: Rewrite the signature editor as a subclass of GtkhtmlEditor. Eliminates Bonobo from the equation. * mail/em-composer-utils.c (composer_get_message), (em_utils_composer_send_cb), (save_draft_done), (em_utils_composer_save_draft_cb), (create_new_composer), (em_utils_compose_new_message), (em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder), (em_utils_post_to_url), (edit_message), (forward_attached), (forward_non_attached), (reply_get_composer), (composer_set_body), (em_utils_reply_to_message), (post_reply_to_message): Adapt to new Bonobo-less composer. * mail/mail-component-factory.c: Composer is no longer needs a Bonobo factory. * mail/mail-config.c: Fix style pattern for EMsgComposer widgets. * plugins/groupwise/mail-send-options.c (org_gnome_composer_send_options): Adapt to streamlined EMsgComposer API. * plugins/exchange-operations/Makefile.am: Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS. * plugins/exchange-operations/exchange-mail-send-options.c (append_to_header), (org_gnome_exchange_send_options): Adapt to streamlined EMsgComposer API. * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): Adapt to streamlined EMsgComposer API. * po/POTFILES.in: Update file list for new composer. * ui/evolution-composer-entries.xml: Remove this file; obsoleted by new composer. * widgets/misc/Makefile.am: Add EVOLUTION_MAIL_LIBS. * widgets/misc/e-account-combo-box.c: * widgets/misc/e-account-combo-box.h: New function e_account_combo_box_get_account_list(). Emit a "refreshed" signal when the EAccountList changes. Add an internal reverse-lookup index. * widgets/misc/e-charset-picker.c (e_charser_add_radio_actions): New function adds radio actions to an action group. Will eventually replace e_charset_picker_bonobo_ui_populate(). * widgets/misc/e-signature-combo-box.c: * widgets/misc/e-signature-combo-box.h: New function e_signature_combo_box_get_signature_list(). ... separate issue ... * configure.in: Bump eds_minimum_version to 2.23.1 for CAMEL_FOLDER_JUNKED_NOT_DELETED symbol. svn path=/trunk/; revision=35313