set folder name tooltip

This commit is contained in:
ouwou 2024-01-09 00:26:40 -05:00
parent 781bdc5d7a
commit fe95335d12

View File

@ -35,6 +35,10 @@ void GuildListFolderButton::SetGuilds(const std::vector<Snowflake> &guild_ids) {
GuildListFolderItem::GuildListFolderItem(const UserSettingsGuildFoldersEntry &folder) {
get_style_context()->add_class("classic-guild-folder");
if (folder.Name.has_value()) {
set_tooltip_text(*folder.Name);
}
m_revealer.add(m_box);
m_revealer.set_reveal_child(false);