]> www.fi.muni.cz Git - evince.git/log
evince.git
14 years ago[libview] Remove presentation mode code from EvView
Carlos Garcia Campos [Sun, 3 Jan 2010 18:09:38 +0000 (19:09 +0100)]
[libview] Remove presentation mode code from EvView

14 years ago[shell] Use the new EvViewPresentation for presentation mode
Carlos Garcia Campos [Sun, 3 Jan 2010 17:46:21 +0000 (18:46 +0100)]
[shell] Use the new EvViewPresentation for presentation mode

14 years ago[libview] Add EvViewPresentation to implement presentation mode
Carlos Garcia Campos [Sun, 3 Jan 2010 17:27:30 +0000 (18:27 +0100)]
[libview] Add EvViewPresentation to implement presentation mode

It's a new view that contains all the EvView features that are specific
to presentation mode.

14 years ago[libview] Add methods to get/set page cache flags
Carlos Garcia Campos [Sun, 3 Jan 2010 17:19:55 +0000 (18:19 +0100)]
[libview] Add methods to get/set page cache flags

14 years ago[libview] Remove ev_view_page_label_from_dest()
Carlos Garcia Campos [Sun, 3 Jan 2010 17:14:19 +0000 (18:14 +0100)]
[libview] Remove ev_view_page_label_from_dest()

It shouldn't be a view method since it depends on the document rather than
the view and it's been replaced by ev_document_links_get_dest_page_label()

14 years ago[shell] Use new function ev_document_links_get_dest_page_label()
Carlos Garcia Campos [Sun, 3 Jan 2010 17:12:09 +0000 (18:12 +0100)]
[shell] Use new function ev_document_links_get_dest_page_label()

instead of ev_view_page_label_from_dest() that will be removed soon

14 years ago[libcodument] Add helper methods to get destination page of a link
Carlos Garcia Campos [Sun, 3 Jan 2010 17:01:52 +0000 (18:01 +0100)]
[libcodument] Add helper methods to get destination page of a link

14 years ago[libview] Move cursor handling stuff to a new file
Carlos Garcia Campos [Sun, 3 Jan 2010 16:56:20 +0000 (17:56 +0100)]
[libview] Move cursor handling stuff to a new file

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 1 Jan 2010 09:53:03 +0000 (10:53 +0100)]
Updated Slovenian translation

14 years ago[windows] Properly define the _WIN32_WINNT version
Hib Eris [Tue, 29 Dec 2009 11:08:40 +0000 (12:08 +0100)]
[windows] Properly define the _WIN32_WINNT version

14 years ago[windows] Fix printing on Windows
Hib Eris [Tue, 29 Dec 2009 15:12:02 +0000 (16:12 +0100)]
[windows] Fix printing on Windows

Fixes bgo#604705

14 years agoUpdated Spanish translation
Jorge González [Mon, 28 Dec 2009 19:19:11 +0000 (20:19 +0100)]
Updated Spanish translation

14 years agoPopup view signal is never emitted in presentation mode
Carlos Garcia Campos [Mon, 28 Dec 2009 14:52:44 +0000 (15:52 +0100)]
Popup view signal is never emitted in presentation mode

14 years ago[libview] Disable text selection in presentation mode
Carlos Garcia Campos [Mon, 28 Dec 2009 14:51:34 +0000 (15:51 +0100)]
[libview] Disable text selection in presentation mode

Fixes bug 605554.

14 years ago[printing] Add select page size using document page size print option
Adrian Johnson [Thu, 24 Dec 2009 12:32:17 +0000 (13:32 +0100)]
[printing] Add select page size using document page size print option

Add a checkbox to the evince print setup tab that when selected
changes the printer page size to the size of the document page being
printed.

Fixes bgo#599547.

14 years ago[printing] Add autorotate and center print option
Adrian Johnson [Wed, 23 Dec 2009 17:16:59 +0000 (18:16 +0100)]
[printing] Add autorotate and center print option

Add a checkbox to the evince print setup tab that when selected:
 - rotates each printed page to match the document page orientation
 - centers the document page within the printed page

bgo#599470

14 years ago[printing] Add custom print tab with option for page scale
Adrian Johnson [Wed, 23 Dec 2009 16:48:11 +0000 (17:48 +0100)]
[printing] Add custom print tab with option for page scale

