WIP
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
28438c5ea4
commit
645b53f71e
2 changed files with 1 additions and 3 deletions
|
@ -28,6 +28,6 @@ class Singularity.Ui.OutboundRow : Gtk.Box {
|
||||||
}
|
}
|
||||||
public void set_outbound(Outbound.Outbound outbound) {
|
public void set_outbound(Outbound.Outbound outbound) {
|
||||||
schema.label = outbound.type_name;
|
schema.label = outbound.type_name;
|
||||||
descr.label = outbound.name;
|
// descr.label = outbound.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,6 @@ class Singularity.Outbound.Outbound : Object, Json.Serializable {
|
||||||
// We can't use name `type` in vala
|
// We can't use name `type` in vala
|
||||||
public string type_name { get; construct set; default = ""; }
|
public string type_name { get; construct set; default = ""; }
|
||||||
public string tag { get; set; default = "proxy"; }
|
public string tag { get; set; default = "proxy"; }
|
||||||
public string name; // Not a property
|
|
||||||
|
|
||||||
public static Outbound parse_uri (string profile) throws UriError, ParseError {
|
public static Outbound parse_uri (string profile) throws UriError, ParseError {
|
||||||
Uri uri = null;
|
Uri uri = null;
|
||||||
|
@ -131,7 +130,6 @@ class Singularity.Outbound.Outbound : Object, Json.Serializable {
|
||||||
warning ("Unknown scheme %s", scheme);
|
warning ("Unknown scheme %s", scheme);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
outbound.name = name;
|
|
||||||
return outbound;
|
return outbound;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue