Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/Defaults/DefaultPlug.vala
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public class Defaults.Plug : Switchboard.SettingsPage {
"inode/directory"
);

var maps_setting = new SettingsChild (
_("Maps"),
"x-scheme-handler/geo"
);

var flowbox = new Gtk.FlowBox () {
column_spacing = 24,
row_spacing = 12,
Expand All @@ -71,6 +76,7 @@ public class Defaults.Plug : Switchboard.SettingsPage {
flowbox.append (text_setting);
flowbox.append (videos_setting);
flowbox.append (files_setting);
flowbox.append (maps_setting);

child = flowbox;
show_end_title_buttons = true;
Expand Down Expand Up @@ -146,6 +152,9 @@ public class Defaults.Plug : Switchboard.SettingsPage {

private string[] get_types_for_app (string app) {
switch (app) {
case "x-scheme-handler/geo":
return { "x-scheme-handler/geo" };

case "x-scheme-handler/https":
return {
"x-scheme-handler/http",
Expand Down