[LIBREPORT PATCH] reprot-gtk: underline tab titles with sensitive information

Jakub Filak jfilak at redhat.com
Mon Sep 16 07:48:42 UTC 2013


Closes rhbz#1008125

Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
 src/gui-wizard-gtk/wizard.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 36ad3fa..dd46160 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -2190,6 +2190,8 @@ static bool highligh_words_in_textview(int page, GtkTextView *tev, GList *words)
         PangoAttrList *attrs = pango_attr_list_new();
         PangoAttribute *foreground_attr = pango_attr_foreground_new(65535, 0, 0);
         pango_attr_list_insert(attrs, foreground_attr);
+        PangoAttribute *underline_attr = pango_attr_underline_new(PANGO_UNDERLINE_SINGLE);
+        pango_attr_list_insert(attrs, underline_attr);
         gtk_label_set_attributes(GTK_LABEL(tab_lbl), attrs);
 
         /* The current order of the found words is defined by order of words in the
-- 
1.8.3.1



More information about the Crash-catcher mailing list