path: root/endless/eosapplication.c
Commit message (Collapse)AuthorAge
* eosattribution: Allow showing a thumb_uri in the creditsJasper St. Pierre2016-07-14
| | | | | | | | | | 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.
* Make image credits discoverablePhilip Chimento2015-03-25
| | | | | | | | | 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]
* EosAttribution implements GInitablePhilip Chimento2015-03-25
| | | | | | | | 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]
* Initial implementation of image creditsPhilip Chimento2015-03-25
| | | | | | | | | | | | | | | | | | | | | 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]
* Use the new way to define private gobject dataMatt Watson2013-12-09
| | | | | Simpler and has a nicer memory layout. Needed glib 2.38 to do this. [endlessm/eos-sdk#421]
* API for per-user application config directoryPhilip Chimento2013-09-26
| | | | | | | | | | 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]
* Also set the GDK program classPhilip Chimento2013-08-30
| | | | | | | | 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]
* Set prgname rather than wmclass directlyRoddy Shuler2013-08-30
| | | | | | | | | 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]
* Reset the GTK theme when starting up an EosApplicationPhilip Chimento2013-07-04
| | | | | | | The GTK theme should be zeroed out so that we can develop the SDK with our own theme completely. [endlessm/eos-sdk#125]
* Rename C source and header filesP. F. Chimento2013-04-24
For consistency with GTK, blah.[ch] should be named eosblah.[ch]. [#23]