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 344867 - custom paper file could use keyfile
custom paper file could use keyfile
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-06-14 12:56 UTC by Christian Persch
Modified: 2006-06-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
proposed patch (7.59 KB, patch)
2006-06-14 13:01 UTC, Christian Persch
none Details | Review

Description Christian Persch 2006-06-14 12:56:59 UTC
The ~/.gtk-custom-papers file currently has a home-cooked format with a custom parser in gtkpagesetupunixdialog.c. IMHO this should just use a GKeyFile instead, which has a well-tested parser in glib.
Comment 1 Christian Persch 2006-06-14 13:01:13 UTC
Created attachment 67338 [details] [review]
proposed patch
Comment 2 Matthias Clasen 2006-06-14 16:49:10 UTC
2006-06-14  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetupunixdialog.c: Use GKeyFile for the custom
        filename storage.  (#344867, Christian Persch)