Re: Sharing settings between Nautilus and Filechooser

2012-11-21 Thread Bastien Nocera
On Tue, 2012-11-20 at 18:51 -0800, Timothy Arceri wrote:
 Hi Guys,
 I'm looking a fixing
 https://bugzilla.gnome.org/show_bug.cgi?id=143599 (Share show hidden
 option with Nautilus). There is also a bug to do with sharing the
 single clicking settings however this is more complex so I thought I
 would see if I could get this one fixed first.
 It seem to be pretty easy fix as Nautilus already implements GSettings
 and so its just a matter of implementing this in file chooser also.
 
 Anyway my question before I start is should I be splitting out the
 common settings between Nautilus and filechooser into a different
 schema_id? Currently Nautilus has everything under
 org.gnome.nautilus.preferences if this is what I should do can you
 guys give me a hint as to what you think is a good id? 
 What do you think of org.gnome.file-view-preferences?

Add a schema to GTK+:
org.gtk.file-chooser show-hidden-files

Cheers

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: File chooser recent-files

2012-11-21 Thread Federico Mena Quintero
On Mon, 2012-11-19 at 10:52 +, Simon McVittie wrote:

 If this sort of change is important, it sounds to me as though Gtk 2
 should continue to have (short!) branches corresponding to a GNOME
 release when necessary?

GTK+ 2.24.x still has releases!

Do you mean that they should appear in sync with Gnome releases?  That
would certainly be nice, to keep things rolling.

  Federico

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Sharing settings between Nautilus and Filechooser

2012-11-21 Thread Federico Mena Quintero
On Wed, 2012-11-21 at 09:56 +0100, Bastien Nocera wrote:
  What do you think of org.gnome.file-view-preferences?
 
 Add a schema to GTK+:
 org.gtk.file-chooser show-hidden-files

Yup, this is the way to go.  Currently the file chooser uses
org.gtk.Settings.FileChooser and a few keys; the source for them is in
gtk+/gtk/org.gtk.Settings.FileChooser.gschema.xml

The easiest thing would be to modify Nautilus to use the file chooser's
equivalent keys.

  Federico

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list