nautilus r13876 - in trunk: . libnautilus-private



Author: alexl
Date: Tue Mar  4 12:01:55 2008
New Revision: 13876
URL: http://svn.gnome.org/viewvc/nautilus?rev=13876&view=rev

Log:
2008-03-04  Alexander Larsson  <alexl redhat com>

	* libnautilus-private/nautilus-file.c (nautilus_file_set_display_name):
	Handle the case of empty display name as if it wasn't specified.



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-file.c

Modified: trunk/libnautilus-private/nautilus-file.c
==============================================================================
--- trunk/libnautilus-private/nautilus-file.c	(original)
+++ trunk/libnautilus-private/nautilus-file.c	Tue Mar  4 12:01:55 2008
@@ -231,7 +231,7 @@
 {
 	gboolean changed;
 
-	if (display_name == NULL) {
+	if (display_name == NULL || *display_name == 0) {
 		return FALSE;
 	}
 	



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