RE: Warning in adding GConf schemas



 

> What actually is your problem? You can easily create a key by that name

> and even apply the schema entry to it using gconftool-2, but what would

> that be good for?

 

You mean to say even if the schema does not exist, setting the key value is of no use?

 

The problem is if I set the key value using gconftool-2, will it be reflected in GUI?

 

> That schema will be applied to the appropriate keys (somewhere under

> /apps/panel) when a clock applet is installed into the panel.

 

> - Jörg

 

> PS: On my system, with historically grown configuration, there are

> several keys to which this particular schema entry has been applied:

 

> $ gconftool-2 --get-schema-name \

>      /apps/panel/applets/clock_screen0/prefs/hour_format \

>      /apps/panel/profiles/default/applets/applet_7/prefs/hour_format \

>      /apps/panel/profiles/default/applets/clock/prefs/hour_format \

 

> /apps/panel/profiles/default/applets/clock_screen0/prefs/hour_format

> /schemas/apps/clock_applet/prefs/hour_format

> /schemas/apps/clock_applet/prefs/hour_format

> /schemas/apps/clock_applet/prefs/hour_format

> /schemas/apps/clock_applet/prefs/hour_format

 

I did the following and still there is not change.

 

[root ramprasad lwifstab]# gconftool-2 --set-schema /etc/gconf/schemas/clock.schemas

[root ramprasad lwifstab]# gconftool-2 --get /schemas/apps/clock_applet/prefs/hour_format

Type: int

List Type: *invalid*

Car Type: *invalid*

Cdr Type: *invalid*

Default Value: 12

Owner: clock-applet

Short Desc: Hour format

Long Desc:

            The use of this key was deprecated in GNOME 2.6 in favour of the

            'format' key. The schema is retained for compatibility with older

            versions.

 

[root ramprasad lwifstab]# gconftool-2 --get-schema-name /apps/clock_applet/prefs/hour_format

No schema known for `/apps/clock_applet/prefs/hour_format'

[root ramprasad lwifstab]#

 

Thanks,

Ramprasad B

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]