anjuta r3459 - in trunk: . plugins/gtodo po



Author: jhs
Date: Sat Jan 12 18:30:48 2008
New Revision: 3459
URL: http://svn.gnome.org/viewvc/anjuta?rev=3459&view=rev

Log:
2008-01-12  BolesÅaw KulbabiÅski <bolekk gmail com>

  Reviewed by: Johannes Schmid <jhs gnome org>

	* plugins/gtodo/callback.c: (remove_todo_item):
	Fix #507304 â crash in Anjuta IDE while removing done tasks


Modified:
   trunk/ChangeLog
   trunk/plugins/gtodo/callback.c
   trunk/po/ChangeLog
   trunk/po/POTFILES.in
   trunk/po/POTFILES.skip

Modified: trunk/plugins/gtodo/callback.c
==============================================================================
--- trunk/plugins/gtodo/callback.c	(original)
+++ trunk/plugins/gtodo/callback.c	Sat Jan 12 18:30:48 2008
@@ -6,6 +6,11 @@
 	GtkTreeIter iter;
 	GtkTreeModel *model = mw.sortmodel;
 	gint value;
+
+	/* testing blocking the file changed */
+	/* it seems to work.. so I keep it here */
+	gtodo_client_block_changed_callback(cl);
+
 	selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(mw.treeview));	
 	if(!gtk_tree_selection_get_selected(selection, &model, &iter))
 	{
@@ -19,18 +24,12 @@
 
 	gtk_tree_model_get(model,&iter, ID, &value,  -1);
 
-
-
-
-	/* testing blocking the file changed */
-	/* it seems to work.. so I keep it here */
-	gtodo_client_block_changed_callback(cl);
 	gtodo_client_delete_todo_by_id(cl,value);
 	gtk_list_store_clear(mw.list);
 	load_category();
-	gtodo_client_unblock_changed_callback(cl);    
-	/* end test */
 
+	/* end test */
+	gtodo_client_unblock_changed_callback(cl);
 }
 
 /* this is the function called if the user switches to another category.. */

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Sat Jan 12 18:30:48 2008
@@ -93,8 +93,6 @@
 plugins/glade/anjuta-design-document.c
 plugins/gtodo/add_edit_item.c
 plugins/gtodo/callback.c
-plugins/gtodo/egg-datetime.c
-plugins/gtodo/eggtrayicon.c
 plugins/gtodo/export.c
 plugins/gtodo/interface.c
 plugins/gtodo/libgtodo.c

Modified: trunk/po/POTFILES.skip
==============================================================================
--- trunk/po/POTFILES.skip	(original)
+++ trunk/po/POTFILES.skip	Sat Jan 12 18:30:48 2008
@@ -7,6 +7,8 @@
 plugins/build/compiler_options.c
 plugins/build/configurer.c
 plugins/build/executer.c
+plugins/gtodo/egg-datetime.c
+plugins/gtodo/eggtrayicon.c
 plugins/indent/indent-dialog.c
 plugins/indent/indent.glade
 plugins/indent/plugin.c



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