aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <1498135+alyssarosenzweig@users.noreply.github.com>2020-07-13 04:41:39 -0400
committerGitHub <noreply@github.com>2020-07-13 10:41:39 +0200
commit932140cdd4806398f3e48be76f76abb5ab1d550b (patch)
treee1ab497adfc147c0dcc27b3efa0ed4ad2dbf2d11 /main/src
parent6aa08a3282855efeedb54ae8add880015ec95408 (diff)
downloaddino-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>
Diffstat (limited to 'main/src')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector_row.vala2
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 {