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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user