~fabrixxm/confy-dev

Don't track visited links in GtkLabel v1 APPLIED

Evangelos Ribeiro Tzaras: 2
 Don't track visited links in GtkLabel
 Make GtkLabels selectable

 2 files changed, 4 insertions(+), 0 deletions(-)
Applied, thank you!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~fabrixxm/confy-dev/patches/34079/mbox | git am -3
Learn more about email & git

[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!