Minor style changes to typing notifications
* In typing notifications with 2 people, bold both names * Match the size of emotes
This commit is contained in:
parent
d62bcc2cbd
commit
79f02009d5
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue