mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 06:00:10 +00:00
set folder name tooltip
This commit is contained in:
parent
781bdc5d7a
commit
fe95335d12
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user