that can choose between none, shrink to printable area, and fit to
printable area.

bgo#599468

14 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Wed, 23 Dec 2009 11:17:16 +0000 (18:17 +0700)]
Updated Thai translation.

14 years ago[windows] Use \r\n as delimiter to split lines on Windows
Hib Eris [Tue, 22 Dec 2009 20:06:06 +0000 (21:06 +0100)]
[windows] Use \r\n as delimiter to split lines on Windows

Fixes bgo#605146.

14 years ago[thumbnailer] Add support for remote files
Carlos Garcia Campos [Tue, 22 Dec 2009 17:04:30 +0000 (18:04 +0100)]
[thumbnailer] Add support for remote files

Fixes bgo#605218.

14 years ago[comics] Do not initalize GPid's with -1
Hib Eris [Mon, 21 Dec 2009 11:49:11 +0000 (12:49 +0100)]
[comics] Do not initalize GPid's with -1

On Windows, a GPid is a pointer, not an integer. Initializing it with
"-1" causes warnings on Windows and is unnecessay on Unix, so it is
better to not do that. See bgo#605146

14 years ago[comics] Properly quote commands
Hib Eris [Mon, 21 Dec 2009 11:46:49 +0000 (12:46 +0100)]
[comics] Properly quote commands

See bgo#605146.

14 years ago[windows] Do not use g_content_type_guess() on Windows
Hib Eris [Mon, 21 Dec 2009 11:31:24 +0000 (12:31 +0100)]
[windows] Do not use g_content_type_guess() on Windows

At the moment, the g_content_type_guess() implementation in glib for
Windows is too limited to be useful.

14 years ago[windows] Make comics backend also compile on Windows
Hib Eris [Sun, 20 Dec 2009 10:09:54 +0000 (11:09 +0100)]
[windows] Make comics backend also compile on Windows

See bgo#605146.

14 years ago[comics] Remove comics_regex_quote() in favor of always using g_shell_quote()
Juanjo Marín [Tue, 22 Dec 2009 16:09:01 +0000 (17:09 +0100)]
[comics] Remove comics_regex_quote() in favor of always using g_shell_quote()

Fixes bgo#605092.

14 years ago[properties] Properly redrawn properties view when document is reloaded
Carlos Garcia Campos [Tue, 22 Dec 2009 15:45:53 +0000 (16:45 +0100)]
[properties] Properly redrawn properties view when document is reloaded

Fixes bgo#605169.

14 years ago[windows] Gray-out help contents menu option on Windows
Hib Eris [Tue, 22 Dec 2009 10:17:13 +0000 (11:17 +0100)]
[windows] Gray-out help contents menu option on Windows

Disable help because help functionality is not yet ported to Windows.
See bgo#604703.

14 years agoAdd evince icon to the win32 executable
Hib Eris [Sat, 19 Dec 2009 12:27:46 +0000 (13:27 +0100)]
Add evince icon to the win32 executable

14 years ago[release] 2.29.4 EVINCE_2_29_4
Carlos Garcia Campos [Mon, 21 Dec 2009 13:03:34 +0000 (14:03 +0100)]
[release] 2.29.4

14 years agoUpdate POTFILES.in
Carlos Garcia Campos [Mon, 21 Dec 2009 13:02:53 +0000 (14:02 +0100)]
Update POTFILES.in

ev-print-operation.c has been moved from shell to libview

14 years ago[libview] Initialize view from model when a new model is set
Carlos Garcia Campos [Mon, 21 Dec 2009 12:02:28 +0000 (13:02 +0100)]
[libview] Initialize view from model when a new model is set

14 years agoDo not fail to open external uri links that are relative paths
Carlos Garcia Campos [Sun, 20 Dec 2009 17:26:27 +0000 (18:26 +0100)]
Do not fail to open external uri links that are relative paths

If an external uri is not a valid uri (it doesn't contain :// nor
mailto:) we assume it's http if it starts with www, otherwise we build a
new uri for the relative path with the document uri as base.
Fixes bgo#604716.

14 years ago[libview] Fix a crash with document that contain no pages or empty pages
Carlos Garcia Campos [Sun, 20 Dec 2009 16:38:46 +0000 (17:38 +0100)]
[libview] Fix a crash with document that contain no pages or empty pages

