--- ChangeLog	2003-06-04 12:12:50.000000000 +1000
+++ ChangeLog	2003-06-04 12:12:10.000000000 +1000
@@ -1,3 +1,10 @@
+2003-06-04  Bas Driessen  <bas.driessen@xobas.com>
+
+	* src/glade-project-window.c: Change character '_' to '-' in
+	project name when adding/removing to/from the project pulldown
+	menu. This prevents the character being interpreted as a mnemonic
+	resulting in an invalid entry in the project pulldown menu.
+
 2003-05-31  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>
 
 	* src/glade-widget.c: free the resources allocated by a GladeWidget
--- glade-project-window.c	2003-06-04 11:34:21.000000000 +1000
+++ glade-project-window.c	2003-06-04 11:45:26.000000000 +1000
@@ -287,6 +287,7 @@ gpw_close_cb (void)
 	}
 
 	item_path = g_strdup_printf ("/Project/%s", project->name);
+	glade_util_replace (item_path, '_', '-');
 	gtk_item_factory_delete_item (gpw->item_factory, item_path);
 
 	for (list = project->widgets; list; list = list->next) {
@@ -1154,6 +1155,7 @@ glade_project_window_add_project (GladeP
  
  	/* Add the project in the /Project menu. */
 	project->entry.path = g_strdup_printf ("/Project/%s", project->name);
+	glade_util_replace (project->entry.path, '_', '-');
 	project->entry.accelerator = NULL;
 	project->entry.callback = glade_project_window_set_project;
 	project->entry.callback_action = 0;
