[Cxplorer-cvs 01351] CVS update: cxplorer/src

Back to archive index

Yasumichi Akahoshi yasum****@users*****
2005年 10月 11日 (火) 23:21:13 JST


Index: cxplorer/src/cxp-right-pane.c
diff -u cxplorer/src/cxp-right-pane.c:1.92 cxplorer/src/cxp-right-pane.c:1.93
--- cxplorer/src/cxp-right-pane.c:1.92	Tue Oct 11 23:09:45 2005
+++ cxplorer/src/cxp-right-pane.c	Tue Oct 11 23:21:13 2005
@@ -684,7 +684,11 @@
 	gtk_tree_model_get_iter (model, &iter, path);
 	gtk_tree_model_get (model, &iter, FILE_LIST_COL_FULLPATH, &srcpath, -1);
 	srcbase = cxp_path_get_basename_of_utf8 (srcpath);
-	if ((srcbase == NULL) || (strcmp (srcbase, new_text) == 0) || (strcmp(new_text, "") == 0))
+	if (srcbase == NULL)
+	{
+		srcbase = g_strdup(_("(Invalid Filename)"));
+	}
+	if ((strcmp (srcbase, new_text) == 0) || (strcmp(new_text, "") == 0))
 	{
 		cxp_file_list_store_set_editable (CXP_FILE_LIST_STORE (model),
 						  &iter, FALSE);


Cxplorer-cvs メーリングリストの案内
Back to archive index