mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 00:14:14 +09:00
Merge pull request #52 from Farsx/master
Separator between sensors data and preferences
This commit is contained in:
@@ -170,6 +170,9 @@ CpuTemperature.prototype = {
|
||||
let _appSys = Shell.AppSystem.get_default();
|
||||
let _gsmPrefs = _appSys.lookup_app('gnome-shell-extension-prefs.desktop');
|
||||
|
||||
// separator
|
||||
section.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||
|
||||
let item = new PopupMenu.PopupMenuItem(_("Preferences..."));
|
||||
item.connect('activate', function () {
|
||||
if (_gsmPrefs.get_state() == _gsmPrefs.SHELL_APP_STATE_RUNNING){
|
||||
|
||||
Reference in New Issue
Block a user