diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-01-24 14:32:27 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-01-26 19:56:01 -0500 |
commit | 5d1de3302636526677faf5e2ba38b1b1e029ecbe (patch) | |
tree | e01c0ba2b8ceb298a5749155236e5b5799d1dfe6 /src/shell-app-system.c | |
parent | f2ba49fa353b4c87068000d91e0698648a0adbc9 (diff) |
Use the standard apps tree for gnome-control-center panels desktop files
gnome-control-center is planning on removing its own tree in the
future. Since it already installs these applications into
/usr/share/applications, just use this for now.
https://bugzilla.gnome.org/show_bug.cgi?id=692483
Diffstat (limited to 'src/shell-app-system.c')
-rw-r--r-- | src/shell-app-system.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/shell-app-system.c b/src/shell-app-system.c index eb008d2f..61e86f53 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -458,27 +458,6 @@ shell_app_system_get_tree (ShellAppSystem *self) } /** - * shell_app_system_lookup_setting: - * @system: - * @id: desktop file id - * - * Returns: (transfer none): Application in gnomecc.menu, or %NULL if none - */ -ShellApp * -shell_app_system_lookup_setting (ShellAppSystem *self, - const char *id) -{ - ShellApp *app; - - /* Actually defer to the main app set if there's overlap */ - app = shell_app_system_lookup_app (self, id); - if (app != NULL) - return app; - - return g_hash_table_lookup (self->priv->setting_id_to_app, id); -} - -/** * shell_app_system_get_default: * * Return Value: (transfer none): The global #ShellAppSystem singleton |