Major changes to the gui app

-refactor FileObj
  -change lstat mode tests to functions .isDir() .isLink()
  -rewrite helpscreen for gui, add keyboard help screen
  -add info bar to the GUI, so we can see the comment on THIS dir
  -highlight "different" comments, even if they're empty
  -give icons to files, directories, links, sockets and the two pushbuttons
This commit is contained in:
2022-10-20 22:55:15 -04:00
parent b63ec7ebc5
commit 97f5d57164
2 changed files with 292 additions and 218 deletions
+2
View File
@@ -5,6 +5,7 @@
# TODO: write color scheme
# TODO: re-read date/author to xattr after an edit
# TODO: consider adding h,j,k,l movement
# TODO: change move command to 'v', change mode to 'm', drop copy-comments
# scroll
# up/down - change focus, at limit: move 1 line,
@@ -457,6 +458,7 @@ class FileObj():
def getXattrAuthor(self):
return self.xattrAuthor
def getXattrDate(self):
# TODO: make sure it's a string, not an int
logging.info(f"someone accessed date on {self.fileName} {self.xattrDate}")
return self.xattrDate
def setXattrComment(self,newComment):