summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@src.gnome.org>2011-07-19 14:33:28 -0300
committerArx Cruz <arxcruz@src.gnome.org>2011-07-19 14:39:05 -0300
commit1d339e29a782de8962379652635c9ee42988d99c (patch)
treee371539ef66a0403fc78147180d160c923c441bb /src/zenity.h
parent239fc66928c41ffd0ebaa88cfcd05ff114028895 (diff)
Enable html support in --text-info option. This fix bug #598655, thanks for the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url
If you need to load a local html file, you can use --filename=patch/to/html. Examples: * zenity --text-info --html --filename=file.html * zenity --text-info --html --url=www.gnome.org Zenity will add http:// if isn't declared in --url
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenity.h b/src/zenity.h
index 22ffca7..d9d0a10 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -111,6 +111,10 @@ typedef struct {
gchar *ok_label;
gchar *cancel_label;
gchar *checkbox;
+#ifdef HAVE_WEBKITGTK
+ gboolean html;
+ gchar *url;
+#endif
} ZenityTextData;
typedef struct {