[zenity] Fixing html option being parsed to other dialogs rather then text-info



commit fac40e9c46160a0915d528062dfd19c1afaeac0e
Author: Arx Cruz <acruz redhat com>
Date:   Fri Oct 2 13:41:57 2015 +0200

    Fixing html option being parsed to other dialogs rather then text-info

 src/option.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/option.c b/src/option.c
index 3e35144..79a6f92 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2074,6 +2074,9 @@ zenity_text_post_callback (GOptionContext *context,
     if (zenity_text_font) 
       zenity_option_error (zenity_option_get_name (text_options, &zenity_text_font),
                            ERROR_SUPPORT);
+    if (zenity_text_enable_html)
+      zenity_option_error (zenity_option_get_name (text_options, &zenity_text_enable_html),
+                           ERROR_SUPPORT);
   }
   return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]