summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-10 13:41:14 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-10 13:41:14 +0200
commit52f04fc6cccffa7cf31a4d7eab9c9b341f77a293 (patch)
tree2b2bc9e0ad1d930beb54b7bbbfe1e05e08646181
parente8af12efa928a1eca54216398b7ace09af169e8d (diff)
downloadportato-52f04fc6cccffa7cf31a4d7eab9c9b341f77a293.tar.gz
portato-52f04fc6cccffa7cf31a4d7eab9c9b341f77a293.tar.bz2
portato-52f04fc6cccffa7cf31a4d7eab9c9b341f77a293.zip
Added gpytage plugin
-rw-r--r--plugins/gpytage.xml13
-rw-r--r--portato/plugins/gpytage.py16
2 files changed, 29 insertions, 0 deletions
diff --git a/plugins/gpytage.xml b/plugins/gpytage.xml
new file mode 100644
index 0000000..51d9104
--- /dev/null
+++ b/plugins/gpytage.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<plugin xmlns="http://portato.sourceforge.net/plugin" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://portato.sourceforge.net/plugin http://portato.sourceforge.net/plugin.xsd">
+
+ <author>René 'Necoro' Neumann</author>
+ <name>Etc-proposals</name>
+
+ <import>portato.plugins.gpytage</import>
+
+ <menu>
+ <item call="gpytage">Config _Editor</item>
+ </menu>
+
+</plugin>
diff --git a/portato/plugins/gpytage.py b/portato/plugins/gpytage.py
new file mode 100644
index 0000000..22cc7ef
--- /dev/null
+++ b/portato/plugins/gpytage.py
@@ -0,0 +1,16 @@
+# -*- coding: utf-8 -*-
+#
+# File: portato/plugins/gpytage.py
+# This file is part of the Portato-Project, a graphical portage-frontend.
+#
+# Copyright (C) 2008 René 'Necoro' Neumann
+# This is free software. You may redistribute copies of it under the terms of
+# the GNU General Public License version 2.
+# There is NO WARRANTY, to the extent permitted by law.
+#
+# Written by René 'Necoro' Neumann <necoro@necoro.net>
+
+from subprocess import Popen
+
+def gpytage(*args, **kwargs):
+ Popen(["/usr/bin/gpytage"])