A big point of this demo was to show state saving. So make it use the new session saving protocol, which can take care of the window size and state. We still save the color on the client side.
28 lines
646 B
XML
28 lines
646 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<schemalist>
|
|
|
|
<enum id='org.gtk.Demo4.Application.Color'>
|
|
<value nick='red' value='0'/>
|
|
<value nick='green' value='1'/>
|
|
<value nick='blue' value='2'/>
|
|
</enum>
|
|
|
|
<schema id='org.gtk.Demo4' path='/org/gtk/Demo4/'>
|
|
<key name='session-id' type='s'>
|
|
<default>''</default>
|
|
</key>
|
|
</schema>
|
|
|
|
<schema id='org.gtk.Demo4.Application' path='/org/gtk/Demo4/Application/'>
|
|
<key name='color' enum='org.gtk.Demo4.Application.Color'>
|
|
<default>'red'</default>
|
|
</key>
|
|
|
|
<key name='session-id' type='s'>
|
|
<default>''</default>
|
|
</key>
|
|
</schema>
|
|
|
|
</schemalist>
|