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
This commit is contained in:
Jasper St. Pierre
2013-01-24 14:32:27 -05:00
parent f2ba49fa35
commit 5d1de33026
4 changed files with 2 additions and 27 deletions

View File

@ -822,7 +822,7 @@ const UserMenuButton = new Lang.Class({
_onMyAccountActivate: function() {
Main.overview.hide();
let app = Shell.AppSystem.get_default().lookup_setting('gnome-user-accounts-panel.desktop');
let app = Shell.AppSystem.get_default().lookup_app('gnome-user-accounts-panel.desktop');
app.activate();
},