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:
@ -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
|
||||
|
Reference in New Issue
Block a user