summaryrefslogtreecommitdiff
path: root/portato/gui/gtk/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/gtk/__init__.py')
-rw-r--r--portato/gui/gtk/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/portato/gui/gtk/__init__.py b/portato/gui/gtk/__init__.py
index db9e6e1..17d6299 100644
--- a/portato/gui/gtk/__init__.py
+++ b/portato/gui/gtk/__init__.py
@@ -25,11 +25,12 @@ def show_ebuild (pkg):
def _show (pkg):
gtk.main_quit()
+ pkg = system.new_package(pkg)
hook = plugin.hook("open_ebuild", pkg, None)
- ew = hook(EbuildWindow)(None, system.new_package(pkg))
+ ew = hook(EbuildWindow)(None, pkg)
ew.window.connect("destroy", lambda *x: gtk.main_quit())
- ew.window.set_title("Portato Ebuild Viewer - %s" % pkg)
+ ew.window.set_title("Portato Ebuild Viewer - %s" % pkg.get_cpv())
gtk.main()
ighlight'> 2020-04-19Clean go.modRené 'Necoro' Neumann2-3/+0 2020-04-19Do not print the parsedCfg anymoreRené 'Necoro' Neumann1-1/+1 2020-04-19Increase go-version to 1.14René 'Necoro' Neumann1-2/+2 2020-04-19CI: go vetRené 'Necoro' Neumann1-0/+3 2020-04-19Fetching and parsing the feedsRené 'Necoro' Neumann5-4/+113 2020-04-19Ignore all config*.ymlRené 'Necoro' Neumann1-1/+1