summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gdesklets-core/files')
-rw-r--r--gnome-extra/gdesklets-core/files/digest-gdesklets-core-0.35.12
-rwxr-xr-xgnome-extra/gdesklets-core/files/gdesklets-control-getid13
2 files changed, 6 insertions, 9 deletions
diff --git a/gnome-extra/gdesklets-core/files/digest-gdesklets-core-0.35.1 b/gnome-extra/gdesklets-core/files/digest-gdesklets-core-0.35.1
new file mode 100644
index 000000000000..9088a4229464
--- /dev/null
+++ b/gnome-extra/gdesklets-core/files/digest-gdesklets-core-0.35.1
@@ -0,0 +1,2 @@
+MD5 2017ece8b60cf2065cd2cc5ea10a6219 gDesklets-0.35.1.tar.bz2 733865
+MD5 bba42e71aa3a0d310ad6ee763fcbac25 develbook.tar.bz2 445919
diff --git a/gnome-extra/gdesklets-core/files/gdesklets-control-getid b/gnome-extra/gdesklets-core/files/gdesklets-control-getid
index db9f6820a84d..88b4fccd53aa 100755
--- a/gnome-extra/gdesklets-core/files/gdesklets-control-getid
+++ b/gnome-extra/gdesklets-core/files/gdesklets-control-getid
@@ -3,27 +3,21 @@
# Pretty much copied from test-control.py
from plugin.Interface import Interface
-from main import HOME
-from plugin import Permission
-
import sys
import os
-import code
import __builtin__
if "." not in sys.path: sys.path.append(".")
-if HOME not in sys.path: sys.path.append(HOME)
-
try:
path = os.path.abspath(sys.argv[1])
folder, base = os.path.split(path)
except:
- sys.exit("Usage: gdesklets-control-getid <control-directory>")
+ #sys.exit("Usage: gdesklets-control-getid <control-directory>")
+ print "ERROR_IN_CONTROL_INSTALLATION"
-cwd = os.getcwd()
os.chdir(folder)
try:
module = __import__(base)
@@ -32,6 +26,7 @@ try:
ctrl = clss()
except IOError:
- sys.exit("Could not load control %s." % (path))
+ #sys.exit("Could not load control %s." % (path))
+ print folder
print Interface.get_id(Interface.get_interfaces(clss)[0]).replace(":", "_")