mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
friends: bold name & fix missing method
This commit is contained in:
@@ -122,7 +122,7 @@ FriendsListFriendRow::FriendsListFriendRow(RelationshipType type, const UserData
|
||||
auto *ev = Gtk::manage(new Gtk::EventBox);
|
||||
auto *box = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_HORIZONTAL));
|
||||
auto *img = Gtk::manage(new LazyImage(32, 32, true));
|
||||
auto *namelbl = Gtk::manage(new Gtk::Label(Name, Gtk::ALIGN_START));
|
||||
auto *namelbl = Gtk::manage(new Gtk::Label("", Gtk::ALIGN_START));
|
||||
m_status_lbl = Gtk::manage(new Gtk::Label("", Gtk::ALIGN_START));
|
||||
auto *lblbox = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
|
||||
@@ -136,6 +136,8 @@ FriendsListFriendRow::FriendsListFriendRow(RelationshipType type, const UserData
|
||||
img->SetURL(data.GetAvatarURL("png", "32"));
|
||||
}
|
||||
|
||||
namelbl->set_markup(data.GetEscapedBoldName());
|
||||
|
||||
UpdatePresenceLabel();
|
||||
|
||||
AddWidgetMenuHandler(ev, m_menu, [this] {
|
||||
@@ -209,6 +211,10 @@ FriendsListFriendRow::type_signal_remove FriendsListFriendRow::signal_action_rem
|
||||
return m_signal_remove;
|
||||
}
|
||||
|
||||
FriendsListFriendRow::type_signal_accept FriendsListFriendRow::signal_action_accept() {
|
||||
return type_signal_accept();
|
||||
}
|
||||
|
||||
FriendsListWindow::FriendsListWindow() {
|
||||
add(m_friends);
|
||||
set_default_size(500, 500);
|
||||
|
||||
Reference in New Issue
Block a user