From e27d63269d0b41fa8d5b5f0f2e4a9dc7de4b9ab9 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 11 Mar 2017 23:52:12 +0100 Subject: Move UI code into main dir --- libdino/src/ui/occupant_list_row.vala | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 libdino/src/ui/occupant_list_row.vala (limited to 'libdino/src/ui/occupant_list_row.vala') diff --git a/libdino/src/ui/occupant_list_row.vala b/libdino/src/ui/occupant_list_row.vala deleted file mode 100644 index 4dc7c0c5..00000000 --- a/libdino/src/ui/occupant_list_row.vala +++ /dev/null @@ -1,25 +0,0 @@ -using Gtk; - -using Dino.Entities; -using Xmpp; - -namespace Dino.Ui { - -[GtkTemplate (ui = "/org/dino-im/occupant_list_item.ui")] -public class OccupantListRow : ListBoxRow { - - [GtkChild] private Image image; - [GtkChild] public Label name_label; - - public OccupantListRow(StreamInteractor stream_interactor, Account account, Jid jid) { - name_label.label = Util.get_display_name(stream_interactor, jid, account); - Util.image_set_from_scaled_pixbuf(image, (new AvatarGenerator(30, 30, image.scale_factor)).draw_jid(stream_interactor, jid, account)); - //has_tooltip = true; - } - - public void on_presence_received(Presence.Stanza presence) { - - } -} - -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf