mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 00:14:14 +09:00
fixed a undeclared variable warning
This commit is contained in:
@@ -171,7 +171,7 @@ CpuTemperature.prototype = {
|
||||
let _appSys = Shell.AppSystem.get_default();
|
||||
let _gsmPrefs = _appSys.lookup_app('gnome-shell-extension-prefs.desktop');
|
||||
|
||||
item = new PopupMenu.PopupMenuItem(_("Preferences..."));
|
||||
let item = new PopupMenu.PopupMenuItem(_("Preferences..."));
|
||||
item.connect('activate', function () {
|
||||
if (_gsmPrefs.get_state() == _gsmPrefs.SHELL_APP_STATE_RUNNING){
|
||||
_gsmPrefs.activate();
|
||||
|
||||
Reference in New Issue
Block a user