From 97f5d571649f8e685dea87a724fca24d8e71f47a Mon Sep 17 00:00:00 2001 From: Pat Beirne Date: Thu, 20 Oct 2022 22:55:15 -0400 Subject: [PATCH] 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 --- dirnotes | 508 +++++++++++++++++++++++++++++---------------------- dirnotes-tui | 2 + 2 files changed, 292 insertions(+), 218 deletions(-) diff --git a/dirnotes b/dirnotes index 5e312e0..1c91783 100755 --- a/dirnotes +++ b/dirnotes @@ -1,10 +1,8 @@ #!/usr/bin/python3 -# TODO: get rid of sqlite cursors; execute on connection -# TODO: add index to table creation -# TODO: why are there TWO sqlite.connect()?? -# try auto-commit (isolation_level = "IMMEDIATE") -# try dict-parameters in sql statements -# TODO: pick up comment for cwd and display at the top somewhere, or maybe status line + +# TODO: XDG compatibility: config in ~/.config/dirnotes/dirnotes.conf and data in ~/.local/share/dirnotes/dirnotes.db +# TODO: clearing a comment out to '' doesn't seem to work on both sides + """ a simple gui or command line app to view and create/edit file comments @@ -23,7 +21,7 @@ nav tools are enabled, so you can double-click to go into a dir """ -VERSION = "0.5" +VERSION = "0.7" helpMsg = f"""

Dirnotes

Version: {VERSION}
@@ -40,8 +38,8 @@ field of the file system.

Double click on directory names to navigate the file system. Hover over fields for more information. -

xattr extended attributes

-The xattr comment suffers from a few problems: +

xattr extended attributes

+The xattr comment suffers from a few problems: