2 from gi.repository import Gtk, Peas, PeasGtk, Chimara
5 e = Peas.Engine.get_default()
6 e.add_search_path(os.path.expanduser('~/gtk/inst/lib/chimara'),
7 os.path.expanduser('~/gtk/inst/lib/chimara/plugins'))
9 frotz_info = e.get_plugin_info('frotz')
10 e.load_plugin(frotz_info)
13 m = PeasGtk.PluginManager(e)
14 m.get_view().set_selected_plugin(frotz_info)
16 w.connect('destroy', Gtk.main_quit)