Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv29130/src/classes
Modified Files:
MApplication.cpp
Log Message:
show the number of the selected messages in the status bar
Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.259
retrieving revision 1.260
diff -b -u -2 -r1.259 -r1.260
--- MApplication.cpp 27 Aug 2002 23:48:57 -0000 1.259
+++ MApplication.cpp 29 Aug 2002 00:24:27 -0000 1.260
@@ -1190,15 +1190,6 @@
if ( m_statusPanes[0] == SF_ILLEGAL )
{
- StatusFields *p = m_statusPanes;
- *p++ = SF_STANDARD;
- *p++ = SF_FOLDER;
-
-#ifdef USE_DIALUP
- if ( m_DialupSupport )
- *p++ = SF_ONLINE;
-#endif // USE_DIALUP
-
- if ( m_UseOutbox )
- *p++ = SF_OUTBOX;
+ m_statusPanes[0] = SF_STANDARD;
+ m_statusPanes[1] = SF_ILLEGAL;
}
@@ -1213,5 +1204,5 @@
}
- if ( m_statusPanes[n] > field )
+ if ( m_statusPanes[n] > field || m_statusPanes[n] == SF_ILLEGAL )
{
// we insert the status field here to keep the array sorted
@@ -1248,9 +1239,7 @@
RecreateStatusBar();
- return;
+ break;
}
}
-
- FAIL_MSG( "RemoveStatusField(): no such field shown" );
}
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates