summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-11-10 01:00:53 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2020-11-10 01:00:53 -0500
commit823e1786e016a0dce58ffda0506608f2a2fce932 (patch)
treec623ab36ace43afc84b9b3510624087463814e6a /components
parent976e6533931a79c8275ecb34ccd7705461a66d31 (diff)
downloadabaddon-portaudio-823e1786e016a0dce58ffda0506608f2a2fce932.tar.gz
abaddon-portaudio-823e1786e016a0dce58ffda0506608f2a2fce932.zip
ui workarounds
Diffstat (limited to 'components')
-rw-r--r--components/chatmessage.cpp2
-rw-r--r--components/chatwindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/chatmessage.cpp b/components/chatmessage.cpp
index 78a6510..f528e37 100644
--- a/components/chatmessage.cpp
+++ b/components/chatmessage.cpp
@@ -186,7 +186,7 @@ void ChatMessageItemContainer::UpdateTextComponent(Gtk::TextView *tv) {
b->get_bounds(s, e);
switch (data->Type) {
case MessageType::DEFAULT:
- b->insert_markup(s, Glib::Markup::escape_text(data->Content));
+ b->insert(s, data->Content);
HandleUserMentions(tv);
HandleLinks(tv);
HandleChannelMentions(tv);
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp
index c480b51..d447177 100644
--- a/components/chatwindow.cpp
+++ b/components/chatwindow.cpp
@@ -32,7 +32,7 @@ ChatWindow::ChatWindow() {
});
m_scroll->set_can_focus(false);
- m_scroll->set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_ALWAYS);
+ m_scroll->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS);
m_list->signal_size_allocate().connect([this](Gtk::Allocation &) {
if (m_should_scroll_to_bottom)