[gnome-shell] app-system: Remove last real use of shell_app_get_tree_entry
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] app-system: Remove last real use of shell_app_get_tree_entry
- Date: Sun, 12 May 2013 18:46:09 +0000 (UTC)
commit c72ae375c83834ad11b45466b3647e56a8b656dd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 8 22:46:31 2013 -0500
app-system: Remove last real use of shell_app_get_tree_entry
We want to replace our GMenuTreeEntries with GDesktopAppInfos
https://bugzilla.gnome.org/show_bug.cgi?id=698486
src/shell-app-system.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 03648f9..6a96e0c 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -471,7 +471,7 @@ shell_app_system_lookup_app_for_path (ShellAppSystem *system,
if (!app)
return NULL;
- app_path = gmenu_tree_entry_get_desktop_file_path (shell_app_get_tree_entry (app));
+ app_path = g_desktop_app_info_get_filename (shell_app_get_app_info (app));
if (strcmp (desktop_path, app_path) != 0)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]