mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix 3.36.1 prefs command
This commit is contained in:
@@ -1804,7 +1804,13 @@ var MyShowAppsIconMenu = Utils.defineClass({
|
||||
|
||||
let settingsMenuItem = this._appendMenuItem(_('Dash to Panel Settings'));
|
||||
settingsMenuItem.connect('activate', function () {
|
||||
Util.spawn(["gnome-shell-extension-prefs", Me.metadata.uuid]);
|
||||
let command = ["gnome-shell-extension-prefs"];
|
||||
|
||||
if (Config.PACKAGE_VERSION > '3.36') {
|
||||
command = ["gnome-extensions", "prefs"];
|
||||
}
|
||||
|
||||
Util.spawn(command.concat([Me.metadata.uuid]));
|
||||
});
|
||||
|
||||
if(this._source._dtpPanel) {
|
||||
|
||||
Reference in New Issue
Block a user