diff options
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/ui/contact_details/settings_provider.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/contact_details/settings_provider.vala b/main/src/ui/contact_details/settings_provider.vala index 6c43dbfd..8121e5b1 100644 --- a/main/src/ui/contact_details/settings_provider.vala +++ b/main/src/ui/contact_details/settings_provider.vala @@ -50,7 +50,7 @@ public class SettingsProvider : Plugins.ContactDetailsProvider, Object { combobox.changed.connect(() => { conversation.notify_setting = get_notify_setting(combobox.active_id); } ); } - Switch pinned_switch = new Switch(); + Switch pinned_switch = new Switch() { valign=Align.CENTER }; string category = conversation.type_ == Conversation.Type.GROUPCHAT ? DETAILS_HEADLINE_ROOM : DETAILS_HEADLINE_CHAT; contact_details.add(category, _("Pin conversation"), _("Pins the conversation to the top of the conversation list"), pinned_switch); pinned_switch.state = conversation.pinned != 0; |