|
|
@ -65,10 +65,6 @@ const WeatherPosition = { |
|
|
|
RIGHT: 1 |
|
|
|
RIGHT: 1 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function Open_Perference() { |
|
|
|
|
|
|
|
Util.spawn(["weather-extension-configurator"]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function WeatherMenuButton() { |
|
|
|
function WeatherMenuButton() { |
|
|
|
this._init(); |
|
|
|
this._init(); |
|
|
|
} |
|
|
|
} |
|
|
@ -172,8 +168,10 @@ WeatherMenuButton.prototype = { |
|
|
|
|
|
|
|
|
|
|
|
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); |
|
|
|
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); |
|
|
|
|
|
|
|
|
|
|
|
let item = new PopupMenu.PopupMenuItem("Preferences..."); |
|
|
|
let item = new PopupMenu.PopupMenuItem(_("Preferences...")); |
|
|
|
item.connect('activate', Open_Perference); |
|
|
|
item.connect('activate', function() { |
|
|
|
|
|
|
|
Util.spawn(["weather-extension-configurator"]); |
|
|
|
|
|
|
|
}); |
|
|
|
this.menu.addMenuItem(item); |
|
|
|
this.menu.addMenuItem(item); |
|
|
|
|
|
|
|
|
|
|
|
// Items
|
|
|
|
// Items
|
|
|
|