mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
set folder name tooltip
This commit is contained in:
1 parent
781bdc5d7a
commit
fe95335d12
1 file changed
+4
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user