[GTK3] Add module to reload colorscheme in GTK3 apps without restarting them
Needs ReviewPublic

Authored by cblack on Sep 27 2019, 9:33 PM.

Details

Reviewers
apol
Group Reviewers
Plasma
Summary

The title is somewhat self explanatory. GTK apps will reload ~/.config/gtk-3.0/colors.css without restarting.

Test Plan

gtk-app-here --gtk-module colorreload-gtk-module

Diff Detail

Repository
R99 KDE Gtk Configuration Tool
Branch
color-reload-module (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17112
Build 17130: arc lint + arc unit
cblack created this revision.Sep 27 2019, 9:33 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 27 2019, 9:33 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
cblack requested review of this revision.Sep 27 2019, 9:33 PM
cblack added a reviewer: apol.Sep 27 2019, 9:33 PM
cblack edited the summary of this revision. (Show Details)
$ gedit --gtk-module colorreload-gtk-module
Gtk-Message: 17:44:24.968: Failed to load module "colorreload-gtk-module"

What am I doing wrong?

Does it work if you use an absolute path to the library? Go to $BUILDROOT/color-reload-module/libcolorreload-gtk-module.so and run gedit --gtk-module $PWD/libcolorreload-gtk-module.so

GB_2 added a subscriber: GB_2.Oct 12 2019, 5:44 PM

Does it work if you use an absolute path to the library? Go to $BUILDROOT/color-reload-module/libcolorreload-gtk-module.so and run gedit --gtk-module $PWD/libcolorreload-gtk-module.so

Nope, still shows the error.