Commit dd15e95f authored by Gaute Hope's avatar Gaute Hope
Browse files

Bug 513330: Applied patch from Frank Arnold fixing wrong locale categori (LC_ALL -> LC_TIME)

svn path=/trunk/; revision=1068
parent 922dca19
2008-02-01 Gaute Hope <eg@gaute.vetsj.com>
* Bug 513330: Applied patch from Frank Arnold fixing wrong locale categori (LC_ALL -> LC_TIME)
2008-01-31 Gaute Hope <eg@gaute.vetsj.com>
* Applied patch from Frank Arnold fixing mainwindow template button.
* desktop/gnome-schedule.desktop.in.in: Now using .svg, not removed .png icon
* Bug 513330: Applied patch from Frank Arnold fixing mainwindow template button.
* desktop/gnome-schedule.desktop.in.in: Now using .svg, not removed .png, icon
* icons/Makefile.am: Installing icons under $prefix/share/pixmaps/gnome-schedule
* src/config.py.in: Updated image path
* src/mainWindow.py, src/scheduleapplet.py: Only trying to load data files from current location if launched with '--debug'
......
......@@ -71,7 +71,7 @@ class At:
pass
# FAILED TO CREATE DATADIR
self.currentlocale = locale.getlocale (locale.LC_ALL)
self.currentlocale = locale.getlocale (locale.LC_TIME)
def set_rights(self,user,uid,gid, ud):
self.user = user
......@@ -85,10 +85,10 @@ class At:
return "at"
def standard_locale (self):
locale.setlocale (locale.LC_ALL, 'C')
locale.setlocale (locale.LC_TIME, 'C')
def restore_locale (self):
locale.setlocale (locale.LC_ALL, self.currentlocale)
locale.setlocale (locale.LC_TIME, self.currentlocale)
def parse (self, line, output = True):
if (output == True):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment