chiark / gitweb /
GTK 3 cleanup: stop using GtkDialog for config boxes.
authorSimon Tatham <anakin@pobox.com>
Sun, 4 Oct 2015 19:03:50 +0000 (20:03 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 4 Oct 2015 19:10:41 +0000 (20:10 +0100)
commit11b14a5f44967a6257ac1beabb6425f95f3b2c69
tree78369cd65a028cf1709bb3c18fedd0e821d26032
parent27fe1c9c49deaf338b9ca146a7aca5ff905c7115
GTK 3 cleanup: stop using GtkDialog for config boxes.

It's becoming annoying to keep working within the increasing
restrictions on GtkDialog, in particular the fact that not only do we
have to let it have complete control of the button area, but also it's
not clear whether we can intercept a press of the 'OK' button and
display an error message rather than ending the dialog.

So, as I did in PuTTY, I'm resorting to using an ordinary GtkWindow
with controls I laid out myself.
gtk.c