Re: patch: status bar menu fix


Subject: Re: patch: status bar menu fix
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Mon Apr 09 2001 - 14:50:20 CDT


Committed

>From: Patrick Lam <plam@plam.lcs.mit.edu>
>To: abiword-dev@abisource.com
>Subject: patch: status bar menu fix
>Date: Sun, 8 Apr 2001 21:36:57 -0400 (EDT)
>
>The status bar checkbox is only checked if "Show Ruler" is off. The code
>isn't even correct, really: VIEW_PRINT is not the same type as
>m_bShowRuler, and it wouldn't even make sense to only check 'Show Ruler'
>if the view mode was print.
>
>pat
>
>Index: src/wp/ap/xp/ap_Menu_Functions.cpp
>===================================================================
>RCS file: /cvsroot/abi/src/wp/ap/xp/ap_Menu_Functions.cpp,v
>retrieving revision 1.42
>diff -u -r1.42 ap_Menu_Functions.cpp
>--- src/wp/ap/xp/ap_Menu_Functions.cpp 2001/03/22 04:14:47 1.42
>+++ src/wp/ap/xp/ap_Menu_Functions.cpp 2001/04/09 01:22:22
>@@ -779,7 +779,7 @@
> s = EV_MIS_ZERO;
> break;
> case AP_MENU_ID_VIEW_STATUSBAR:
>- if ( pFrameData->m_bShowStatusBar &&
>!pFrameData->m_bIsFullScre\en && (pFrameData->m_bShowRuler == VIEW_PRINT))
>+ if ( pFrameData->m_bShowStatusBar &&
>!pFrameData->m_bIsFullScre\en )
> s = EV_MIS_Toggled;
> else
> s = EV_MIS_ZERO;
>
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Mon Apr 09 2001 - 14:50:25 CDT