Commit 79f02009 authored by Christopher Davis's avatar Christopher Davis Committed by Alexandre Franke

Minor style changes to typing notifications

* In typing notifications with 2 people, bold both names
* Match the size of emotes
parent d62bcc2c
Pipeline #68382 passed with stages
in 26 minutes and 30 seconds
......@@ -540,7 +540,7 @@ impl AppOp {
} else {
let typing_string = ni18n_f(
"<b>{}</b> is typing…",
"<b>{}</b> and {} are typing…",
"<b>{}</b> and <b>{}</b> are typing…",
typing_users.len() as u32,
typing_users
.iter()
......
......@@ -71,10 +71,10 @@ impl Widgets {
let typing_label = gtk::Label::new(None);
typing_label.show();
typing_label
.get_style_context()
.unwrap()
.add_class("typing_label");
typing_label.get_style_context().map(|ctx| {
ctx.add_class("typing_label");
ctx.add_class("small-font");
});
typing_label.set_xalign(0.0);
typing_label.set_property_wrap(true);
typing_label.set_property_wrap_mode(pango::WrapMode::WordChar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment