Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv25790/src/gui
Modified Files:
wxFolderView.cpp
Log Message:
focus follows mouse option moved into AllProfileSettings struct (this is more logical
and also fixes a rare crash in ShowFolder())
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.582
retrieving revision 1.583
diff -b -u -2 -r1.582 -r1.583
--- wxFolderView.cpp 25 Apr 2002 23:48:46 -0000 1.582
+++ wxFolderView.cpp 26 Apr 2002 12:18:43 -0000 1.583
@@ -3079,5 +3079,4 @@
wxFolderView::wxFolderView(wxWindow *parent)
{
- m_FocusFollowMode = false;
m_Profile = NULL;
m_Parent = parent;
@@ -3334,4 +3333,18 @@
// ----------------------------------------------------------------------------
+wxFolderView::AllProfileSettings::AllProfileSettings()
+{
+ dateGMT =
+ previewOnSingleClick =
+ senderOnlyNames =
+ replaceFromWithTo =
+ focusOnMouse = false;
+
+ fontFamily = wxFONTFAMILY_DEFAULT;
+ fontSize = GetNumericDefault(MP_FVIEW_FONT_SIZE);
+
+ previewDelay = 0;
+}
+
void
wxFolderView::ReadProfileSettings(AllProfileSettings *settings)
@@ -3401,4 +3414,5 @@
settings->previewDelay = READ_CONFIG(profile, MP_FVIEW_PREVIEW_DELAY);
+ settings->focusOnMouse = READ_CONFIG_BOOL(m_Profile, MP_FOCUS_FOLLOWSMOUSE);
ReadColumnsInfo(profile, settings->columns);
@@ -3430,4 +3444,5 @@
// same as previewOnSingleClick
m_settings.previewDelay = settings.previewDelay;
+ m_settings.focusOnMouse = settings.focusOnMouse;
// did any other, important, setting change?
@@ -3634,6 +3649,4 @@
Update();
}
-
- m_FocusFollowMode = READ_CONFIG_BOOL(m_Profile, MP_FOCUS_FOLLOWSMOUSE);
// so we can react to keyboard events
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates