gui: Introduce _set_dialog_ret().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 6 Sep 2014 17:41:16 +0000 (19:41 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 27 Sep 2014 23:02:00 +0000 (23:02 +0000)
commit021cb6acbe9be83506f27e9eff3cd434e6daf149
tree4731651dc6e3b0cd05e201e24ed5f98d3da5f17f
parent82c0b7aa776ecb2250ebd8ae6f797298d62497fd
gui: Introduce _set_dialog_ret().

The improved exit code handling for dialog(1) also makes sense for
the other invocations of dialog. This patch abtracts out the logic
into the new internal _set_dialog_ret() function.
gui