From 32529f49e3935b5f4fd747fcfe2d62322f86ec52 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 2 Sep 2013 14:45:32 +0200 Subject: [PATCH] preferences: remove location sources preferences Not used anymore with Geoclue 2. https://bugzilla.gnome.org/show_bug.cgi?id=706627 --- data/empathy.convert | 3 - data/org.gnome.Empathy.gschema.xml | 15 ----- libempathy/empathy-gsettings.h | 3 - src/empathy-preferences.c | 6 -- src/empathy-preferences.ui | 88 ------------------------------ 5 files changed, 115 deletions(-) diff --git a/data/empathy.convert b/data/empathy.convert index eabc9e48..e1e2ac29 100644 --- a/data/empathy.convert +++ b/data/empathy.convert @@ -54,8 +54,5 @@ close-main-window = /apps/empathy/hints/close_main_window [org.gnome.Empathy.location] publish = /apps/empathy/location/publish -resource-network = /apps/empathy/location/resource_network -resource-cell = /apps/empathy/location/resource_cell -resource-gps = /apps/empathy/location/resource_gps reduce-accuracy = /apps/empathy/location/reduce_accuracy diff --git a/data/org.gnome.Empathy.gschema.xml b/data/org.gnome.Empathy.gschema.xml index 9267cf84..f695431a 100644 --- a/data/org.gnome.Empathy.gschema.xml +++ b/data/org.gnome.Empathy.gschema.xml @@ -256,21 +256,6 @@ present them to the user immediately. Empathy can publish the user's location Whether Empathy can publish the user's location to their contacts. - - true - Empathy can use the network to guess the location - Whether Empathy can use the network to guess the location. - - - true - Empathy can use the cellular network to guess the location - Whether Empathy can use the cellular network to guess the location. - - - false - Empathy can use the GPS to guess the location - Whether Empathy can use the GPS to guess the location. - true Empathy should reduce the location's accuracy diff --git a/libempathy/empathy-gsettings.h b/libempathy/empathy-gsettings.h index 6f6fb3cf..5256ec0b 100644 --- a/libempathy/empathy-gsettings.h +++ b/libempathy/empathy-gsettings.h @@ -83,9 +83,6 @@ G_BEGIN_DECLS #define EMPATHY_PREFS_LOCATION_SCHEMA EMPATHY_PREFS_SCHEMA ".location" #define EMPATHY_PREFS_LOCATION_PUBLISH "publish" -#define EMPATHY_PREFS_LOCATION_RESOURCE_NETWORK "resource-network" -#define EMPATHY_PREFS_LOCATION_RESOURCE_CELL "resource-cell" -#define EMPATHY_PREFS_LOCATION_RESOURCE_GPS "resource-gps" #define EMPATHY_PREFS_LOCATION_REDUCE_ACCURACY "reduce-accuracy" #define EMPATHY_PREFS_LOGGER_SCHEMA "org.freedesktop.Telepathy.Logger" diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c index e37bc747..c05058b8 100644 --- a/src/empathy-preferences.c +++ b/src/empathy-preferences.c @@ -190,12 +190,6 @@ preferences_setup_widgets (EmpathyPreferences *preferences, BIND_ACTIVE (loc, LOCATION_PUBLISH, "checkbutton_location_publish"); - BIND_ACTIVE (loc, LOCATION_RESOURCE_NETWORK, - "checkbutton_location_resource_network"); - BIND_ACTIVE (loc, LOCATION_RESOURCE_CELL, - "checkbutton_location_resource_cell"); - BIND_ACTIVE (loc, LOCATION_RESOURCE_GPS, - "checkbutton_location_resource_gps"); BIND_ACTIVE (loc, LOCATION_REDUCE_ACCURACY, "checkbutton_location_reduce_accuracy"); diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui index 6e146d35..9aa204fe 100644 --- a/src/empathy-preferences.ui +++ b/src/empathy-preferences.ui @@ -833,94 +833,6 @@ 1 - - - True - False - 0 - none - - - True - False - 6 - 12 - - - True - False - vertical - - - _GPS - True - True - False - False - True - True - - - False - False - 0 - - - - - _Cellphone - True - True - False - False - True - True - True - - - False - False - 1 - - - - - _Network (IP, Wi-Fi) - True - True - False - False - True - True - True - - - False - False - 2 - - - - - - - - - True - False - Location sources: - - - - - - - - False - True - 2 - - 4 -- 2.39.2