[bijiben] Fix wrong references to bijiben desktop file
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] Fix wrong references to bijiben desktop file
- Date: Mon, 24 Apr 2017 07:20:15 +0000 (UTC)
commit 3ecf0c421564ab13064cf34a8272ca14da671a05
Author: Laurent Bigonville <bigon bigon be>
Date: Mon Apr 24 11:29:07 2017 +0800
Fix wrong references to bijiben desktop file
Currently, some references to desktop file are written as
"bijiben.desktop". While the desktop file in this project is named as
"org.gnome.bijiben.desktop".
Fix that by changing these references in the search provider and
zeitgeist part.
https://bugzilla.gnome.org/show_bug.cgi?id=781106
data/org.gnome.bijiben-search-provider.ini | 4 ++--
src/bijiben-shell-search-provider.c | 2 +-
src/libbiji/biji-zeitgeist.c | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/org.gnome.bijiben-search-provider.ini b/data/org.gnome.bijiben-search-provider.ini
index f9f60ce..b103eaa 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=bijiben.desktop
+DesktopId=org.gnome.bijiben.desktop
BusName=org.gnome.bijiben.SearchProvider
ObjectPath=/org/gnome/bijiben/SearchProvider
-Version=2
\ No newline at end of file
+Version=2
diff --git a/src/bijiben-shell-search-provider.c b/src/bijiben-shell-search-provider.c
index 0df1732..39b06b5 100644
--- a/src/bijiben-shell-search-provider.c
+++ b/src/bijiben-shell-search-provider.c
@@ -325,7 +325,7 @@ handle_activate_result (BijibenShellSearchProvider2 *skeleton,
g_application_hold (user_data);
- app = G_APP_INFO (g_desktop_app_info_new ("bijiben.desktop"));
+ app = G_APP_INFO (g_desktop_app_info_new ("org.gnome.bijiben.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 75da189..b4c8350 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://bijiben.desktop", NULL, NULL);
+ NULL, NULL, "application://org.gnome.bijiben.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://bijiben.desktop",
+ "application://org.gnome.bijiben.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://bijiben.desktop",
+ "application://org.gnome.bijiben.desktop",
"",
subject,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]