[geary] Use https:// by default for links
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Use https:// by default for links
- Date: Fri, 20 Oct 2017 05:09:25 +0000 (UTC)
commit f283630569756a9f670db9a05ea7618afbafdb17
Author: Niels De Graef <nielsdegraef gmail com>
Date: Thu Sep 28 12:35:45 2017 +0200
Use https:// by default for links
Signed-off-by: Niels De Graef <nielsdegraef gmail com>
src/client/composer/composer-widget.vala | 2 +-
ui/composer-link-popover.ui | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 509ab5b..b12ff01 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -2272,7 +2272,7 @@ public class ComposerWidget : Gtk.EventBox {
private void on_insert_link(SimpleAction action, Variant? param) {
ComposerLinkPopover.Type type = ComposerLinkPopover.Type.NEW_LINK;
- string url = "http://";
+ string url = "https://";
if (this.cursor_url != null) {
type = ComposerLinkPopover.Type.EXISTING_LINK;
url = this.cursor_url;
diff --git a/ui/composer-link-popover.ui b/ui/composer-link-popover.ui
index 24d71d2..56bb757 100644
--- a/ui/composer-link-popover.ui
+++ b/ui/composer-link-popover.ui
@@ -23,7 +23,7 @@
<property name="width_chars">40</property>
<property name="primary_icon_activatable">False</property>
<property name="secondary_icon_activatable">False</property>
- <property name="placeholder_text">http://</property>
+ <property name="placeholder_text">https://</property>
<property name="input_purpose">url</property>
<signal name="activate" handler="on_activate_popover" swapped="no"/>
<signal name="changed" handler="on_url_changed" swapped="no"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]