| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This action is bound to Ctrl+Q and uses the conventional app.quit action
name, which provides better integration with some desktop environments.
https://phabricator.endlessm.com/T23254
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This adds a fourth topbar button, to the left of the minimize button,
that is invisible by default. When you mouse over the space where it
would be, it appears. When you click on it, it activates the image
credits dialog.
[endlessm/eos-sdk#2934]
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
Simpler and has a nicer memory layout. Needed glib 2.38 to do this.
[endlessm/eos-sdk#421]
|
|
|
|
|
|
|
|
|
|
| |
During application startup, ensure that the config directory
($HOME/.config/com.example.application-id) exists and is writable.
Add API for accessing the directory:
- eos_application_get_config_dir()
- EosApplication:config-dir
[endlessm/eos-sdk#303]
|
|
|
|
|
|
|
|
| |
When setting the application ID, sometimes the GDK program class is
not set, so set it explicitly to remove possiblities for having it
out of sync.
[endlessm/eos-sdk#285]
|
|
|
|
|
|
|
|
|
| |
Changes were made by Cosimo.
Per Cosimo, applications should not call
gtk_window_set_wmclass directly.
Calls to g_set_prgname will indirectly set the wmclass.
[endlessm/eos-shell#853]
|
|
|
|
|
|
|
| |
The GTK theme should be zeroed out so that we can develop the SDK
with our own theme completely.
[endlessm/eos-sdk#125]
|
|
For consistency with GTK, blah.[ch] should be named eosblah.[ch].
[#23]
|