summaryrefslogtreecommitdiff
path: root/src/nautilus-shell-search-provider.c
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-16 17:24:11 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-18 22:28:08 +0200
commitdf583c2e4aded65da329a9e14279be40d9c397f2 (patch)
tree224287e6f8378eca5b97814a3019f4696d0c7d48 /src/nautilus-shell-search-provider.c
parent30a76b3033af7d937380c3c77a2665bf979e4bc9 (diff)
downloadnautilus-df583c2e4aded65da329a9e14279be40d9c397f2.tar.gz
general: Allow running in separate instance
When hacking on Nautilus, it is very inconvenient to have to close any running instance before running the built version. This commit enables running three different instances by changing the application ID. Beside the default “profile” is one crafted for stable flatpak releases and one for development. The stable flatpak profile adds an identifying mark to the about dialog to aid collecting information in bug reports. The development profile is that plus additional styling to help visually identify the development instance. It also will be used when generating Flatpak bundles with the help of CI. Generally, the implementation is slightly hacky to allow all the different workflows, spanning from regular installations to GNOME Builder flatpak builds, as each comes with its own quirks.
Diffstat (limited to 'src/nautilus-shell-search-provider.c')
-rw-r--r--src/nautilus-shell-search-provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index cdadc08d3..56e26e431 100644
--- a/src/nautilus-shell-search-provider.c
+++ b/src/nautilus-shell-search-provider.c
@@ -779,7 +779,7 @@ nautilus_shell_search_provider_register (NautilusShellSearchProvider *self,
{
return g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (self->skeleton),
connection,
- "/org/gnome/Nautilus/SearchProvider", error);
+ "/org/gnome/Nautilus" PROFILE "/SearchProvider", error);
}
void