09-11-2020, 10:14 AM
I think the plugin author is trying to trap for a problem that doesn't exist:
If I do this:
I get a themed plug-in:
If I do this:
Code:
gtk.rc_parse(gtkrc_path)
# if os.name != 'nt':# try apply the theme by parse a gtkrc file if is not a windows system.
# gtk.rc_parse(gtkrc_path)
# else: # if error occur them parse the file in another way.
# gtk.rc_add_default_file(gtkrc_path)
# gtk.rc_reparse_all()
I get a themed plug-in: