diff options
author | Alyssa Rosenzweig <1498135+alyssarosenzweig@users.noreply.github.com> | 2020-07-13 04:41:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 10:41:39 +0200 |
commit | 932140cdd4806398f3e48be76f76abb5ab1d550b (patch) | |
tree | e1ab497adfc147c0dcc27b3efa0ed4ad2dbf2d11 | |
parent | 6aa08a3282855efeedb54ae8add880015ec95408 (diff) | |
download | dino-932140cdd4806398f3e48be76f76abb5ab1d550b.tar.gz dino-932140cdd4806398f3e48be76f76abb5ab1d550b.zip |
dino: Center phone/laptop icon in tooltip (#878)
So it lines up nicely with the text instead of being awkwardly raised
above the text.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector_row.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index 665e49ca..7ad485a3 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -272,7 +272,7 @@ public class ConversationSelectorRow : ListBoxRow { if (show == null) continue; Xep.ServiceDiscovery.Identity? identity = stream_interactor.get_module(EntityInfo.IDENTITY).get_identity(conversation.account, full_jid); - Image image = new Image() { hexpand=false, valign=Align.START, visible=true }; + Image image = new Image() { hexpand=false, valign=Align.CENTER, visible=true }; if (identity != null && (identity.type_ == Xep.ServiceDiscovery.Identity.TYPE_PHONE || identity.type_ == Xep.ServiceDiscovery.Identity.TYPE_TABLET)) { image.set_from_icon_name("dino-device-phone-symbolic", IconSize.SMALL_TOOLBAR); } else { |