Use https:// by default for links
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
This commit is contained in:
parent
8969d175b2
commit
f283630569
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue