add gSettings support; implement issue #10: Remember window position

This commit is contained in:
Ronny Dobra committed 2017-06-25 14:40:52 +02:00
1 parent 89f04d677f
commit 4dd56a8c3c
6 files changed
+56 -10

No files matched your search

@@ -7,11 +7,12 @@
<name>Color Picker</name>
<summary>The most intuitive Color Picker to speed up your workflow.</summary>
<description>
<p>One Color Picker to rule them all! No overhelming menus and settings. Just a dialog with all the features you'll need:</p>
<p>One Color Picker to rule them all! No overhelming menus or settings. An easy tool with the features you need.</p>
<p>Features:</p>
<ul>
<li>Pick a color</li>
<li>Choose between multiple <b>Color Formats</b></li>
<li>Let the <b>Color History</b> remember your last colors</li>
<li>Choose between multiple Color Formats</li>
<li>Let the Color History remember your last colors</li>
</ul>
</description>
<provides>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema path="/com/github/ronnydo/colorpicker/"
id="com.github.ronnydo.colorpicker"
gettext-domain="com.github.ronnydo.colorpicker">
<key name="window-x" type="i">
<default>-1</default>
<summary>Most recent x position of app window</summary>
<description>Most recent x position of app window</description>
</key>
<key name="window-y" type="i">
<default>-1</default>
<summary>Most recent y position of app window</summary>
<description>Most recent y position of app window</description>
</key>
</schema>
</schemalist>
+5
View File
@@ -7,6 +7,11 @@ foreach i : icon_sizes
)
endforeach
install_data(
meson.project_name() + '.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
)
install_data(
meson.project_name() + '.desktop',
install_dir: join_paths(get_option('datadir'), 'applications')