This commit is contained in:
ricardob 1998-07-07 18:26:15 +00:00
Родитель 12d9db1bf9
Коммит a77d1ca368
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -112,7 +112,8 @@ const char *XFE_ComposeView::tabBeforeSubject = "XFE_ComposeView::tabBeforeSubje
const char *XFE_ComposeView::tabAfterSubject = "XFE_ComposeView::tabAfterSubject";
const char *XFE_ComposeView::tabPrev = "XFE_ComposeView::tabPrev";
const char *XFE_ComposeView::tabNext = "XFE_ComposeView::tabNext";
HG12111
const char *XFE_ComposeView::updateSecurityOption= "XFE_ComposeView::updateSecurityOption";
static void TabBeforeSubjectTraverse(Widget w, XEvent *, String *, Cardinal *)
{
@ -2533,6 +2534,10 @@ XFE_ComposeView::getCommandView(XFE_Command* )
extern "C" void
FE_SecurityOptionsChanged(MWContext * pContext)
{
HG03833
XFE_Frame * pFrame = ViewGlue_getFrame(XP_GetNonGridContext(pContext));
if ( pFrame ) {
((XFE_ComposeView*)pFrame->getView())->getToplevel()->
notifyInterested(XFE_ComposeView::updateSecurityOption, NULL);
}
}

Просмотреть файл

@ -25,7 +25,6 @@
#ifndef _xfe_composeview_h
#define _xfe_composeview_h
#include "rosetta.h"
#include "MNView.h" /* Has to be the first include because of xp_xx.h */
#include "msgcom.h"
#include "Command.h" /* For compose window commands */
@ -72,7 +71,7 @@ public:
static const char* tabNext;
static const char* eFocusIn;
static const char* eFocusOut;
HG12172
static const char* updateSecurityOption;
static void daFocusProc(Widget,XtPointer,XEvent*,Boolean*);
static void topFocusProc(Widget,XtPointer,XEvent*,Boolean*);