|
|
@ -38,7 +38,6 @@ const ExtensionUtils = imports.misc.extensionUtils; |
|
|
|
const Me = ExtensionUtils.getCurrentExtension(); |
|
|
|
const Me = ExtensionUtils.getCurrentExtension(); |
|
|
|
const Config = imports.misc.config; |
|
|
|
const Config = imports.misc.config; |
|
|
|
const Convenience = Me.imports.convenience; |
|
|
|
const Convenience = Me.imports.convenience; |
|
|
|
const Cairo = imports.cairo; |
|
|
|
|
|
|
|
const Clutter = imports.gi.Clutter; |
|
|
|
const Clutter = imports.gi.Clutter; |
|
|
|
const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); |
|
|
|
const Gettext = imports.gettext.domain('gnome-shell-extension-openweather'); |
|
|
|
const Gio = imports.gi.Gio; |
|
|
|
const Gio = imports.gi.Gio; |
|
|
@ -46,7 +45,6 @@ const Gtk = imports.gi.Gtk; |
|
|
|
const Lang = imports.lang; |
|
|
|
const Lang = imports.lang; |
|
|
|
const Mainloop = imports.mainloop; |
|
|
|
const Mainloop = imports.mainloop; |
|
|
|
const Soup = imports.gi.Soup; |
|
|
|
const Soup = imports.gi.Soup; |
|
|
|
const Shell = imports.gi.Shell; |
|
|
|
|
|
|
|
const St = imports.gi.St; |
|
|
|
const St = imports.gi.St; |
|
|
|
const Util = imports.misc.util; |
|
|
|
const Util = imports.misc.util; |
|
|
|
const _ = Gettext.gettext; |
|
|
|
const _ = Gettext.gettext; |
|
|
@ -681,9 +679,7 @@ const WeatherMenuButton = new Lang.Class({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_onLocationActivated: function(actor, event) { |
|
|
|
_onLocationActivated: function(actor, event) { |
|
|
|
log('in _onLocationActivated, this._actual_city vorher:' + this._actual_city); |
|
|
|
|
|
|
|
this._actual_city = actor.location; |
|
|
|
this._actual_city = actor.location; |
|
|
|
log('in _onLocationActivated, this._actual_city nachher:' + this._actual_city); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
extractLocation: function() { |
|
|
|
extractLocation: function() { |
|
|
|