log "initializing mail index buffer"
imode = InboxMode.new
- ibuf = bm.spawn "inbox", imode
+ ibuf = bm.spawn "Inbox", imode
log "ready for interaction!"
Logger.make_buf
bm.flash "Couldn't parse query."
end
when :list_labels
- b = bm.spawn_unless_exists("Label List") { LabelListMode.new }
+ b = bm.spawn_unless_exists("Label list") { LabelListMode.new }
b.mode.load_in_background
when :compose
mode = ComposeMode.new
if label == :inbox
BufferManager.raise_to_front BufferManager["inbox"]
else
- b = BufferManager.spawn_unless_exists(label) do
+ b = BufferManager.spawn_unless_exists("All threads with label '#{label}'") do
mode = LabelSearchResultsMode.new [label]
end
b.mode.load_threads :num => b.content_height