#include "backend.h"
#include "xboard.h"
#include "xedittags.h"
+#include "dialogs.h"
#include "gettext.h"
#ifdef ENABLE_NLS
void
TagsPopDown()
{
- PopDown(2);
+ PopDown(TagsDlg);
bookUp = False;
}
void
EditTagsProc ()
{
- Arg args[5];
- int j;
- if (!bookUp && PopDown(2)) {
- j = 0;
- XtSetArg(args[j], XtNleftBitmap, None); j++;
- XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Tags"), args, j);
- } else {
- EditTagsEvent();
- }
+ if (bookUp || !PopDown(TagsDlg)) EditTagsEvent();
}