File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ public class Defaults.Plug : Switchboard.SettingsPage {
5555 " inode/directory"
5656 );
5757
58+ var maps_setting = new SettingsChild (
59+ _(" Maps" ),
60+ " x-scheme-handler/geo"
61+ );
62+
5863 var flowbox = new Gtk .FlowBox () {
5964 column_spacing = 24 ,
6065 row_spacing = 12 ,
@@ -71,6 +76,7 @@ public class Defaults.Plug : Switchboard.SettingsPage {
7176 flowbox. append (text_setting);
7277 flowbox. append (videos_setting);
7378 flowbox. append (files_setting);
79+ flowbox. append (maps_setting);
7480
7581 child = flowbox;
7682 show_end_title_buttons = true ;
@@ -146,6 +152,9 @@ public class Defaults.Plug : Switchboard.SettingsPage {
146152
147153 private string [] get_types_for_app (string app ) {
148154 switch (app) {
155+ case " x-scheme-handler/geo" :
156+ return { " x-scheme-handler/geo" };
157+
149158 case " x-scheme-handler/https" :
150159 return {
151160 " x-scheme-handler/http" ,
You can’t perform that action at this time.
0 commit comments