Re: How to disable reading of ~/.config/gtk-2.0 ?



Emmanuele Bassi wrote:
On Fri, 2007-10-12 at 11:40 +0200, Geoff Bache wrote:
Ed Mansur wrote:
> It's an internal implementation detail, so your documentation is the
> source - look at gtk/gtkfilechoosersettings.c.
Is there another way users are supposed to edit it then?

no. it should never be used, edited or changed outside of the file
chooser implementation in gtk+. it's an implementation detail, no
guarantees are made on the format, syntax, properties or values.
it should be the same as the bookmarks file - except people started
touching that outside of gtk+ and that made things so much harder for us
if/when we want to change the bookmarks file format.

also, there is no point in touching it: the file will be regenerated as
soon as the user opens or saves a file and changes something.

What do you mean by "changes something"? My experience doesn't match this: settings in that file seem to remain, even though the file is sometimes apparently "touched" (I haven't
worked out why or how).

For instance, I just changed the value of "show hidden files" in the popup menu from the GUI, but it isn't reflected in the file. If I edit the file however, the default setting of that parameter changes, and remains
changed.

Is there any way to change "location mode" from the GUI? As I outlined in my previous mail, that setting seems to be auto-generated to different things which have a large bearing on both the appearance and behaviour
of the filechooser.

Regards,
Geoff




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