Commit 5e78e4e4 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Handle the case of empty display name as if it wasn't specified.

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.


svn path=/trunk/; revision=13876
parent 41d28c4a
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.
2008-02-29 Cosimo Cecchi <cosimoc@gnome.org>
* nautilus-computer.desktop.in.in:
......
......@@ -231,7 +231,7 @@ nautilus_file_set_display_name (NautilusFile *file,
{
gboolean changed;
if (display_name == NULL) {
if (display_name == NULL || *display_name == 0) {
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment