[Users] [Bug 4683] New: Update deprecated code to respect gtk3 css themes

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jul 3 02:17:06 UTC 2023


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4683

            Bug ID: 4683
           Summary: Update deprecated code to respect gtk3 css themes
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI
          Assignee: users at lists.claws-mail.org
          Reporter: post at jbechtel.de

Created attachment 2337
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2337&action=edit
Patch 1/4

I hope this doesn't get closed like #4581, #4635, #4682 and possibly more.

I looked somewhat deeper into the issue and found out that the recent claws
mail code relies on "style->text[]" and "style->base[]" properties for list
foreground (text and arrows) and background (alternating), respectively.

This doesn't work in GTK3 any more. Probably base[] gets copied from bg[].
There you'd better go for "theme_text_color" and "theme_base_color" CSS
defines.

I have made a patch, but caution: in some themes the text (foreground) color
happens to be shown white-on-white; I don't know why so far. Background,
however, ist perfectly working and switching.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list