Fixes bgo#605029.

14 years agoDo not hardcode BINDIR on Windows
Hib Eris [Fri, 18 Dec 2009 20:01:57 +0000 (21:01 +0100)]
Do not hardcode BINDIR on Windows

14 years ago[shell] Always show rotate icons
Carlos Garcia Campos [Sat, 19 Dec 2009 12:34:58 +0000 (13:34 +0100)]
[shell] Always show rotate icons

Fixes bgo#599398.

14 years agoFix typo in rotate-right menu item name
Carlos Garcia Campos [Sat, 19 Dec 2009 12:34:24 +0000 (13:34 +0100)]
Fix typo in rotate-right menu item name

14 years agoUnref document after unreffing pixbuf_cache.
Hib Eris [Thu, 17 Dec 2009 15:25:03 +0000 (16:25 +0100)]
Unref document after unreffing pixbuf_cache.

The pixbuf_cache depends on the availabilty of the document's module
library (at least for djvu-documents on Windows). Fixes bgo#604919.

14 years agoReplace mkdtemp() with _ev_g_mkdtemp().
Hib Eris [Thu, 10 Dec 2009 15:26:34 +0000 (16:26 +0100)]
Replace mkdtemp() with _ev_g_mkdtemp().

The function mkdtemp() is not available on Windows. Unfortunately,
glib does not have a portable replacement for it yet, see
http://bugzilla.gnome.org/show_bug.cgi?id=524831. This patch copies
a proposed implementation for g_mkdtemp() from that bug
report (renamed to _ev_g_mkdtemp()). Fixes bgo#604917.

14 years agoDrop gnome-icon-theme dependency
Hib Eris [Thu, 10 Dec 2009 15:22:16 +0000 (16:22 +0100)]
Drop gnome-icon-theme dependency

As far as I can tell, Evince required only 3 icons from
gnome-icon-theme, 'object-rotate-left', 'object-rotate-right' and
'x-office-presentation'.

This patch adds copies for these icons from gnome-icon-theme-2.24.

It also removes the compile-time check for gnome-icon-theme on
all platforms execpt gnome.

Note, when gnome-icon-theme is installed, the icons from that theme take
precedence over the icons from this patch. Therefore, evince uses the icons
from this patch only as a backup when no gnome-icon-theme is installed.

All added icons are copied from gnome-icon-theme-2.24, which is licensed
under GNU GPLv2.

14 years agoMove EvPrintOperation to libview
Tomeu Vizoso [Wed, 16 Dec 2009 23:37:43 +0000 (21:37 -0200)]
Move EvPrintOperation to libview

https://bugzilla.gnome.org/show_bug.cgi?id=604750

15 years agoUpdated Arabic translation
Khaled Hosny [Thu, 17 Dec 2009 08:46:40 +0000 (10:46 +0200)]
Updated Arabic translation

15 years agoInclude ev-document-attachments.h to evince-document.h
Tomeu Vizoso [Wed, 16 Dec 2009 16:32:26 +0000 (14:32 -0200)]
Include ev-document-attachments.h to evince-document.h

15 years agoRemove leftover function prototype
Tomeu Vizoso [Wed, 16 Dec 2009 16:32:00 +0000 (14:32 -0200)]
Remove leftover function prototype

15 years ago[libview] Remove props and api from EvView that is already in EvDocumentModel
Carlos Garcia Campos [Sun, 13 Dec 2009 16:24:33 +0000 (17:24 +0100)]
[libview] Remove props and api from EvView that is already in EvDocumentModel

15 years ago[previewer] Use model api instead of EvView to set continuous mode
Carlos Garcia Campos [Sun, 13 Dec 2009 16:22:37 +0000 (17:22 +0100)]
[previewer] Use model api instead of EvView to set continuous mode

15 years ago[previewer] Remove debug message
Carlos Garcia Campos [Sun, 13 Dec 2009 16:22:01 +0000 (17:22 +0100)]
[previewer] Remove debug message

15 years ago[libview] Make inverted_colors a guint instead of a gboolean
Carlos Garcia Campos [Sun, 13 Dec 2009 16:07:14 +0000 (17:07 +0100)]
[libview] Make inverted_colors a guint instead of a gboolean

