Added separator between sensors data and preferences in the UI

This commit is contained in:
Alessandro Casale
2013-03-07 19:20:30 +01:00
parent b3e5617bf6
commit 2a609d48e9

View File

@@ -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){