summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2005-08-30 19:29:27 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2005-08-30 19:29:27 +0000
commit0f31de3c34e41cba0d22982e2abfc7ec54d4a839 (patch)
treec22e2001634032a49c60c1963c04c26e20d6e3ee /gnome-extra
parentChanged to match new 3dgamers mirrors structure in thirdpartymirrors. (diff)
downloadgentoo-2-0f31de3c34e41cba0d22982e2abfc7ec54d4a839.tar.gz
gentoo-2-0f31de3c34e41cba0d22982e2abfc7ec54d4a839.tar.bz2
gentoo-2-0f31de3c34e41cba0d22982e2abfc7ec54d4a839.zip
Updated gdesklets-control-getid
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gdesklets-core/ChangeLog7
-rwxr-xr-xgnome-extra/gdesklets-core/files/gdesklets-control-getid11
2 files changed, 15 insertions, 3 deletions
diff --git a/gnome-extra/gdesklets-core/ChangeLog b/gnome-extra/gdesklets-core/ChangeLog
index 3a3930f1263f..a8b019fd1859 100644
--- a/gnome-extra/gdesklets-core/ChangeLog
+++ b/gnome-extra/gdesklets-core/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-extra/gdesklets-core
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.46 2005/08/26 22:36:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/ChangeLog,v 1.47 2005/08/30 19:29:27 nixphoeni Exp $
+
+ 30 Aug 2005; Joe Sapp <nixphoeni@gentoo.org>
+ files/gdesklets-control-getid:
+ Added revision information to gdesklets-control-getid
+ Removed the 'I' part from the folder created by a Control installation
26 Aug 2005; Aron Griffis <agriffis@gentoo.org>
gdesklets-core-0.35.2-r1.ebuild:
diff --git a/gnome-extra/gdesklets-core/files/gdesklets-control-getid b/gnome-extra/gdesklets-core/files/gdesklets-control-getid
index 88b4fccd53aa..8b309a2c98b9 100755
--- a/gnome-extra/gdesklets-core/files/gdesklets-control-getid
+++ b/gnome-extra/gdesklets-core/files/gdesklets-control-getid
@@ -1,4 +1,8 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gdesklets-core/files/gdesklets-control-getid,v 1.3 2005/08/30 19:29:27 nixphoeni Exp $
+#
# A simple script to get the name and id from a Control.
# Pretty much copied from test-control.py
@@ -29,4 +33,7 @@ except IOError:
#sys.exit("Could not load control %s." % (path))
print folder
-print Interface.get_id(Interface.get_interfaces(clss)[0]).replace(":", "_")
+# Get the string in the form of "IMyControl:hash" and translate it to
+# "MyControl_hash"
+# gDesklets needs it in the form of a valid python module name
+print (Interface.get_id(Interface.get_interfaces(clss)[0]).replace(":", "_"))[1:]