15 years ago[libdocument] Get document info after page sizes to take advantage of cache
Carlos Garcia Campos [Sat, 12 Dec 2009 15:40:22 +0000 (16:40 +0100)]
[libdocument] Get document info after page sizes to take advantage of cache

Fixes 0x0 page size always shown in properties view.

15 years agoUpdate page action when entry text changes but not current page
Carlos Garcia Campos [Sat, 12 Dec 2009 15:22:10 +0000 (16:22 +0100)]
Update page action when entry text changes but not current page

That happens when user types and invalid page or current page. Fixes
bgo#603714.

15 years ago[comics] Add support for cbt files
Juanjo Marín [Fri, 11 Dec 2009 13:40:43 +0000 (14:40 +0100)]
[comics] Add support for cbt files

Fixes bgo#588266.

15 years agoUse EvPage instead of page index to get images
Carlos Garcia Campos [Wed, 9 Dec 2009 17:36:17 +0000 (18:36 +0100)]
Use EvPage instead of page index to get images

So that we can re-use the page object instead of creating and deleting a
new one.

15 years agoUse EvPage instead of page index to get links
Carlos Garcia Campos [Wed, 9 Dec 2009 17:23:00 +0000 (18:23 +0100)]
Use EvPage instead of page index to get links

So that we can re-use the page object instead of creating and deleting a
new one.

15 years ago[libview] Unref EvPage as soon as page is rendered
Carlos Garcia Campos [Wed, 9 Dec 2009 17:14:06 +0000 (18:14 +0100)]
[libview] Unref EvPage as soon as page is rendered

15 years ago[libview] Remove RenderContext from CacheJobInfo
Carlos Garcia Campos [Wed, 9 Dec 2009 17:07:59 +0000 (18:07 +0100)]
[libview] Remove RenderContext from CacheJobInfo

15 years ago[libview] Split EvPixbufCache into dynamic and static data
Carlos Garcia Campos [Tue, 8 Dec 2009 17:23:50 +0000 (18:23 +0100)]
[libview] Split EvPixbufCache into dynamic and static data

Dynamic page data (page surfaces and selections) that depend on current
scale/rotation, keep in EvPixbufCache with the current cache approach.
Static page data (links, annots, images, text and forms) that don't
depend on current scale/rotation, have been moved to EvPageCache and they
are never removed from the cache.
Fixes bgo#602405.

15 years ago[libview] Don't try to show/hide annot windows the first time page range changes
Carlos Garcia Campos [Tue, 8 Dec 2009 16:28:49 +0000 (17:28 +0100)]
[libview] Don't try to show/hide annot windows the first time page range changes

15 years agoUse EvPage instead of a render context to get the selection map
Carlos Garcia Campos [Tue, 8 Dec 2009 12:26:44 +0000 (13:26 +0100)]
Use EvPage instead of a render context to get the selection map

Selection map doesn't depend on scale/rotation so only the page is
needed.

15 years agoRemove leftover EvPageCache
Carlos Garcia Campos [Tue, 8 Dec 2009 11:41:13 +0000 (12:41 +0100)]
Remove leftover EvPageCache

15 years ago[Bug 603857] Typo in EV_RENDER_CONTEXT
Gustavo Carneiro [Sun, 6 Dec 2009 00:13:45 +0000 (00:13 +0000)]
[Bug 603857] Typo in EV_RENDER_CONTEXT

15 years ago[libview] Remove unimplemented method ev_job_is_cancelled()
Carlos Garcia Campos [Sat, 5 Dec 2009 18:42:27 +0000 (19:42 +0100)]
[libview] Remove unimplemented method ev_job_is_cancelled()

Fixes bgo#603858.

15 years agoUpdated Hebrew translation
Yair Hershkovitz [Sat, 5 Dec 2009 10:42:51 +0000 (12:42 +0200)]
Updated Hebrew translation

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Fri, 4 Dec 2009 20:55:58 +0000 (21:55 +0100)]
Updated Norwegian bokmål translation.

15 years agoUpdate Simplified Chinese translation.
Aron Xu [Fri, 4 Dec 2009 16:27:06 +0000 (00:27 +0800)]
Update Simplified Chinese translation.

