Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv31735/src/gui

Modified Files:
        wxMainFrame.cpp 
Log Message:
put the folder tree to the left or right of folder view

Index: wxMainFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMainFrame.cpp,v
retrieving revision 1.176
retrieving revision 1.177
diff -b -u -2 -r1.176 -r1.177
--- wxMainFrame.cpp     6 Oct 2003 00:38:55 -0000       1.176
+++ wxMainFrame.cpp     7 Oct 2003 22:50:41 -0000       1.177
@@ -78,4 +78,5 @@
 
 extern const MOption MP_CURRENT_IDENTITY;
+extern const MOption MP_FTREE_LEFT;
 extern const MOption MP_FVIEW_AUTONEXT_UNREAD_FOLDER;
 extern const MOption MP_MAINFOLDER;
@@ -581,9 +582,21 @@
    m_FolderTree = new wxMainFolderTree(m_splitter, this);
    m_FolderView = new wxMainFolderView(m_splitter, this);
-   m_splitter->SplitVertically(m_FolderTree->GetWindow(),
-                               m_FolderView->GetWindow(),
-                               sizeFrame.x/3);
 
-   m_splitter->SetMinimumPaneSize(10);
+   wxWindow *winLeft,
+            *winRight;
+   if ( READ_APPCONFIG_BOOL(MP_FTREE_LEFT) )
+   {
+      winLeft = m_FolderTree->GetWindow();
+      winRight = m_FolderView->GetWindow();
+   }
+   else // folder tre on the right
+   {
+      winLeft = m_FolderView->GetWindow();
+      winRight = m_FolderTree->GetWindow();
+   }
+
+   m_splitter->SplitVertically(winLeft, winRight, sizeFrame.x/3);
+
+   m_splitter->SetMinimumPaneSize(50);
 
    // construct the menu and toolbar



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to