evolution-data-server r8503 - in trunk/calendar: . backends/file



Author: pchen
Date: Mon Feb 18 11:03:29 2008
New Revision: 8503
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8503&view=rev

Log:
2008-02-18  Chenthill Palanisamy  <pchenthill novell com>

        * backends/file/e-cal-backend-file.c (save_file_when_idle):
        * Reverted the string marked for translation as we are in string freeze
        mode now.                                                                   



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/backends/file/e-cal-backend-file.c

Modified: trunk/calendar/backends/file/e-cal-backend-file.c
==============================================================================
--- trunk/calendar/backends/file/e-cal-backend-file.c	(original)
+++ trunk/calendar/backends/file/e-cal-backend-file.c	Mon Feb 18 11:03:29 2008
@@ -128,7 +128,6 @@
 	GnomeVFSFileSize out;
 	gchar *tmp, *backup_uristr;
 	char *buf;
-	char *error = NULL;
 	ECalBackendFile *cbfile = user_data;
 
 	priv = cbfile->priv;
@@ -206,9 +205,9 @@
 
  error:
 	g_static_rec_mutex_unlock (&priv->idle_save_rmutex);
-   	error = g_strconcat (_("Can't save calendar data: "), gnome_vfs_result_to_string (result), NULL);
-	e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), error);
-	g_free (error);  
+	/* TODO Add concat the message "Cannot save calendar data" to the error string later.Not
+	   doing it now as we have string freeze. */
+	e_cal_backend_notify_error (E_CAL_BACKEND (cbfile), gnome_vfs_result_to_string (result));
 	return FALSE;
 }
 



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