diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2019-01-05 13:19:26 +0100 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@posteo.net> | 2019-03-17 01:00:28 +0000 |
commit | 8061c1929caf99bce9a5f13df5d6d644baa01abd (patch) | |
tree | c34833e24ca0d80fecd68c7cdd5f574d5304fcd0 /src/search-provider | |
parent | c143681d5cf17424a12beea1ab8dda0bc2ec201c (diff) | |
download | epiphany-8061c1929caf99bce9a5f13df5d6d644baa01abd.tar.gz |
Enable co-existing of Epiphany Tech Preview with stable version
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/20
Diffstat (limited to 'src/search-provider')
-rw-r--r-- | src/search-provider/ephy-search-provider.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/search-provider/ephy-search-provider.c b/src/search-provider/ephy-search-provider.c index e7422e640..18512fae0 100644 --- a/src/search-provider/ephy-search-provider.c +++ b/src/search-provider/ephy-search-provider.c @@ -196,7 +196,7 @@ handle_get_result_metas (EphyShellSearchProvider2 *skeleton, "name", g_variant_new_take_string (g_strdup_printf (_("Search the web for ā%sā"), results[i] + strlen ("special:search:")))); g_variant_builder_add (&builder, "{sv}", - "gicon", g_variant_new_string ("org.gnome.Epiphany")); + "gicon", g_variant_new_string (APPLICATION_ID)); g_variant_builder_close (&builder); } else { EphySuggestion *suggestion; @@ -421,7 +421,9 @@ ephy_search_provider_class_init (EphySearchProviderClass *klass) EphySearchProvider * ephy_search_provider_new (void) { + g_autofree gchar *app_id = g_strconcat (APPLICATION_ID, ".SearchProvider", NULL); + return g_object_new (EPHY_TYPE_SEARCH_PROVIDER, - "application-id", "org.gnome.Epiphany.SearchProvider", + "application-id", app_id, NULL); } |