badbody47 / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

Could not find the dialog description in the environment variable MAIN_DIALOG #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Could not find the dialog description in the environment variable 'MAIN_DIALOG'.

Original issue reported on code.google.com by HektorMu...@gmail.com on 29 Sep 2012 at 9:40

GoogleCodeExporter commented 8 years ago
Hello HektorMusic

I'm guessing that either the program isn't in an envvar called MAIN_DIALOG or 
it is but you haven't exported it before running gtkdialog.

You should create and run a program something like this:

#!/bin/sh

export MAIN_DIALOG='
<window>
    <vbox>
        <button ok></button>
    </vbox>
</window>
'
gtkdialog --program=MAIN_DIALOG

Regards,
Thunor

Original comment by thunor...@hotmail.com on 30 Sep 2012 at 8:24

GoogleCodeExporter commented 8 years ago

Original comment by thunor...@hotmail.com on 14 Oct 2012 at 10:46