Skip to main content

Posts

Showing posts from July, 2015

Reworked the gnocl::dialog soucecode

With a few notable changes, the dialog.c module was legacy code which tried to do too much. In attempting to add stock icons and embedded buttons so many irreversible bugs had crept into the code which made it almost impossible to prevent an application crashing. A quick glance at the gtk style guide makes no mention to of the use of Stock icons in dialog buttons so,  the best way forward was to retire the inclusion of icons and predefined buttons in favour of something much simpler and far less prone to crashing. The following extract from the development documentation highlights the changes made. -buttons type: list (default: Ok) List of buttons to be displayed consisting of a list of display strings with optional values. Method 1) Simple Strings. In this case the text string will be used as the basis of the returned value stripped of any percent string underscore markup. -buttons "%__Yes %__No" Clicking the ...