summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-11 11:13:50 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-11 11:13:50 +0200
commit4017dbceb245507e6479d3100fcda30f1bb7d99c (patch)
tree731fc7b4661e7203b4cd5a5502fe2b1cf2ce0af7 /plugins
parentd93adb52cca624d132671d1c800c899ddce6a67b (diff)
parent2776b35a9a93d21a65ae005296f82e675336b0dc (diff)
downloadportato-4017dbceb245507e6479d3100fcda30f1bb7d99c.tar.gz
portato-4017dbceb245507e6479d3100fcda30f1bb7d99c.tar.bz2
portato-4017dbceb245507e6479d3100fcda30f1bb7d99c.zip
Some fixes from the 0.13 branch
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gpytage.py4
-rw-r--r--plugins/package_details.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gpytage.py b/plugins/gpytage.py
index d014f19..b7b48d7 100644
--- a/plugins/gpytage.py
+++ b/plugins/gpytage.py
@@ -12,12 +12,12 @@
from subprocess import Popen
-class GPytage (Plugin):
+class GPytage (WidgetPlugin):
__author__ = "René 'Necoro' Neumann"
__description__ = "Adds a menu entry to directly start <b>gpytage</b>, a config editor."
__dependency__ = ["app-portage/gpytage"]
- def init (self):
+ def widget_init (self):
self.create_widget("Plugin Menu", "Config _Editor", activate = self.menu)
def menu (self, *args):
diff --git a/plugins/package_details.py b/plugins/package_details.py
index 88dfc6c..6a17f1e 100644
--- a/plugins/package_details.py
+++ b/plugins/package_details.py
@@ -24,7 +24,7 @@ class Detail (WidgetPlugin):
__author__ = "René 'Necoro' Neumann"
_view_ = None
- old_pkg = None
+ _old_pkg = None
def init(self):
self.add_call("update_table", self._update, type = "after")