diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-21 14:19:21 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-04-21 14:19:21 -0400 |
commit | 2dab59547617f7830a4fecd3de380396b47de33f (patch) | |
tree | b00e8813d1333873ddaa602d176b466a530a7c16 /src/components/channeltabswitcherhandy.cpp | |
parent | a98967fccccfcddaffb3d61023a0224ea646d685 (diff) | |
download | abaddon-portaudio-2dab59547617f7830a4fecd3de380396b47de33f.tar.gz abaddon-portaudio-2dab59547617f7830a4fecd3de380396b47de33f.zip |
add open dm in new tab
Diffstat (limited to 'src/components/channeltabswitcherhandy.cpp')
-rw-r--r-- | src/components/channeltabswitcherhandy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/channeltabswitcherhandy.cpp b/src/components/channeltabswitcherhandy.cpp index e359896..a9d2aef 100644 --- a/src/components/channeltabswitcherhandy.cpp +++ b/src/components/channeltabswitcherhandy.cpp @@ -49,7 +49,7 @@ void ChannelTabSwitcherHandy::AddChannelTab(Snowflake id) { auto *dummy = Gtk::make_managed<Gtk::Box>(); // minimal auto *page = hdy_tab_view_append(m_tab_view, GTK_WIDGET(dummy->gobj())); - hdy_tab_page_set_title(page, ("#" + *channel->Name).c_str()); + hdy_tab_page_set_title(page, channel->GetDisplayName().c_str()); hdy_tab_page_set_tooltip(page, nullptr); m_pages[id] = page; |