diff options
Diffstat (limited to 'commands/msg')
-rw-r--r-- | commands/msg/archive.go | 4 | ||||
-rw-r--r-- | commands/msg/bounce.go | 4 | ||||
-rw-r--r-- | commands/msg/copy.go | 4 | ||||
-rw-r--r-- | commands/msg/delete.go | 4 | ||||
-rw-r--r-- | commands/msg/envelope.go | 4 | ||||
-rw-r--r-- | commands/msg/fold.go | 4 | ||||
-rw-r--r-- | commands/msg/forward.go | 4 | ||||
-rw-r--r-- | commands/msg/invite.go | 4 | ||||
-rw-r--r-- | commands/msg/mark.go | 4 | ||||
-rw-r--r-- | commands/msg/modify-labels.go | 4 | ||||
-rw-r--r-- | commands/msg/move.go | 4 | ||||
-rw-r--r-- | commands/msg/pipe.go | 4 | ||||
-rw-r--r-- | commands/msg/read.go | 4 | ||||
-rw-r--r-- | commands/msg/recall.go | 4 | ||||
-rw-r--r-- | commands/msg/reply.go | 4 | ||||
-rw-r--r-- | commands/msg/toggle-thread-context.go | 4 | ||||
-rw-r--r-- | commands/msg/toggle-threads.go | 4 | ||||
-rw-r--r-- | commands/msg/unsubscribe.go | 4 |
18 files changed, 72 insertions, 0 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go index c262de41..0b4b8258 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -51,6 +51,10 @@ func init() { commands.Register(Archive{}) } +func (Archive) Description() string { + return "Move the selected message to the archive." +} + func (Archive) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/bounce.go b/commands/msg/bounce.go index 1460951d..0c0452b4 100644 --- a/commands/msg/bounce.go +++ b/commands/msg/bounce.go @@ -27,6 +27,10 @@ func init() { commands.Register(Bounce{}) } +func (Bounce) Description() string { + return "Re-send the selected message(s) to the specified addresses." +} + func (Bounce) Aliases() []string { return []string{"bounce", "resend"} } diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 52a6ea6c..126dbd8e 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -28,6 +28,10 @@ func init() { commands.Register(Copy{}) } +func (Copy) Description() string { + return "Copy the selected message(s) to the specified folder." +} + func (Copy) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 2e41504a..4999045e 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -21,6 +21,10 @@ func init() { commands.Register(Delete{}) } +func (Delete) Description() string { + return "Delete the selected message(s)." +} + func (Delete) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/envelope.go b/commands/msg/envelope.go index 35243509..09e7fa19 100644 --- a/commands/msg/envelope.go +++ b/commands/msg/envelope.go @@ -22,6 +22,10 @@ func init() { commands.Register(Envelope{}) } +func (Envelope) Description() string { + return "Open the message envelope in a dialog popup." +} + func (Envelope) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/fold.go b/commands/msg/fold.go index 7942e965..d3ec2438 100644 --- a/commands/msg/fold.go +++ b/commands/msg/fold.go @@ -16,6 +16,10 @@ func init() { commands.Register(Fold{}) } +func (Fold) Description() string { + return "Collapse or expand the thread children of the selected message." +} + func (Fold) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/forward.go b/commands/msg/forward.go index d030636e..3bfad8cf 100644 --- a/commands/msg/forward.go +++ b/commands/msg/forward.go @@ -37,6 +37,10 @@ func init() { commands.Register(forward{}) } +func (forward) Description() string { + return "Open the composer to forward the selected message to another recipient." +} + func (forward) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/invite.go b/commands/msg/invite.go index 9a236e24..d9c16263 100644 --- a/commands/msg/invite.go +++ b/commands/msg/invite.go @@ -27,6 +27,10 @@ func init() { commands.Register(invite{}) } +func (invite) Description() string { + return "Accept or decline a meeting invitation." +} + func (invite) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/mark.go b/commands/msg/mark.go index 42110038..6c36dcd7 100644 --- a/commands/msg/mark.go +++ b/commands/msg/mark.go @@ -19,6 +19,10 @@ func init() { commands.Register(Mark{}) } +func (Mark) Description() string { + return "Mark, unmark or remark messages." +} + func (Mark) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/modify-labels.go b/commands/msg/modify-labels.go index 90536b91..e317440c 100644 --- a/commands/msg/modify-labels.go +++ b/commands/msg/modify-labels.go @@ -16,6 +16,10 @@ func init() { commands.Register(ModifyLabels{}) } +func (ModifyLabels) Description() string { + return "Modify message labels." +} + func (ModifyLabels) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/move.go b/commands/msg/move.go index 8e548bfe..63473b13 100644 --- a/commands/msg/move.go +++ b/commands/msg/move.go @@ -27,6 +27,10 @@ func init() { commands.Register(Move{}) } +func (Move) Description() string { + return "Move the selected message(s) to the specified folder." +} + func (Move) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go index 9764de82..f66e7dca 100644 --- a/commands/msg/pipe.go +++ b/commands/msg/pipe.go @@ -33,6 +33,10 @@ func init() { commands.Register(Pipe{}) } +func (Pipe) Description() string { + return "Pipe the selected message(s) into the given shell command." +} + func (Pipe) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/read.go b/commands/msg/read.go index 686c1a9e..e548c12b 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -23,6 +23,10 @@ func init() { commands.Register(FlagMsg{}) } +func (FlagMsg) Description() string { + return "Set or unset a flag on the marked or selected messages." +} + func (FlagMsg) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/recall.go b/commands/msg/recall.go index 15566414..5611f289 100644 --- a/commands/msg/recall.go +++ b/commands/msg/recall.go @@ -29,6 +29,10 @@ func init() { commands.Register(Recall{}) } +func (Recall) Description() string { + return "Open a postponed message for re-editing." +} + func (Recall) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/reply.go b/commands/msg/reply.go index aeb186f8..76f1e088 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -36,6 +36,10 @@ func init() { commands.Register(reply{}) } +func (reply) Description() string { + return "Open the composer to reply to the selected message." +} + func (reply) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/toggle-thread-context.go b/commands/msg/toggle-thread-context.go index 83dc87bd..fed87bad 100644 --- a/commands/msg/toggle-thread-context.go +++ b/commands/msg/toggle-thread-context.go @@ -11,6 +11,10 @@ func init() { commands.Register(ToggleThreadContext{}) } +func (ToggleThreadContext) Description() string { + return "Show/hide message thread context." +} + func (ToggleThreadContext) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go index 66fa594d..b8ebc15a 100644 --- a/commands/msg/toggle-threads.go +++ b/commands/msg/toggle-threads.go @@ -12,6 +12,10 @@ func init() { commands.Register(ToggleThreads{}) } +func (ToggleThreads) Description() string { + return "Toggle between message threading and the normal message list." +} + func (ToggleThreads) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } diff --git a/commands/msg/unsubscribe.go b/commands/msg/unsubscribe.go index 62f33f4d..46b86f30 100644 --- a/commands/msg/unsubscribe.go +++ b/commands/msg/unsubscribe.go @@ -27,6 +27,10 @@ func init() { commands.Register(Unsubscribe{}) } +func (Unsubscribe) Description() string { + return "Attempt to automatically unsubscribe from mailing lists." +} + func (Unsubscribe) Context() commands.CommandContext { return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } |