path: root/docs
diff options
authorPhilip Chimento <>2014-01-08 16:51:39 -0500
committerPhilip Chimento <>2015-03-25 17:42:34 -0700
commit67c212e47a1db5f3e3dd1abaf552052e46512c93 (patch)
tree84d7d7906b033e502561c4136efeda68312cc6bc /docs
parent88a142a202a3ae5e82f222cbb5ce75372d66e719 (diff)
Initial implementation of image credits
This is a rough implementation of an "About"-like dialog for image attribution in SDK applications. You can press the 'secret' hotkey Shift+Ctrl+A to get a dialog with thumbnails and attribution information for the images in the app's GResource. Clicking on the thumbnail opens the image's original URI in the browser, if known. Clicking on the text opens the image's license text in the browser, if known. For this, you need to add a JSON file to the app's GResource and pass its GResource path to the EosApplication:image-attribution-file property. The format of this JSON file is described in the documentation for EosApplication. The dialog uses GtkTreeView because we didn't have GtkListBox when I started implementing it over a year ago. This places some limitations on the UI; the links behave weirdly and the mouse pointer doesn't change to a hand when hovering over the links. [endlessm/eos-sdk#2934]
Diffstat (limited to 'docs')
3 files changed, 12 insertions, 1 deletions
diff --git a/docs/reference/endless/ b/docs/reference/endless/
index 63219eb..a4091ba 100644
--- a/docs/reference/endless/
+++ b/docs/reference/endless/
@@ -54,7 +54,11 @@ IGNORE_HFILES= eosinit-private.h \
eosmainarea-private.h \
eosactionmenu-private.h \
eospagemanager-private.h \
- eosflexygrid-private.h
+ eosflexygrid-private.h \
+ eosattribution-private.h \
+ eoscellrendererpixbuflink-private.h \
+ eoscellrenderertextlink-private.h \
+ $(NULL)
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
diff --git a/docs/reference/endless/endless-docs.xml b/docs/reference/endless/endless-docs.xml
index bf70d99..e94162d 100644
--- a/docs/reference/endless/endless-docs.xml
+++ b/docs/reference/endless/endless-docs.xml
@@ -35,6 +35,11 @@
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
+ <index id="api-index-0.2">
+ <title>Index of new API in 0.2</title>
+ <xi:include href="xml/api-index-0.2.xml"><xi:fallback /></xi:include>
+ </index>
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
diff --git a/docs/reference/endless/endless-sections.txt b/docs/reference/endless/endless-sections.txt
index 0bab0b8..ed2e6bd 100644
--- a/docs/reference/endless/endless-sections.txt
+++ b/docs/reference/endless/endless-sections.txt
@@ -27,6 +27,8 @@ EOS_ENUM_VALUE