diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-04-24 19:15:39 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-04-24 19:15:39 +0200 |
commit | 5a152763f96327574284021b28b984c772dbe991 (patch) | |
tree | 3cccaf49fce59f6742aa7c102db8cc175b15e80d | |
parent | 8b43c15dbc1207afece005c0d04a73e7d08306b4 (diff) | |
download | portato-5a152763f96327574284021b28b984c772dbe991.tar.gz portato-5a152763f96327574284021b28b984c772dbe991.tar.bz2 portato-5a152763f96327574284021b28b984c772dbe991.zip |
Fixed the menus for the current plugins
Diffstat (limited to '')
-rw-r--r-- | plugins/etc_proposals.py | 2 | ||||
-rw-r--r-- | plugins/gpytage.py | 2 | ||||
-rw-r--r-- | plugins/new_version.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/etc_proposals.py b/plugins/etc_proposals.py index bb8ce5a..7de83f3 100644 --- a/plugins/etc_proposals.py +++ b/plugins/etc_proposals.py @@ -23,7 +23,7 @@ class EtcProposals (Plugin): def init (self): self.prog = ["/usr/sbin/etc-proposals"] self.add_call("after_emerge", self.hook, type = "after") - self.add_menu("Et_c-Proposals", self.menu) + self.create_widget("Plugin Menu", "Et_c-Proposals", activate = self.menu) def launch (self, options = []): if os.getuid() == 0: diff --git a/plugins/gpytage.py b/plugins/gpytage.py index 43678ec..d014f19 100644 --- a/plugins/gpytage.py +++ b/plugins/gpytage.py @@ -18,7 +18,7 @@ class GPytage (Plugin): __dependency__ = ["app-portage/gpytage"] def init (self): - self.add_menu("Config _Editor", self.menu) + self.create_widget("Plugin Menu", "Config _Editor", activate = self.menu) def menu (self, *args): Popen(["/usr/bin/gpytage"]) diff --git a/plugins/new_version.py b/plugins/new_version.py index 8cdf0a5..e741348 100644 --- a/plugins/new_version.py +++ b/plugins/new_version.py @@ -30,7 +30,7 @@ class NewVersionFinder(Plugin): def init (self): self.add_call("main", self.run) - self.add_menu("Check for new _versions", self.menu) + self.create_widget("Plugin Menu", "Check for new _versions", activate = self.menu) def find_version (self, rev): try: |