regexxer r630 - in trunk: . src



Author: daniel
Date: 2007-01-13 01:25:32 +0000 (Sat, 13 Jan 2007)
New Revision: 630
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=630&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/filetree.cc
   trunk/src/filetreeprivate.cc
   trunk/src/filetreeprivate.h
   trunk/src/mainwindow.cc
   trunk/src/mainwindow.h
Log:
* src/filetree.cc (FileTree::find_recursively): Replace uses of
Glib::filename_display_name() by Glib::filename_display_basename()
to enable translation of well-known locations in future.  Store
the full path in the directory stack.
(FileTree::find_fill_dirstack): Convert the full path from the
stack to a displayable name with Glib::filename_display_basename().
(FileTree::save_file_at_iter): Determine the basename for
use in the error message with Glib::filename_display_basename().

* src/mainwindow.cc (MainWindow::set_title_filename): Call
Glib::filename_display_basename() to get the filename to be
displayed in the window title.

* src/filetreeprivate.{cc,h}: Some early spring cleaning.





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