[PATCH 1/2] Don't track visited links in GtkLabel
Export this patch
Visited links might get mistaken for underlined text,
so disable tracking visiting links.
---
src/pages.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pages.py b/src/pages.py
index be772f5..2475553 100644
--- a/src/pages.py
+++ b/src/pages.py
@@ -203,6 +203,7 @@ class ConferencePage(BasePage):
LBL_PROPS = {
'justify': Gtk.Justification.CENTER,
'halign' : Gtk.Align.CENTER,
+ 'track-visited-links' : False,
'wrap' : False,
}
@@ -405,6 +406,7 @@ class EventDetailPage(BasePage):
LBL_PROPS = {
'justify': Gtk.Justification.LEFT,
'halign' : Gtk.Align.START,
+ 'track-visited-links' : False,
'wrap' : True,
}
--
2.35.1
[PATCH 2/2] Make GtkLabels selectable
Export this patch
This allows copy and pasting from the UI.
---
src/pages.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pages.py b/src/pages.py
index 2475553..b2f5d87 100644
--- a/src/pages.py
+++ b/src/pages.py
@@ -203,6 +203,7 @@ class ConferencePage(BasePage):
LBL_PROPS = {
'justify': Gtk.Justification.CENTER,
'halign' : Gtk.Align.CENTER,
+ 'selectable' : True,
'track-visited-links' : False,
'wrap' : False,
}
@@ -406,6 +407,7 @@ class EventDetailPage(BasePage):
LBL_PROPS = {
'justify': Gtk.Justification.LEFT,
'halign' : Gtk.Align.START,
+ 'selectable' : True,
'track-visited-links' : False,
'wrap' : True,
}
--
2.35.1
Applied, thank you!