Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin not using dark theme
#5
(09-10-2020, 06:25 PM)tmanni Wrote: IMO, the plugin fails to find your themerc file, falling back to the default window gtk theme.

Part of the code involved :
https://github.com/douglasvinis/gimp-fan...im.py#L478

https://github.com/douglasvinis/gimp-fan...im.py#L446

Possibly.

In C:\Users\<myuserid>\AppData\Roaming\GIMP\2.10\ I see a themerc file.  When I open and look at it, it contains:

Code:
style "gimp-spin-scale-style"
{
 GimpSpinScale::compact = 1
}

class "GimpSpinScale" style "gimp-spin-scale-style"

include "C:\\Program Files\\GIMP 2\\share\\gimp\\2.0\\themes\\Dark\\gtkrc"
include "C:\\Program Files\\GIMP 2\\etc\\gimp\\2.0\\gtkrc"
include "C:\\Users\\<myuserid>\\AppData\\Roaming\\GIMP\\2.10\\gtkrc"

Is themerc file in the wrong spot?  Is the code looking in the wrong location perhaps?  Where is does it look on line:
Code:
gimp.personal_rc_file('themerc')
Reply


Messages In This Thread
Plugin not using dark theme - by xeonicus - 09-10-2020, 02:10 AM
RE: Plugin not using dark theme - by rich2005 - 09-10-2020, 07:39 AM
RE: Plugin not using dark theme - by xeonicus - 09-10-2020, 03:53 PM
RE: Plugin not using dark theme - by tmanni - 09-10-2020, 06:25 PM
RE: Plugin not using dark theme - by xeonicus - 09-10-2020, 10:01 PM
RE: Plugin not using dark theme - by Kevin - 09-11-2020, 10:14 AM

Forum Jump: