AmendHub

Download:

jcs

/

amend

/

amendments

/

118

repo: Set cursor to watch while we're loading a repo


jcs made amendment 118 about 1 year ago
--- browser.c Mon Apr 17 15:23:07 2023 +++ browser.c Tue Apr 18 22:59:28 2023 @@ -231,6 +231,8 @@ browser_init(struct repo *repo) progress(NULL); + SetCursor(&arrow); + return browser; } --- repo.c Tue Apr 18 15:42:15 2023 +++ repo.c Tue Apr 18 22:59:21 2023 @@ -113,6 +113,8 @@ repo_init(struct bile *bile, bool is_new) xfree(&repo); return NULL; } + + SetCursor(*(GetCursor(watchCursor))); /* fill in file info */ repo->nfiles = bile_sorted_ids_by_type(bile, REPO_FILE_RTYPE, &ids); @@ -160,7 +162,7 @@ repo_init(struct bile *bile, bool is_new) xfree(&ids); repo_sort_amendments(repo); } - + return repo; }