After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693724 - Add a gtk-recent-files-enabled GtkSetting
Add a gtk-recent-files-enabled GtkSetting
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Emmanuele Bassi (:ebassi)
Depends on:
Blocks: 693725
 
 
Reported: 2013-02-13 16:17 UTC by Cosimo Cecchi
Modified: 2013-02-13 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
settings: add a gtk-recent-files-enabled GtkSetting (2.47 KB, patch)
2013-02-13 16:17 UTC, Cosimo Cecchi
committed Details | Review
recentmanager: follow gtk-recent-files-enabled GtkSetting (3.56 KB, patch)
2013-02-13 16:17 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2013-02-13 16:17:02 UTC
This is reflected in a "Enable Recent Files" switch in the System Settings panel, but the switch value is not propagated to GTK.
Comment 1 Cosimo Cecchi 2013-02-13 16:17:04 UTC
Created attachment 235902 [details] [review]
settings: add a gtk-recent-files-enabled GtkSetting

Backed by an XSetting, so g-s-d can set it according to the GSettings
value.
Comment 2 Cosimo Cecchi 2013-02-13 16:17:06 UTC
Created attachment 235903 [details] [review]
recentmanager: follow gtk-recent-files-enabled GtkSetting
Comment 3 Matthias Clasen 2013-02-13 16:52:08 UTC
I think we probably want to hide recent files in the file chooser too, then ?
Comment 4 Matthias Clasen 2013-02-13 16:52:44 UTC
the patches look fine to me, fwiw
Comment 5 Cosimo Cecchi 2013-02-13 17:07:34 UTC
Attachment 235902 [details] pushed as c896adc - settings: add a gtk-recent-files-enabled GtkSetting
Attachment 235903 [details] pushed as 382c5f6 - recentmanager: follow gtk-recent-files-enabled GtkSetting