Return parent path for dummy paths.

Wed Jul 23 18:43:20 2003  Owen Taylor  <otaylor@redhat.com>

        * gtkfilesystemmodel.c (_gtk_file_system_model_get_path):
        Return parent path for dummy paths.
This commit is contained in:
Owen Taylor
2003-07-23 22:45:01 +00:00
committed by Owen Taylor
parent 971bd6274e
commit 3264c0b679

View File

@ -805,7 +805,10 @@ _gtk_file_system_model_get_path (GtkFileSystemModel *model,
{
FileModelNode *node = iter->user_data;
return node->path;
if (node->is_dummy)
return node->parent->path;
else
return node->path;
}
static void