evolution-data-server r9309 - trunk/camel



Author: sragavan
Date: Mon Aug 11 06:23:32 2008
New Revision: 9309
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9309&view=rev

Log:
2008-08-09  Srinivasa Ragavan  <sragavan novell com>

	* camel/camel-folder-summary.c: Added summary reloaded event to camel
	object


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-folder-summary.c

Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c	(original)
+++ trunk/camel/camel-folder-summary.c	Mon Aug 11 06:23:32 2008
@@ -843,6 +843,7 @@
 	ret = camel_db_read_message_info_records (cdb, folder_name, (gpointer)&data, camel_read_mir_callback, NULL);
 
 	s->cache_load_time = time (NULL);
+	camel_object_trigger_event(s, "summary_reloaded", s);
 	return ret == 0 ? 0 : -1;
 }
 
@@ -4610,6 +4611,7 @@
 static void
 camel_folder_summary_class_init (CamelFolderSummaryClass *klass)
 {
+	CamelObjectClass *camel_object_class = CAMEL_OBJECT_CLASS (klass);
 	camel_folder_summary_parent = camel_type_get_global_classfuncs (camel_object_get_type ());
 
 	klass->summary_header_load = summary_header_load;
@@ -4657,4 +4659,7 @@
 	klass->info_set_user_tag = info_set_user_tag;
 
 	klass->info_set_flags = info_set_flags;
+	
+	camel_object_class_add_event(camel_object_class, "summary_reloaded", NULL);
+	
 }



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