diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2008-03-26 02:40:08 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2008-03-26 02:40:08 +0000 |
commit | 63f2fa5535bcdca21b5ff3975662501d845d4c4a (patch) | |
tree | 897ffe5bbeb5456812538e28434203a609ccfa60 /gnome-extra/gdesklets-core/files | |
parent | Version bump and removal of 0.36_beta. Fixed bug #211290 and parallel make i... (diff) | |
download | gentoo-2-63f2fa5535bcdca21b5ff3975662501d845d4c4a.tar.gz gentoo-2-63f2fa5535bcdca21b5ff3975662501d845d4c4a.tar.bz2 gentoo-2-63f2fa5535bcdca21b5ff3975662501d845d4c4a.zip |
Cleanup - removed an old patch
(Portage version: 2.1.4.4)
Diffstat (limited to 'gnome-extra/gdesklets-core/files')
-rw-r--r-- | gnome-extra/gdesklets-core/files/dst-fix-0.34.3.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gnome-extra/gdesklets-core/files/dst-fix-0.34.3.patch b/gnome-extra/gdesklets-core/files/dst-fix-0.34.3.patch deleted file mode 100644 index 78cfeab2c383..000000000000 --- a/gnome-extra/gdesklets-core/files/dst-fix-0.34.3.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- Controls/Time/__init__.py.orig 2005-04-05 16:49:18.000000000 -0500 -+++ Controls/Time/__init__.py 2005-04-05 17:40:35.000000000 -0500 -@@ -44,31 +44,28 @@ - def __set_timezone(self, tz): - - self.__timezone = tz -- have_tz = "TZ" in os.environ -+ self._update("timezone") -+ -+ -+ def __get_timezone(self): return self.__timezone -+ - -- old_tz = os.environ.get("TZ", "") -+ def __get_time_and_date(self): -+ - if (self.__timezone): -+ have_tz = "TZ" in os.environ -+ old_tz = os.environ.get("TZ", "") -+ - os.environ["TZ"] = self.__timezone - time.tzset() - -- self.__timezone_offset = time.timezone -- -- if (self.__timezone): -+ tme = time.localtime() - if (not have_tz): del os.environ["TZ"] - else: os.environ["TZ"] = old_tz - time.tzset() -- -- self.__try_tick_date() -- self._update("timezone") -- self._update("date") -- -- -- def __get_timezone(self): return self.__timezone -- -- -- def __get_time_and_date(self): -- -- tme = time.gmtime(time.time() - self.__timezone_offset) -+ else: -+ tme = time.localtime() -+ - return tme - - |