summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/gtk/windows.py2
-rw-r--r--portato/gui/gui_helper.py4
-rw-r--r--portato/gui/qt/windows.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py
index 7e4dab2..3ce8ae2 100644
--- a/portato/gui/gtk/windows.py
+++ b/portato/gui/gtk/windows.py
@@ -750,7 +750,7 @@ class PackageTable:
return True
def cb_package_ebuild_clicked(self, button):
- hook = plugin.hook("open_ebuild", self.actual_package(), self.window)
+ hook = plugin.hook("open_ebuild", package = self.actual_package(), parent = self.window)
hook(EbuildWindow)(self.window, self.actual_package())
return True
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py
index 3c9edce..e827a22 100644
--- a/portato/gui/gui_helper.py
+++ b/portato/gui/gui_helper.py
@@ -477,9 +477,9 @@ class EmergeQueue:
"""Calls emerge and updates the terminal.
@param options: options to send to emerge
- @type options: list
+ @type options: string[]
@param packages: packages to emerge
- @type packages: list
+ @type packages: string[]
@param it: Iterators which point to these entries whose children will be removed after completion.
@type it: Iterator[]
@param command: the command to execute - default is "/usr/bin/python /usr/bin/emerge"
diff --git a/portato/gui/qt/windows.py b/portato/gui/qt/windows.py
index 7c1726e..3bd9296 100644
--- a/portato/gui/qt/windows.py
+++ b/portato/gui/qt/windows.py
@@ -509,7 +509,7 @@ class PackageDetails:
return self.packages[self.window.versCombo.currentIndex()]
def cb_ebuild_clicked (self):
- hook = plugin.hook("open_ebuild", self.actual_package(), self.window)
+ hook = plugin.hook("open_ebuild", package = self.actual_package(), parent = self.window)
hook(EbuildDialog)(self.window, self.actual_package()).exec_()
def cb_emerge_clicked (self):