feat: mark profile stats row as not activatable

This commit is contained in:
Evangelos Paterakis 2022-12-02 16:59:04 +02:00
parent 6ab7f1b9d8
commit 727e04f4ac
No known key found for this signature in database
GPG Key ID: FE5185F095BFC8C9
1 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,7 @@ public class Tooth.Views.Profile : Views.Timeline {
}
protected void build_profile_stats(ListBox info) {
var row = new Gtk.ListBoxRow ();
var box = new Box (Orientation.HORIZONTAL, 6) {
homogeneous = true
};
@ -85,7 +86,9 @@ public class Tooth.Views.Profile : Views.Timeline {
box.append(build_profile_stats_button(@"$(profile.following_count) " + _("Following"), "following"));
box.append(build_profile_stats_button(@"$(profile.followers_count) " + _("Followers"), "followers"));
info.append (box);
row.activatable = false;
row.child = box;
info.append (row);
}
protected Button build_profile_stats_button(string btn_label, string t_source) {