aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector_row.vala20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala
index 1bcf6962..c180b6b3 100644
--- a/main/src/ui/conversation_selector/conversation_selector_row.vala
+++ b/main/src/ui/conversation_selector/conversation_selector_row.vala
@@ -18,10 +18,6 @@ public class ConversationSelectorRow : ListBoxRow {
[GtkChild] protected unowned Label nick_label;
[GtkChild] protected unowned Label message_label;
[GtkChild] protected unowned Label unread_count_label;
- [GtkChild] protected unowned Button x_button;
- [GtkChild] protected unowned Revealer time_revealer;
- [GtkChild] protected unowned Revealer xbutton_revealer;
- [GtkChild] protected unowned Revealer top_row_revealer;
[GtkChild] protected unowned Image pinned_image;
[GtkChild] public unowned Revealer main_revealer;
@@ -98,9 +94,6 @@ public class ConversationSelectorRow : ListBoxRow {
last_content_item = stream_interactor.get_module(ContentItemStore.IDENTITY).get_latest(conversation);
- x_button.clicked.connect(() => {
- stream_interactor.get_module(ConversationManager.IDENTITY).close_conversation(conversation);
- });
picture.model = new ViewModel.CompatAvatarPictureModel(stream_interactor).set_conversation(conversation);
conversation.notify["read-up-to-item"].connect(() => update_read());
conversation.notify["pinned"].connect(() => { update_pinned_icon(); });
@@ -270,19 +263,6 @@ public class ConversationSelectorRow : ListBoxRow {
}
}
- public override void state_flags_changed(StateFlags flags) {
- StateFlags curr_flags = get_state_flags();
- if ((curr_flags & StateFlags.PRELIGHT) != 0) {
- time_revealer.set_reveal_child(false);
- top_row_revealer.set_reveal_child(false);
- xbutton_revealer.set_reveal_child(true);
- } else {
- time_revealer.set_reveal_child(true);
- top_row_revealer.set_reveal_child(true);
- xbutton_revealer.set_reveal_child(false);
- }
- }
-
private static Regex dino_resource_regex = /^dino\.[a-f0-9]{8}$/;
private Widget generate_tooltip() {