v2.0.3 create_plugin.py looking for config.glade?
Posted: Wed Oct 09, 2019 8:52 pm
Hi Deluged people.
I've used create_plugin.py as suggested in the wiki.
Is the generated plugin supposed to work out of the box?
It has the below code which tries to load config.glade - but this file does not exist (only config.ui).
I thought Glade was v1.3 legacy stuff anyway?
Any suggestions to get it working?
I've used create_plugin.py as suggested in the wiki.
Is the generated plugin supposed to work out of the box?
It has the below code which tries to load config.glade - but this file does not exist (only config.ui).
Code: Select all
class Gtk3UI(Gtk3PluginBase):
def enable(self):
self.builder = Gtk.Builder()
self.builder.add_from_file(get_resource('config.glade'))
Any suggestions to get it working?