~fabrixxm/confy-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH 1/2] Don't track visited links in GtkLabel

Details
Message ID
<20220721211700.62004-1-devrtz@fortysixandtwo.eu>
DKIM signature
missing
Download raw message
Patch: +2 -0
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

Details
Message ID
<20220721211700.62004-2-devrtz@fortysixandtwo.eu>
In-Reply-To
<20220721211700.62004-1-devrtz@fortysixandtwo.eu> (view parent)
DKIM signature
missing
Download raw message
Patch: +2 -0
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

Re: [PATCH 2/2] Make GtkLabels selectable

Details
Message ID
<ef999ae149ea9bbfa851be6309a6946e9993ceec.camel@kirgroup.net>
In-Reply-To
<20220721211700.62004-2-devrtz@fortysixandtwo.eu> (view parent)
DKIM signature
pass
Download raw message
Applied, thank you!
Reply to thread Export thread (mbox)