sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bc1cf3754c6c5baf43db64aed1f7f79c7df0300a
parent 2a5b82a7f5f551d398f176476bd94afc341f88d3
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Tue,  9 Jan 2007 00:04:37 +0000

overwrote uri, otherwise not recognized


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@232 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/draft.rb | 1 +
M lib/sup/sent.rb | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/sup/draft.rb b/lib/sup/draft.rb
@@ -48,6 +48,7 @@ class DraftLoader < Source
 
   def id; DraftManager.source_id; end
   def to_s; DraftManager.source_name; end
+  def uri; DraftManager.source_name; end
 
   def each
     Dir.entries(@dir).select { |x| x =~ /^\d+$/ }.sort_by { |x| x.to_i }.each { |id| yield [id, [:draft]] }
diff --git a/lib/sup/sent.rb b/lib/sup/sent.rb
@@ -36,6 +36,7 @@ class SentLoader < MBox::Loader
     super "mbox://" + filename, cur_offset, true, true
   end
 
+  def uri; SentManager.source_name; end
   def to_s; SentManager.source_name; end
   def id; SentManager.source_id; end
   def labels; [:sent, :inbox]; end