OSX master conf changes
[xboard.git] / ngamelist.c
index b415d19..53df236 100644 (file)
@@ -82,7 +82,7 @@ static void GameListReplace P((int page));
 static void GL_Button P((int n));
 
 static Option gamesOptions[] = {
-{ 200,  LR|TB,     400, NULL, (void*) list,       NULL, NULL, ListBox, "" },
+{ 200,  LR|TB,     400, NULL, (void*) list,       NULL, NULL, ListBox, "", &appData.gameListFont },
 {   0,  0,         100, NULL, (void*) &filterPtr, "", NULL, TextBox, "" },
 {   4,  SAME_ROW,    0, NULL, (void*) &GL_Button, NULL, NULL, Button, N_("find position") },
 {   2,  SAME_ROW,    0, NULL, (void*) &GL_Button, NULL, NULL, Button, N_("narrow") }, // buttons referred to by ID in value (=first) field!
@@ -221,6 +221,14 @@ GameListReplace (int page)
 }
 
 void
+GameListUpdate ()
+{
+    if(!DialogExists(GameListDlg)) return;
+    GameListPrepare(False, False);
+    GameListReplace(0);
+}
+
+void
 GameListPopUp (FILE *fp, char *filename)
 {
     if (glc == NULL) {