Support for gnome-shell 3.2

yahoo_weather
Jean-Philippe Braun 13 years ago committed by Simon Legner
parent 99659e1d39
commit 71eb5f06c6
  1. 2
      configure.ac
  2. 14
      src/extension.js

@ -1,6 +1,6 @@
AC_PREREQ(2.63)
dnl be carefull, the version needs to be in sync with your gnome shell version
AC_INIT([gnome-shell-extension-weather],[3.0],[https://github.com/ecyrbe/gnome-shell-extension-weather/issues])
AC_INIT([gnome-shell-extension-weather],[3.1.90],[https://github.com/ecyrbe/gnome-shell-extension-weather/issues])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])

@ -704,8 +704,18 @@ WeatherMenuButton.prototype = {
}
};
function main() {
this._weatherMenu = new WeatherMenuButton();
let weatherMenu;
function init() {
}
function enable() {
weatherMenu = new WeatherMenuButton();
Main.panel.addToStatusArea('weatherMenu', weatherMenu);
}
function disable() {
weatherMenu.destroy();
}
// vim:set ts=4 sw=4 et:

Loading…
Cancel
Save