diff gtk/dw.c @ 55:b6948eac375a

Sync with the latest dynamic windows, tree fixes, and other miscellaneous stuff.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Nov 2001 22:31:55 +0000
parents c4e1139d9872
children 1ed95c8ec2ff
line wrap: on
line diff
--- a/gtk/dw.c	Sat Nov 17 17:40:16 2001 +0000
+++ b/gtk/dw.c	Wed Nov 21 22:31:55 2001 +0000
@@ -2959,7 +2959,6 @@
 	if(lastselect == item)
 		gtk_object_set_data(GTK_OBJECT(handle), "lastselect", NULL);
 
-	gtk_tree_remove_item(GTK_TREE(tree), item);
 	gtk_widget_destroy(item);
 	DW_MUTEX_UNLOCK;
 }
@@ -5408,6 +5407,12 @@
 		if(GTK_IS_COMBO(thiswindow))
 			thiswindow = GTK_COMBO(thiswindow)->entry;
 	}
+	else if(strcmp(signame, "lose-focus") == 0)
+	{
+		thisname = "focus-out-event";
+		if(GTK_IS_COMBO(thiswindow))
+			thiswindow = GTK_COMBO(thiswindow)->entry;
+	}
 	else if(GTK_IS_TREE(thiswindow) && strcmp(signame, "tree-select") == 0)
 	{
 		if(thisfunc)