Just a small update to the patch. Initial version didn't handle NULL filenames.
--- a/src/ApvlvDir.cpp 2010-03-31 18:20:22.669950694 +0400 +++ b/src/ApvlvDir.cpp 2010-03-31 18:53:15.161456572 +0400 @@ -356,6 +356,7 @@ { case GDK_Return: ApvlvWindow::currentWindow ()->setCore (ndoc); + if (name != NULL) gView->settitle (g_path_get_basename(name)); break; case 'o': --- a/src/ApvlvView.cpp 2010-03-31 19:33:33.597456898 +0400 +++ b/src/ApvlvView.cpp 2010-03-31 19:33:07.205456290 +0400 @@ -544,6 +544,7 @@ { win->setCore (ndoc); updatetabname (); + if (filename != NULL) settitle (filename); } g_free (abpath);