jana r735 - in trunk: . libjana-ecal



Author: rbradford
Date: Mon Feb 23 14:26:21 2009
New Revision: 735
URL: http://svn.gnome.org/viewvc/jana?rev=735&view=rev

Log:
2009-02-23  Rob Bradford  <rob linux intel com>

	* libjana-ecal/jana-ecal-utils.c (jana_ecal_utils_guess_location):
	  Loosen the regex used for extracting the location from
	  /etc/sysconfig/clock to work with that found on Fedora.

Modified:
   trunk/ChangeLog
   trunk/libjana-ecal/jana-ecal-utils.c

Modified: trunk/libjana-ecal/jana-ecal-utils.c
==============================================================================
--- trunk/libjana-ecal/jana-ecal-utils.c	(original)
+++ trunk/libjana-ecal/jana-ecal-utils.c	Mon Feb 23 14:26:21 2009
@@ -144,7 +144,7 @@
 		GRegex *regex;
 		GError *error = NULL;
 
-		regex = g_regex_new ("TIMEZONE *= *\".*\"",
+		regex = g_regex_new ("ZONE *= *\".*\"",
 			G_REGEX_OPTIMIZE, 0, &error);
 		if (!regex) {
 			g_warning ("Failed to create regex: %s",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]