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:
@ -889,7 +889,7 @@ const PopupMenuBase = new Lang.Class({
|
||||
|
||||
addSettingsAction: function(title, desktopFile) {
|
||||
let menuItem = this.addAction(title, function() {
|
||||
let app = Shell.AppSystem.get_default().lookup_setting(desktopFile);
|
||||
let app = Shell.AppSystem.get_default().lookup_app(desktopFile);
|
||||
|
||||
if (!app) {
|
||||
log('Settings panel for desktop file ' + desktopFile + ' could not be loaded!');
|
||||
|
Reference in New Issue
Block a user