2001-09-07 Richard Hestilow <hestilow@ximian.com> * background-properties.glade: Redid UI a bit to add new enabled checkbox. * background-properties.xml: Add default for "wallpaper_enabled". * preferences.[ch]: New function preferences_need_color_opts. (preferences_load_from_bonobo_db): Load wallpaper_enabled from bonobo-conf. (preferences_load_from_bonobo_pbag): Ditto. * applier.[ch]: New function applier_get_wallpaper_pixbuf (needed by preferences_need_color_opts, else pixbuf gets created twice). * background-properties-capplet.c (real_realize_cb): Set color frame sensitivity based on preferences_need_color_opts. (property_change_cb): Ditto. (setup_dialog): Add peditor/guard for wallpaper_enabled. Also, set glade object data on the preferences structure as well.
70 lines
2.3 KiB
XML
70 lines
2.3 KiB
XML
<?xml version="1.0"?>
|
|
<bonobo-config>
|
|
<section path="main">
|
|
<entry name="wallpaper_type" type="ulong" value="2"/>
|
|
<entry name="color1">
|
|
<any>
|
|
<type name="Color" repo_id="IDL:Bonobo/Config/Color:1.0" tckind="15" length="0" sub_parts="4">
|
|
<subnames>
|
|
<name>r</name>
|
|
<name>g</name>
|
|
<name>b</name>
|
|
<name>a</name>
|
|
</subnames>
|
|
<subtypes>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
</subtypes>
|
|
</type>
|
|
<value>
|
|
<value>0</value>
|
|
<value>0.0117189</value>
|
|
<value>0.156252</value>
|
|
<value>0</value>
|
|
</value>
|
|
</any>
|
|
</entry>
|
|
<entry name="color2">
|
|
<any>
|
|
<type name="Color" repo_id="IDL:Bonobo/Config/Color:1.0" tckind="15" length="0" sub_parts="4">
|
|
<subnames>
|
|
<name>r</name>
|
|
<name>g</name>
|
|
<name>b</name>
|
|
<name>a</name>
|
|
</subnames>
|
|
<subtypes>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
<type tckind="7" length="0" sub_parts="0"/>
|
|
</subtypes>
|
|
</type>
|
|
<value>
|
|
<value>0.00781262</value>
|
|
<value>0</value>
|
|
<value>0.996109</value>
|
|
<value>0</value>
|
|
</value>
|
|
</any>
|
|
</entry>
|
|
<entry name="orientation" type="ulong" value="1"/>
|
|
<entry name="wallpaper_filename">
|
|
<any>
|
|
<type name="FileName" repo_id="IDL:Bonobo/Config/FileName:1.0" tckind="21" length="0" sub_parts="1">
|
|
<subtypes>
|
|
<type tckind="18" length="0" sub_parts="0"/>
|
|
</subtypes>
|
|
</type>
|
|
<value>
|
|
<value>/usr/share/pixmaps/backgrounds/ximian/bluestripe.jpeg</value>
|
|
</value>
|
|
</any>
|
|
</entry>
|
|
<entry name="opacity" type="long" value="100"/>
|
|
<entry name="enabled" type="boolean" value="true"/>
|
|
<entry name="wallpaper_enabled" type="boolean" value="true"/>
|
|
</section>
|
|
</bonobo-config>
|