[gnome-notes] desktop: Fix desktop references
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] desktop: Fix desktop references
- Date: Fri, 3 Aug 2018 02:51:36 +0000 (UTC)
commit 272e30877ef14b25fb572ea7533be25c127262fa
Author: Isaque Galdino <igaldino gmail com>
Date: Thu Aug 2 23:48:44 2018 -0300
desktop: Fix desktop references
This commit changes all references done to org.gnome.bijiben.desktop and
replace them with org.gnome.Notes.desktop.
There were references in the meson post install script and in the search
provider executable which were breaking nightly builds.
This is part of #95 work.
build-aux/meson_post_install.py | 2 +-
data/org.gnome.bijiben-search-provider.ini | 2 +-
src/bijiben-shell-search-provider.c | 2 +-
src/libbiji/biji-zeitgeist.c | 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/build-aux/meson_post_install.py b/build-aux/meson_post_install.py
index 955d508..d27825a 100644
--- a/build-aux/meson_post_install.py
+++ b/build-aux/meson_post_install.py
@@ -15,7 +15,7 @@ if not os.environ.get('DESTDIR'):
print('Compile gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
- desktop_file = os.path.join(datadir, 'applications', 'org.gnome.bijiben.desktop')
+ desktop_file = os.path.join(datadir, 'applications', 'org.gnome.Notes.desktop')
print('Validate desktop file...')
subprocess.call(['desktop-file-validate', desktop_file])
diff --git a/data/org.gnome.bijiben-search-provider.ini b/data/org.gnome.bijiben-search-provider.ini
index b103eaa..c787a71 100644
--- a/data/org.gnome.bijiben-search-provider.ini
+++ b/data/org.gnome.bijiben-search-provider.ini
@@ -1,5 +1,5 @@
[Shell Search Provider]
-DesktopId=org.gnome.bijiben.desktop
+DesktopId=org.gnome.Notes.desktop
BusName=org.gnome.bijiben.SearchProvider
ObjectPath=/org/gnome/bijiben/SearchProvider
Version=2
diff --git a/src/bijiben-shell-search-provider.c b/src/bijiben-shell-search-provider.c
index 2fe30cd..77132d9 100644
--- a/src/bijiben-shell-search-provider.c
+++ b/src/bijiben-shell-search-provider.c
@@ -322,7 +322,7 @@ handle_activate_result (BijibenShellSearchProvider2 *skeleton,
g_application_hold (user_data);
- app = G_APP_INFO (g_desktop_app_info_new ("org.gnome.bijiben.desktop"));
+ app = G_APP_INFO (g_desktop_app_info_new ("org.gnome.Notes.desktop"));
context = gdk_display_get_app_launch_context (gdk_display_get_default ());
gdk_app_launch_context_set_timestamp (context, timestamp);
diff --git a/src/libbiji/biji-zeitgeist.c b/src/libbiji/biji-zeitgeist.c
index b4c8350..0106ad1 100644
--- a/src/libbiji/biji-zeitgeist.c
+++ b/src/libbiji/biji-zeitgeist.c
@@ -34,7 +34,7 @@ biji_zeitgeist_init (void)
log = zeitgeist_log_new ();
event = zeitgeist_event_new_full (
- NULL, NULL, "application://org.gnome.bijiben.desktop", NULL, NULL);
+ NULL, NULL, "application://org.gnome.Notes.desktop", NULL, NULL);
ptr_arr = g_ptr_array_new_with_free_func (g_object_unref);
g_ptr_array_add (ptr_arr, event);
@@ -96,7 +96,7 @@ check_insert_create_zeitgeist (BijiNoteObj *note)
templates = g_ptr_array_new_with_free_func (g_object_unref);
event = zeitgeist_event_new_full (ZEITGEIST_ZG_CREATE_EVENT,
NULL,
- "application://org.gnome.bijiben.desktop",
+ "application://org.gnome.Notes.desktop",
NULL, NULL);
subject = zeitgeist_subject_new ();
zeitgeist_subject_set_uri (subject, uri);
@@ -153,7 +153,7 @@ insert_zeitgeist (BijiNoteObj *note,
event = zeitgeist_event_new_full (zg_interpretation,
ZEITGEIST_ZG_USER_ACTIVITY,
- "application://org.gnome.bijiben.desktop",
+ "application://org.gnome.Notes.desktop",
"",
subject,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]