X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xedittags.c;h=0235da4748439cd69aac539b5d15c6e789118fbc;hb=02de46755f727ffb565f7c855f37c344eee925ff;hp=b1fdd67176bc6f0cd186cd42409e41ea04290c9c;hpb=e70077aab0199817f37aef9ed0bdba1bbca93b45;p=xboard.git diff --git a/xedittags.c b/xedittags.c index b1fdd67..0235da4 100644 --- a/xedittags.c +++ b/xedittags.c @@ -81,6 +81,7 @@ extern char *getenv(); #include "backend.h" #include "xboard.h" #include "xedittags.h" +#include "dialogs.h" #include "gettext.h" #ifdef ENABLE_NLS @@ -93,36 +94,32 @@ extern char *getenv(); Position tagsX = -1, tagsY = -1; -void TagsPopUp(tags, msg) - char *tags, *msg; +void +TagsPopUp (char *tags, char *msg) { NewTagsPopup(tags, cmailMsgLoaded ? msg : NULL); } -void EditTagsPopUp(tags, dest) - char *tags; - char **dest; +void +EditTagsPopUp (char *tags, char **dest) { NewTagsPopup(tags, NULL); } -void TagsPopDown() +void +TagsPopDown() { - PopDown(2); + PopDown(TagsDlg); bookUp = False; } void -EditTagsProc(w, event, prms, nprms) - Widget w; - XEvent *event; - String *prms; - Cardinal *nprms; +EditTagsProc () { Arg args[5]; int j; - if (!bookUp && PopDown(2)) { + if (!bookUp && PopDown(TagsDlg)) { j = 0; XtSetArg(args[j], XtNleftBitmap, None); j++; XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Tags"), args, j);