Skip to content

Commit

Permalink
Fixed issue 28 from eMBee list
Browse files Browse the repository at this point in the history
  • Loading branch information
tradzik authored and eMBee committed Feb 14, 2015
1 parent dc2f80f commit 9ce212e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/sup/modes/inbox_mode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def handle_idle_update sender, idle_since
end

def status
super + " #{Index.size} messages in index"
starred = Index.num_results_for(:labels => [:starred])
unread = Index.num_results_for(:labels => [:unread])
super + " #{Index.size} messages in index (#{starred} starred, #{unread} unread)"
end
end

Expand Down

0 comments on commit 9ce212e

Please sign in to comment.