| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
We hardcode a wrap width of 600 based on the dialog's default width of
700.
https://phabricator.endlessm.com/T17540
|
|
|
|
| |
Reinstate the element number in the critical error message.
|
|
|
|
|
|
|
|
|
|
| |
This is the replacement for resource_path, and is a generic way of
showing an image to provide attribution information for.
This will be used to pull in ekn:// URIs for the credits dialog in
subscriptions apps.
https://phabricator.endlessm.com/T12435
|
|
|
|
|
|
|
| |
The localization of the license display name is done by the API directly, so
the consuming methods should not do it again.
[endlessm/eos-sdk#3532]
|
|
|
|
|
|
|
|
|
|
| |
Added a new API to serve locally-stored copies of Creative Commons' license
files, for a specified license level. This method uses the user's locale
to serve the appropriate version of the file.
(Philip & Fernando)
[endlessm/eos-sdk#3111]
|
|
|
|
|
|
|
| |
These licenses are used in the new batch of image attributions coming
from eos-knowledge-apps.
[endlessm/eos-sdk#3052]
|
|
|
|
| |
[endlessm/eos-sdk#3052]
|
|
|
|
|
|
|
|
| |
Any strings read from external sources that are used as Pango markup
should be escaped before using. Also, add translator comments indicating
when a string is Pango markup.
[endlessm/eos-sdk#3052]
|
|
|
|
|
|
|
|
| |
Since the first thing we do is load the attribution information from the
file and the object is useless if that fails, then we may as well make
the file a construct property and implement GInitable.
[endlessm/eos-sdk#2934]
|
|
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]
|