summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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")