Fix template config.ui naming in create_plugin script.
This commit is contained in:
parent
eb57412601
commit
15c250e152
|
@ -250,7 +250,7 @@ log = logging.getLogger(__name__)
|
||||||
class Gtk3UI(Gtk3PluginBase):
|
class Gtk3UI(Gtk3PluginBase):
|
||||||
def enable(self):
|
def enable(self):
|
||||||
self.builder = Gtk.Builder()
|
self.builder = Gtk.Builder()
|
||||||
self.builder.add_from_file(get_resource('config.glade'))
|
self.builder.add_from_file(get_resource('config.ui'))
|
||||||
|
|
||||||
component.get('Preferences').add_page(
|
component.get('Preferences').add_page(
|
||||||
'%(name)s', self.builder.get_object('prefs_box'))
|
'%(name)s', self.builder.get_object('prefs_box'))
|
||||||
|
|
Loading…
Reference in New Issue