aboutsummaryrefslogtreecommitdiff
path: root/client/src/ui/conversation_summary
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-10 18:07:28 +0100
committerfiaxh <git@mx.ax.lt>2017-03-10 18:07:28 +0100
commit4c48c5c16d5f5b010c2e5dfb1affcb59f937510c (patch)
treed4a75a005fcfa823b1716d8bfbe3d862f3680905 /client/src/ui/conversation_summary
parentcf51e1dee22273366700c41a185c4bea343dddfe (diff)
downloaddino-4c48c5c16d5f5b010c2e5dfb1affcb59f937510c.tar.gz
dino-4c48c5c16d5f5b010c2e5dfb1affcb59f937510c.zip
Reformat [GtkChild]
Diffstat (limited to 'client/src/ui/conversation_summary')
-rw-r--r--client/src/ui/conversation_summary/merged_message_item.vala23
-rw-r--r--client/src/ui/conversation_summary/merged_status_item.vala1
-rw-r--r--client/src/ui/conversation_summary/status_item.vala1
-rw-r--r--client/src/ui/conversation_summary/view.vala8
4 files changed, 11 insertions, 22 deletions
diff --git a/client/src/ui/conversation_summary/merged_message_item.vala b/client/src/ui/conversation_summary/merged_message_item.vala
index 3647d082..4957b1a6 100644
--- a/client/src/ui/conversation_summary/merged_message_item.vala
+++ b/client/src/ui/conversation_summary/merged_message_item.vala
@@ -15,23 +15,12 @@ public class MergedMessageItem : Grid {
public DateTime initial_time { get; private set; }
public ArrayList<Message> messages = new ArrayList<Message>(Message.equals_func);
- [GtkChild]
- private Image image;
-
- [GtkChild]
- private Label time_label;
-
- [GtkChild]
- private Label name_label;
-
- [GtkChild]
- private Image encryption_image;
-
- [GtkChild]
- private Image received_image;
-
- [GtkChild]
- private TextView message_text_view;
+ [GtkChild] private Image image;
+ [GtkChild] private Label time_label;
+ [GtkChild] private Label name_label;
+ [GtkChild] private Image encryption_image;
+ [GtkChild] private Image received_image;
+ [GtkChild] private TextView message_text_view;
public MergedMessageItem(StreamInteractor stream_interactor, Conversation conversation, Message message) {
this.conversation = conversation;
diff --git a/client/src/ui/conversation_summary/merged_status_item.vala b/client/src/ui/conversation_summary/merged_status_item.vala
index 78b156e9..1fe8ecf3 100644
--- a/client/src/ui/conversation_summary/merged_status_item.vala
+++ b/client/src/ui/conversation_summary/merged_status_item.vala
@@ -27,4 +27,5 @@ private class MergedStatusItem : Expander {
}
}
}
+
} \ No newline at end of file
diff --git a/client/src/ui/conversation_summary/status_item.vala b/client/src/ui/conversation_summary/status_item.vala
index 5918d008..0775d8f3 100644
--- a/client/src/ui/conversation_summary/status_item.vala
+++ b/client/src/ui/conversation_summary/status_item.vala
@@ -26,4 +26,5 @@ private class StatusItem : Grid {
show_all();
}
}
+
} \ No newline at end of file
diff --git a/client/src/ui/conversation_summary/view.vala b/client/src/ui/conversation_summary/view.vala
index 59cf88aa..d2599041 100644
--- a/client/src/ui/conversation_summary/view.vala
+++ b/client/src/ui/conversation_summary/view.vala
@@ -13,11 +13,8 @@ public class View : Box {
public Conversation? conversation { get; private set; }
public HashMap<Entities.Message, MergedMessageItem> message_items = new HashMap<Entities.Message, MergedMessageItem>(Entities.Message.hash_func, Entities.Message.equals_func);
- [GtkChild]
- private ScrolledWindow scrolled;
-
- [GtkChild]
- private Box main;
+ [GtkChild] private ScrolledWindow scrolled;
+ [GtkChild] private Box main;
private StreamInteractor stream_interactor;
private MergedMessageItem? last_message_item;
@@ -219,4 +216,5 @@ public class View : Box {
main.@foreach((widget) => { main.remove(widget); });
}
}
+
}