aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-3/+4
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-2/+4
| | | | | | | 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 EAttachmentHandler to an EExtension.Matthew Barnes2010-08-271-32/+15
| | | | | | | | | | | | EAttachmentHandler predates EExtension, so this is really just a code cleanup to use the extension framework. But this also demonstrates that extensions can target interfaces as well as instantiable types, since EAttachmentView is an interface. What's also nice is EAttachmentView no longer has to directly interact with attachment handlers. Instead of EAttachmentView having to query each attachment handler for drag-and-drop info, each handler now pushes its own drag-and-drop info to its EAttachmentView during initialization.
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-89/+67
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Bug 624913 - Disallow drag-and-drop within the same attachment barMatthew Barnes2010-08-131-8/+47
| | | | | | | | | | | | 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 271691 - Add a way to view all attachments inlineMatthew Barnes2010-08-111-1/+95
|
* EAttachmentView cleanups.Matthew Barnes2010-08-111-65/+65
|
* Use an appropriate icon when dragging attachments.Matthew Barnes2010-06-231-2/+43
|
* More GTK3 preparation.Matthew Barnes2010-06-041-2/+5
| | | | | This uses the new gtk_assistant_commit() I had added to GTK+ for our EImportAssistant progress page.
* Bug 608855 - Can't drag and drop multiple attachmentsMatthew Barnes2010-05-211-24/+136
| | | | Based on EggTreeMultiDragSource in libegg.
* Improve attachment bar selection behavior.Matthew Barnes2010-05-201-20/+18
| | | | | | | | | | Some improvements made while investigating bug #608855. This does not solve the bug however, and in fact I now believe the bug is actually a GTK+ issue after reproducing the bug in gtk-demo. These improvements restore multiple selections via Ctrl+Click and Shift+Click, and also reduces the frequency that we synchronize the selection between Icon View and Tree View.
* Bug 615291 - Preview pane's attachment bar accepts dropMatthew Barnes2010-05-121-5/+14
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-2/+2
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-1/+0
|
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-1/+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.)
* Add DnD support to e-selection.c.Matthew Barnes2010-02-091-13/+10
| | | | | | Avoid listing calendar and directory targets explicitly, so that e-selection.c contains the one and only master list. Still need to figure out how to centralize "text/x-source-vcard".
* Bug 606250 - Remove usage of deprecated GTK+ symbolsMatthew Barnes2010-01-081-10/+10
| | | | Several GtkWidget macros were recently deprecated.
* Bug 599190 - Unable to drop attachments in the attachment barMatthew Barnes2009-10-231-1/+1
|
* Finish killing Bonobo.Matthew Barnes2009-09-091-21/+23
|
* Relax the EBinding API to reduce GObject casting.Matthew Barnes2009-09-021-2/+2
| | | | | Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
* Bug 572543 – Doesn't show correct application for pdf attachmentsMatthew Barnes2009-06-041-3/+0
| | | | | | This fix got dropped in the attachment rewrite. Also, ignore the application's NoDisplay setting when building the "open with" menu. That's mainly so "Document Viewer" shows up in the list.
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Fix compiler warnings in widgets.Matthew Barnes2009-05-261-3/+3
|
* Bug 582585 – Crash when deleting multiple attachments from composed mailMatthew Barnes2009-05-141-0/+6
|
* Fix a couple attachment drag-and-drop typos.Matthew Barnes2009-05-061-2/+2
|
* Use 'Open with "$foo"' instead of 'Open in $foo...'Matthew Barnes2009-05-061-1/+1
| | | | For better consistency with Nautilus.
* Bug 581454 – Move nautilus-sendto integration to EvolutionMatthew Barnes2009-05-061-0/+2
|
* Bump the required GLib and GTK+ versions to latest stable.Matthew Barnes2009-05-011-2/+0
| | | | | We now require GLib >= 2.20 and GTK+ >= 2.16. Also removed all GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
* Bug 516933 – Rewrite attachment UIMatthew Barnes2009-04-281-0/+1637
Rewrite the attachment UI to better utilize GIO and also to migrate from GnomeIconList to GtkIconView. This also introduces a "List View" option similar to Nautilus, as well as the EAttachmentHandler framework for extending attachment handling (may eventually replace EMFormatHook). This commit also fixes a number of secondary attachment bugs: Bug 311609 – new attachment bar should use regular gtk+ expander Bug 314923 – Drag and Drop in attachment window is inconsistent and requires additional click Bug 338179 – attachment saving ... Bug 350364 – Action to get info about attachments Bug 383047 – Viewing mail attachments Bug 427235 – Can't copy attachment mime type string Bug 454091 – Cannot save multiple attachments who have the same name Bug 494629 – Rethink composer's attachment UI Bug 553970 – Evolution ignores umask when saving attachments Bug 577375 – mailto: and attach doesn't URL un-escape