From 29ca70a6d534e1cd79963718c793ae740318cff1 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 10 Mar 2017 19:34:56 +0100 Subject: Initial plugin system --- .../conversation_summary/merged_status_item.vala | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 client/src/ui/conversation_summary/merged_status_item.vala (limited to 'client/src/ui/conversation_summary/merged_status_item.vala') 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 78b156e9..00000000 --- a/client/src/ui/conversation_summary/merged_status_item.vala +++ /dev/null @@ -1,30 +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 statuses = new ArrayList(); - - 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 -- cgit v1.2.3-70-g09d2