[evolution-patches] patch for #73011 (categories dialog)



category name is never getting added to list while creating a new
category. So we crash when some body selects that one.

Siva
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/ChangeLog,v
retrieving revision 1.30
diff -u -p -r1.30 ChangeLog
--- ChangeLog	23 Feb 2005 18:52:12 -0000	1.30
+++ ChangeLog	25 Feb 2005 09:16:58 -0000
@@ -1,3 +1,10 @@
+2005-02-25  Sivaiah Nallagatla <snallagatla novell com>
+
+	* e-categories-dialog.c (new_button_clicked_cb) :
+	Pass iter to gtk_list_store_set , so that
+	new cateogy gets added properly.
+	Fixes #73011
+	
 2005-02-23  Hans Petter Jansson  <hpj novell com>
 
 	* Makefile.am (libedataserverui_1_2_la_SOURCES)
Index: e-categories-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/e-categories-dialog.c,v
retrieving revision 1.11
diff -u -p -r1.11 e-categories-dialog.c
--- e-categories-dialog.c	3 Feb 2005 16:35:02 -0000	1.11
+++ e-categories-dialog.c	25 Feb 2005 09:16:58 -0000
@@ -251,7 +251,7 @@ new_button_clicked_cb (GtkButton *button
 				&iter);
 			gtk_list_store_set (
 				GTK_LIST_STORE (gtk_tree_view_get_model (GTK_TREE_VIEW (prop_dialog->parent->priv->categories_list))),
-				0, FALSE, 1, category_name, -1);
+				&iter, 0, FALSE, 1, category_name, -1);
 		}
 	}
 


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