15 years ago[libview] Improve size_request functions
Carlos Garcia Campos [Tue, 1 Dec 2009 19:36:45 +0000 (20:36 +0100)]
[libview] Improve size_request functions

Some of the code is only required depending on the sizing mode.

15 years ago[libview] Remove unneeded redundant code
Carlos Garcia Campos [Tue, 1 Dec 2009 19:17:29 +0000 (20:17 +0100)]
[libview] Remove unneeded redundant code

15 years ago[NEWS] Add info about bgo#602742 to 2.29.3 news
Carlos Garcia Campos [Tue, 1 Dec 2009 08:46:28 +0000 (09:46 +0100)]
[NEWS] Add info about bgo#602742 to 2.29.3 news

15 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 30 Nov 2009 19:37:52 +0000 (20:37 +0100)]
Updated Slovenian translation

15 years ago[release] 2.29.3 EVINCE_2_29_3
Carlos Garcia Campos [Mon, 30 Nov 2009 19:22:07 +0000 (20:22 +0100)]
[release] 2.29.3

15 years ago[libview] Queue a redraw instead of a resize when inverted colors changes
Carlos Garcia Campos [Mon, 30 Nov 2009 17:45:50 +0000 (18:45 +0100)]
[libview] Queue a redraw instead of a resize when inverted colors changes

15 years ago[libview] Fix infinite loop when scrollbar visibility changes in fit-with mode
Carlos Garcia Campos [Mon, 30 Nov 2009 17:40:56 +0000 (18:40 +0100)]
[libview] Fix infinite loop when scrollbar visibility changes in fit-with mode

15 years agoAdded LowGerman translation
Nils-Christoph Fiedler [Mon, 30 Nov 2009 15:25:46 +0000 (16:25 +0100)]
Added LowGerman translation

15 years agoAdded LowGerman translation
Nils-Christoph Fiedler [Mon, 30 Nov 2009 15:25:39 +0000 (16:25 +0100)]
Added LowGerman translation

15 years agoUpdating Estonian translation
Ivar Smolin [Mon, 30 Nov 2009 11:08:25 +0000 (13:08 +0200)]
Updating Estonian translation

15 years agoUpdate Simplified Chinese translation.
Tao Wei [Mon, 30 Nov 2009 09:10:39 +0000 (17:10 +0800)]
Update Simplified Chinese translation.

15 years agoUpdated Hebrew translation
Yaron Shahrabani [Sun, 29 Nov 2009 22:47:06 +0000 (00:47 +0200)]
Updated Hebrew translation

15 years agoUpdated Spanish translation
Jorge González [Sun, 29 Nov 2009 22:44:44 +0000 (23:44 +0100)]
Updated Spanish translation

15 years ago[shell] Get rotation directly from the model when updating window icon
Carlos Garcia Campos [Sun, 29 Nov 2009 16:18:50 +0000 (17:18 +0100)]
[shell] Get rotation directly from the model when updating window icon

15 years ago[shell] Add tooltip text for inverted colors action
Carlos Garcia Campos [Sun, 29 Nov 2009 16:00:36 +0000 (17:00 +0100)]
[shell] Add tooltip text for inverted colors action

15 years agoAdd option for displaying with inverted-colors
Juanjo Marín [Sun, 29 Nov 2009 15:45:30 +0000 (16:45 +0100)]
Add option for displaying with inverted-colors

Fixes bgo#321823.

15 years ago[shell] Update window icon too when the inverted colors option is active
Carlos Garcia Campos [Sun, 29 Nov 2009 15:19:13 +0000 (16:19 +0100)]
[shell] Update window icon too when the inverted colors option is active

15 years ago[shell] Invert colors of thumbnails when inverted colors option is active
Carlos Garcia Campos [Sun, 29 Nov 2009 15:00:57 +0000 (16:00 +0100)]
[shell] Invert colors of thumbnails when inverted colors option is active

See bgo#321823.

15 years ago[libview] Invert colors of pages after rendering when inverted colors option is enabled
Carlos Garcia Campos [Sun, 29 Nov 2009 14:57:08 +0000 (15:57 +0100)]
[libview] Invert colors of pages after rendering when inverted colors option is enabled

See bgo#321823.

