Makes it work out of the box for both GTK 2 and GTK 3 applications.
Since both krdb and kde-gt-config overwrite their respective gtkrc-2.0 we use a watcher to re-add our config key afterwards.
Details
Details
Tested Pluma (Gtk3), now has global menu
Tested Gimp and Inkscape, now have global menu
When module isn't installed, prints a warning on console, shouldn't be too bad
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
For some reason GTK2_RC_FILES (set by krdb) isn't set here for krunner or plasmashell so launching apps from there doesn't pick up the ~/.config/gtkrc-2.0 but only ~/.gtkrc-2.0.
Krdb sets the launch environment but it's probably not sourced, or too late, for plasmashell and others :/
Comment Actions
- Write into ~/.gtkrc-2.0, the GTK2_RC_FILES variable isn't present for apps launcher by Plasma or KRunner, for some reason (probably only stuff launched through klauncher)
Comment Actions
Since we're in the middle of doing tarballs and I know @broulik was anxious to get this in I'm going to be proactive and land it.
Comment Actions
I'm super sorry, arc patch changed authorship somehow :( It randomly sometimes does and doesn't do this and I forgot to check