#include <stdio.h>
#include <stdlib.h> /* for qsort */
-#include "../config.h"
+#include "config.h"
#ifdef SEL_FILE_IGNORE_CASE
#include <ctype.h>
#include <X11/Xos.h>
#include <pwd.h>
-#include "selfile.h"
#include "xstat.h"
+#include "selfile.h"
#include <X11/Xaw/Scrollbar.h>
#ifndef MAXPATHLEN
extern uid_t getuid();
#endif /* def HAS_DIRENT_H */
-/* added missing prototypes */
-extern void SFtextChanged();
-extern int SFgetDir(SFDir *);
-extern void SFdrawLists(int);
-extern void SFdrawList(int, int);
-extern void SFclearList(int, int);
-extern void SFmotionList(Widget, int, XMotionEvent*);
-
typedef struct {
char *name;
char *dir;
}
#endif /* def SEL_FILE_IGNORE_CASE */
-void
-SFsetText(path)
- char *path;
-{
- XawTextBlock text;
-
- text.firstPos = 0;
- text.length = strlen(path);
- text.ptr = path;
- text.format = FMT8BIT;
-
- XawTextReplace(selFileField, 0, strlen(SFtextBuffer), &text);
- XawTextSetInsertionPoint(selFileField, strlen(SFtextBuffer));
-
- return;
-}
-
static void
SFreplaceText(dir, str)
SFDir *dir;