Created GSettings schemas
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -30,6 +30,7 @@ Makefile.in | |||||||
| /libtool | /libtool | ||||||
| /compile | /compile | ||||||
| /tags | /tags | ||||||
|  | /data/*.gschema.valid | ||||||
|  |  | ||||||
| # Generated files | # Generated files | ||||||
| /src/ag-resources.c | /src/ag-resources.c | ||||||
|   | |||||||
| @@ -24,6 +24,7 @@ AM_GNU_GETTEXT_VERSION([0.17]) | |||||||
| LT_INIT | LT_INIT | ||||||
| GTK_DOC_CHECK([1.19], [--flavour no-tmpl]) | GTK_DOC_CHECK([1.19], [--flavour no-tmpl]) | ||||||
| PKG_PROG_PKG_CONFIG | PKG_PROG_PKG_CONFIG | ||||||
|  | GLIB_GSETTINGS | ||||||
| AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) | AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums]) | ||||||
| PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.30]) | PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.30]) | ||||||
| PKG_CHECK_MODULES([GOBJECT], [gobject-2.0]) | PKG_CHECK_MODULES([GOBJECT], [gobject-2.0]) | ||||||
|   | |||||||
| @@ -15,5 +15,10 @@ chartdata_DATA = chart.xsl            \ | |||||||
| 				 sign_pisces.xml      \ | 				 sign_pisces.xml      \ | ||||||
| 				 $(NULL) | 				 $(NULL) | ||||||
|  |  | ||||||
|  | gsettings_SCHEMAS = \ | ||||||
|  | 					eu.polonkai.gergely.astrognome.gschema.xml \ | ||||||
|  | 					$(NULL) | ||||||
|  | @GSETTINGS_RULES@ | ||||||
|  |  | ||||||
| EXTRA_DIST = \ | EXTRA_DIST = \ | ||||||
| 			 $(chartdata_DATA) | 			 $(chartdata_DATA) | ||||||
|   | |||||||
							
								
								
									
										33
									
								
								data/eu.polonkai.gergely.astrognome.gschema.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								data/eu.polonkai.gergely.astrognome.gschema.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | |||||||
|  | <schemalist gettext-domain="astrognome"> | ||||||
|  |     <schema id="eu.polonkai.gergely.Astrognome" path="/eu/polonkai/gergely/Astrognome/"> | ||||||
|  |         <child name="state" schema="eu.polonkai.gergely.Astrognome.state" /> | ||||||
|  |     </schema> | ||||||
|  |     <schema id="eu.polonkai.gergely.Astrognome.state" path="/eu/polonkai/gergely/Astrognome/state/"> | ||||||
|  |         <child name="window" schema="eu.polonkai.gergely.Astrognome.state.window" /> | ||||||
|  |         <child name="chart" schema="eu.polonkai.gergely.Astrognome.state.chart" /> | ||||||
|  |     </schema> | ||||||
|  |     <schema id="eu.polonkai.gergely.Astrognome.state.window" path="/eu/polonkai/gergely/Astrognome/state/window/"> | ||||||
|  |         <key name="maximized" type="b"> | ||||||
|  |             <default>false</default> | ||||||
|  |             <summary>New window maximized state</summary> | ||||||
|  |             <description>Whether a new window should open maximized.</description> | ||||||
|  |         </key> | ||||||
|  |         <key name="width" type="i"> | ||||||
|  |             <default>600</default> | ||||||
|  |             <summary>Width of new windows</summary> | ||||||
|  |             <description>The width of newly created windows.</description> | ||||||
|  |         </key> | ||||||
|  |         <key name="height" type="i"> | ||||||
|  |             <default>600</default> | ||||||
|  |             <summary>Height of new windows</summary> | ||||||
|  |             <description>The height of newly created windows.</description> | ||||||
|  |         </key> | ||||||
|  |     </schema> | ||||||
|  |     <schema id="eu.polonkai.gergely.Astrognome.state.chart" path="/eu/polonkai/gergely/Astrognome/state/chart/"> | ||||||
|  |         <key name="classic-only" type="b"> | ||||||
|  |             <default>false</default> | ||||||
|  |             <summary>Use the classical view</summary> | ||||||
|  |             <description>Use the classical view: planets only between Sun and Saturn, only Ptolemaic aspects, no antiscia.</description> | ||||||
|  |         </key> | ||||||
|  |     </schema> | ||||||
|  | </schemalist> | ||||||
		Reference in New Issue
	
	Block a user