Port PreferencesDialog to GtkBuilder
@stephane.maniaci
Submitted by Stéphane Maniaci Assigned to Stéphane Maniaci @stephane.maniaci
Description
Created attachment 189187
Port PreferencesDialog to GtkBuilder
Here's the patch to port our prefs.py to GtkBuilder. This trims down a lot of code (_createUI() is 10 lines now...) and also allow consistent behaviour of the dialog.
Previously PreferencesDialog was a GladeWindow, which was a wrapper around GtkWindow. Now that's it a standard GtkDialog, it escapes on ESC key, shades the background app and is modal automatically. What else? :)
Patch based on master branch (not Thibault's GtkBuilder branch).
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=651821