Discussion:
[LIBREPORT PATCH] reprot-gtk: underline tab titles with sensitive information
Jakub Filak
2013-09-16 07:48:42 UTC
Permalink
Closes rhbz#1008125

Signed-off-by: Jakub Filak <jfilak-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
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
Jiri Moskovcak
2013-09-18 10:40:36 UTC
Permalink
- pushed, thanks
Post by Jakub Filak
Closes rhbz#1008125
---
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
Loading...