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

Zurück zum Archiv-Index

Yasumichi Akahoshi yasum****@users*****
2005年 5月 15日 (日) 00:06:37 JST


Index: cxplorer/src/cxp-dir-view.c
diff -u cxplorer/src/cxp-dir-view.c:1.18 cxplorer/src/cxp-dir-view.c:1.19
--- cxplorer/src/cxp-dir-view.c:1.18	Sat May 14 22:55:07 2005
+++ cxplorer/src/cxp-dir-view.c	Sun May 15 00:06:37 2005
@@ -407,7 +407,10 @@
 		/* Child node is added if it is directory */
 		if (g_file_test (fullpath, G_FILE_TEST_IS_DIR))
 		{
-			dispname = cxp_path_get_basename_of_utf8 (fullpath);
+			if((dispname = cxp_path_get_basename_of_utf8 (fullpath)) == NULL)
+			{
+				dispname = g_strdup (_("(Invalid filename)"));
+			}
 			gtk_tree_store_prepend (treestore, &child, parent);
 			gtk_tree_store_set (treestore, &child, COL_DISP_NAME,
 					    dispname, COL_FULL_PATH, fullpath,


Cxplorer-cvs メーリングリストの案内
Zurück zum Archiv-Index