[gedit-list] First steps in making a plugin
- From: August Karlstrom <fusionfive comhem se>
- To: gedit-list gnome org
- Subject: [gedit-list] First steps in making a plugin
- Date: Wed, 20 Jun 2007 22:05:46 +0200
Hi all,
When I follow the plugin tutorial at
http://live.gnome.org/Gedit/PythonPluginHowTo
I get an error from python. Any clues?
$ pwd
/home/august/.gnome2/gedit/plugins
$ cat test.py
import gedit
class ExamplePyPlugin(gedit.Plugin):
def activate(self, window):
pass
def deactivate(self, window):
pass
def update_ui(self, window):
pass
$ python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
import gedit
ImportError: No module named gedit
Regards,
August
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]