Here's a patch that addresses the only entry in the rapidsvn TODO list.
Versioned SVN folders are displayed using a different icon.
This is shown in the file list of the right hand pane.
I have attached the new icons. Sorry, I don't know where XPM bitmaps are
used and can't test the Unix/Linux build.
Please uncompress them into rapidsvn/src/res/bitmaps
* rapidsvn/src/filelist_ctrl.cpp
  (FileListCtrl::UpdateFileList): SVN folders are shown with a different
icon.
* rapidsvn/src/rapidsvn.rc
  Added a new folder icon to represent SVN versioned folders.
Index: ./filelist_ctrl.cpp
===================================================================
--- ./filelist_ctrl.cpp
+++ ./filelist_ctrl.cpp	Sun Jul 28 19:54:54 2002
@@ -12,7 +12,7 @@
  * Number of items in the IMAGE_INDEX table.
  * This should be large enough to include the range of status codes.
  */
-#define N_STATUS_KIND		20
+#define N_STATUS_KIND		21
 
 /**
  * The index from where there will be only images not related 
@@ -20,7 +20,8 @@
  */
 #define N_START_EXTRA_IMGS	15
 
-#define IMG_INDX_FOLDER		N_START_EXTRA_IMGS
+#define IMG_INDX_FOLDER
N_START_EXTRA_IMGS
+#define IMG_INDX_VERSIONED_FOLDER	(N_START_EXTRA_IMGS + 1)
 
 /**
  * This table holds information about image index in a image list.
@@ -60,6 +61,7 @@
         m_imageListSmall->Add( wxICON(conflicted_file) );
 
         m_imageListSmall->Add( wxICON(folder) );
+	m_imageListSmall->Add( wxICON(versioned_folder) );
 
         // set the indexes
         IMAGE_INDEX[svn_wc_status_none] = 0;
@@ -74,6 +76,7 @@
         IMAGE_INDEX[svn_wc_status_conflicted] = 8;
 
         IMAGE_INDEX[IMG_INDX_FOLDER]	= 9;
+	IMAGE_INDEX[IMG_INDX_VERSIONED_FOLDER]	= 10;
         
         // set this file list control to use the image list
         this->SetImageList( m_imageListSmall, wxIMAGE_LIST_SMALL );
@@ -123,7 +126,16 @@
                         if( name != ".." && name != SVN_WC_ADM_DIR_NAME
)		// not the parent directory
                         {
                                 if( wxDirExists( f ) )		// a
directory
-					InsertItem( i, name,
IMAGE_INDEX[IMG_INDX_FOLDER] );
+				{
+					if( SVN_IS_VALID_REVNUM(
file_info.getRevision() ) )
+					{
+						InsertItem( i, name,
IMAGE_INDEX[IMG_INDX_VERSIONED_FOLDER] );
+					}
+					else
+					{
+						InsertItem( i, name,
IMAGE_INDEX[IMG_INDX_FOLDER] );
+					}
+				}
                                 else					
                                         InsertItem( i, name,
IMAGE_INDEX[file_info.getFileStatus()] );
Index: ./rapidsvn.rc
===================================================================
--- ./rapidsvn.rc
+++ ./rapidsvn.rc	Sun Jul 28 18:09:44 2002
@@ -14,6 +14,7 @@
 conflicted_file		ICON
"res/bitmaps/conflicted_file.ico"
 
 folder				ICON	"res/bitmaps/folder.ico"
+versioned_folder	ICON	"res/bitmaps/versioned_folder.ico"
 
 
 refresh				BITMAP
"res/bitmaps/refresh.bmp"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 29 02:41:48 2002