Explorar el Código

bitwarden: remove help text since no longer needed

Since we're only doing read-only operations, we don't need these
instructions nor the header line since it's obvious what they are.
Sean Farley hace 7 años
padre
commit
54e9a37064
Se han modificado 1 ficheros con 1 adiciones y 21 borrados
  1. 1 21
      bitwarden.el

+ 1 - 21
bitwarden.el

@@ -500,26 +500,6 @@ Creates a widget with text KEY and items VAL."
 If optional argument GROUP is given, only entries in GROUP will be listed."
 If optional argument GROUP is given, only entries in GROUP will be listed."
   (interactive)
   (interactive)
   (bitwarden-list-dialog "*bitwarden-list*"
   (bitwarden-list-dialog "*bitwarden-list*"
-    (widget-insert (concat "Bitwarden list mode.\n"
-                           "Usage:\n"
-                           "\t<enter> open URL\n"
-                           "\tn next line\n"
-                           "\tp previous line\n"
-                           "\tr reload accounts\n"
-                           ;; "\ta add password\n"
-                           "\ts show password\n"
-                           "\tw add password to kill ring\n"
-                           ;; "\tm move account to group\n"
-                           ;; "\tc create auth-source from account\n"
-                           ;; "\td delete account\n"
-                           "\tq quit\n\n"))
-
-    (widget-insert
-     (concat
-      ;; compensate for the widget icon width
-      (bitwarden-pad-to-width "Name" (+ 40 5))
-      (bitwarden-pad-to-width "Username" 32)
-      (bitwarden-pad-to-width "Date" 24)))
 
 
     ;; Use a L&F that looks like the recentf menu.
     ;; Use a L&F that looks like the recentf menu.
     (tree-widget-set-theme "folder")
     (tree-widget-set-theme "folder")
@@ -527,7 +507,7 @@ If optional argument GROUP is given, only entries in GROUP will be listed."
     (apply 'widget-create
     (apply 'widget-create
            `(group
            `(group
              :indent 0
              :indent 0
-             :format "\n%v\n"
+             :format "%v\n"
              ,@(bitwarden-list-all-items
              ,@(bitwarden-list-all-items
                 (bitwarden-search))))
                 (bitwarden-search))))