diff options
| author | fiaxh <git@mx.ax.lt> | 2017-03-10 19:53:24 +0100 |
|---|---|---|
| committer | fiaxh <git@mx.ax.lt> | 2017-03-10 19:53:24 +0100 |
| commit | 24b55d83a1f9e21b028c8d5ac9778e75565f417d (patch) | |
| tree | 195b0f332e32d08e1a18fc3d8a5a6725c5ed11d7 /client/src/ui/conversation_summary/merged_status_item.vala | |
| parent | 4c48c5c16d5f5b010c2e5dfb1affcb59f937510c (diff) | |
| parent | 29ca70a6d534e1cd79963718c793ae740318cff1 (diff) | |
Merge branch 'master' of github.com:dino/dino
Diffstat (limited to 'client/src/ui/conversation_summary/merged_status_item.vala')
| -rw-r--r-- | client/src/ui/conversation_summary/merged_status_item.vala | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/client/src/ui/conversation_summary/merged_status_item.vala b/client/src/ui/conversation_summary/merged_status_item.vala deleted file mode 100644 index 1fe8ecf3..00000000 --- a/client/src/ui/conversation_summary/merged_status_item.vala +++ /dev/null @@ -1,31 +0,0 @@ -using Gee; -using Gtk; - -using Dino.Entities; - -namespace Dino.Ui.ConversationSummary { - -private class MergedStatusItem : Expander { - - private StreamInteractor stream_interactor; - private Conversation conversation; - private ArrayList<Show> statuses = new ArrayList<Show>(); - - public MergedStatusItem(StreamInteractor stream_interactor, Conversation conversation, Show show) { - set_hexpand(true); - add_status(show); - } - - public void add_status(Show show) { - statuses.add(show); - StatusItem status_item = new StatusItem(stream_interactor, conversation, @"is $(show.as)"); - if (statuses.size == 1) { - label = show.as; - } else { - label = @"changed their status $(statuses.size) times"; - add(new Label(show.as)); - } - } -} - -}
\ No newline at end of file |
