diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-07-09 13:59:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-07-09 13:59:35 -0400 |
commit | 2bb282027253355e3456ffccc05c8a0800fd574e (patch) | |
tree | e5ec939801dfd26a7221751e8a460972e4834638 /gtk/gtklabel.h | |
parent | 3d1f55b68d7a53345bf36805aab1dbb04b044f1e (diff) | |
download | gtk+-2bb282027253355e3456ffccc05c8a0800fd574e.tar.gz |
Make link coloring in labels optional
Turns out that link coloring is expected for actual hypertext-like
use, but when using links just as 'mutant button', then it gets
in the way.
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r-- | gtk/gtklabel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index 3788108eda..d44b142fad 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -67,6 +67,7 @@ struct _GtkLabel guint GSEAL (in_click) : 1; guint GSEAL (wrap_mode) : 3; guint GSEAL (pattern_set) : 1; + guint GSEAL (track_links) : 1; guint GSEAL (mnemonic_keyval); @@ -177,6 +178,9 @@ void gtk_label_set_single_line_mode (GtkLabel *label, gboolean gtk_label_get_single_line_mode (GtkLabel *label); G_CONST_RETURN gchar *gtk_label_get_current_uri (GtkLabel *label); +void gtk_label_set_track_visited_links (GtkLabel *label, + gboolean track_links); +gboolean gtk_label_get_track_visited_links (GtkLabel *label); #ifndef GTK_DISABLE_DEPRECATED |