15 years ago[libdocument] Add inverted-color property to EvDocumentModel
Juanjo Marín [Sun, 29 Nov 2009 14:50:29 +0000 (15:50 +0100)]
[libdocument] Add inverted-color property to EvDocumentModel

See bgo#321823.

15 years ago[libdocument] Add a function to invert colors of an image cairo surface
Carlos Garcia Campos [Sun, 29 Nov 2009 14:34:40 +0000 (15:34 +0100)]
[libdocument] Add a function to invert colors of an image cairo surface

See bgo#321823.

15 years ago[libdocument] Add a function to invert colors of a GdkPibuf
Juanjo Marín [Sun, 29 Nov 2009 14:30:48 +0000 (15:30 +0100)]
[libdocument] Add a function to invert colors of a GdkPibuf

See bgo#321823.

15 years agoAdd invert icon for inverted colors option
Juanjo Marín [Sun, 29 Nov 2009 14:24:10 +0000 (15:24 +0100)]
Add invert icon for inverted colors option

Icon borrowed from GIMP. See bgo#321823.

15 years ago[libview] Fix rendering issue in dual/continuous mode
José Aliste [Wed, 25 Nov 2009 11:49:52 +0000 (12:49 +0100)]
[libview] Fix rendering issue in dual/continuous mode

Fixes bgo#602742.

15 years ago[libview] Do not resize the window when zoom in/out with CTRL+Scroll
Carlos Garcia Campos [Wed, 25 Nov 2009 11:06:28 +0000 (12:06 +0100)]
[libview] Do not resize the window when zoom in/out with CTRL+Scroll

Fixes bgo#602798.

15 years ago[shell] Do not create a destination for reloading current page
Carlos Garcia Campos [Mon, 23 Nov 2009 13:51:37 +0000 (14:51 +0100)]
[shell] Do not create a destination for reloading current page

15 years ago[libview] Keep scroll position when reloading
Carlos Garcia Campos [Mon, 23 Nov 2009 13:22:37 +0000 (14:22 +0100)]
[libview] Keep scroll position when reloading

Fixes bgo#602445.

15 years agoUpdating Estonian translation
Ivar Smolin [Sun, 22 Nov 2009 16:02:40 +0000 (18:02 +0200)]
Updating Estonian translation

15 years ago[shell] Make "p" and "n" accels unsensitive while searching
Carlos Garcia Campos [Thu, 19 Nov 2009 18:26:53 +0000 (19:26 +0100)]
[shell] Make "p" and "n" accels unsensitive while searching

15 years agoAdd options to open and save attachment annotations to context menu
Carlos Garcia Campos [Tue, 17 Nov 2009 13:31:26 +0000 (14:31 +0100)]
Add options to open and save attachment annotations to context menu

15 years ago[pdf] Use the attachment name rather than the annotation name
Carlos Garcia Campos [Tue, 17 Nov 2009 13:29:22 +0000 (14:29 +0100)]
[pdf] Use the attachment name rather than the annotation name

Annotation name is the name of an icon to be used in displaying the
annot.

15 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 17 Nov 2009 07:27:16 +0000 (08:27 +0100)]
Updated Slovenian translation

15 years agoUpdated Spanish translation
Jorge González [Mon, 16 Nov 2009 18:59:11 +0000 (19:59 +0100)]
Updated Spanish translation

15 years ago[release] 2.29.2 EVINCE_2_29_2
Carlos Garcia Campos [Mon, 16 Nov 2009 16:46:38 +0000 (17:46 +0100)]
[release] 2.29.2

15 years ago[build] Fail to build when poppler isn't found and --disable-pdf option hasn't been...
Carlos Garcia Campos [Mon, 16 Nov 2009 16:26:53 +0000 (17:26 +0100)]
[build] Fail to build when poppler isn't found and --disable-pdf option hasn't been provided

15 years ago[libview] Handle file attachment annotations
Carlos Garcia Campos [Mon, 16 Nov 2009 13:27:44 +0000 (14:27 +0100)]
[libview] Handle file attachment annotations

Attachment is opened when annotation is clicked.

15 years ago[pdf] Add support for Attachment annotations
Carlos Garcia Campos [Mon, 16 Nov 2009 13:19:27 +0000 (14:19 +0100)]
[pdf] Add support for Attachment annotations

See bgo#601839