|
|
@ -28,24 +28,20 @@ |
|
|
|
* |
|
|
|
* |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
const GLib = imports.gi.GLib; |
|
|
|
const Cairo = imports.cairo; |
|
|
|
|
|
|
|
const Gettext = imports.gettext.domain('gnome-shell-extension-weather'); |
|
|
|
const Gio = imports.gi.Gio; |
|
|
|
const Gio = imports.gi.Gio; |
|
|
|
const Gtk = imports.gi.Gtk; |
|
|
|
const Gtk = imports.gi.Gtk; |
|
|
|
|
|
|
|
const Json = imports.gi.Json; |
|
|
|
const Lang = imports.lang; |
|
|
|
const Lang = imports.lang; |
|
|
|
const Mainloop = imports.mainloop; |
|
|
|
const Mainloop = imports.mainloop; |
|
|
|
const Cairo = imports.cairo; |
|
|
|
const Soup = imports.gi.Soup; |
|
|
|
const Clutter = imports.gi.Clutter; |
|
|
|
|
|
|
|
const Shell = imports.gi.Shell; |
|
|
|
|
|
|
|
const St = imports.gi.St; |
|
|
|
const St = imports.gi.St; |
|
|
|
const Gettext = imports.gettext.domain('gnome-shell-extension-weather'); |
|
|
|
|
|
|
|
const _ = Gettext.gettext; |
|
|
|
const _ = Gettext.gettext; |
|
|
|
|
|
|
|
|
|
|
|
const Json = imports.gi.Json; |
|
|
|
|
|
|
|
const Main = imports.ui.main; |
|
|
|
const Main = imports.ui.main; |
|
|
|
const PanelMenu = imports.ui.panelMenu; |
|
|
|
const PanelMenu = imports.ui.panelMenu; |
|
|
|
const PopupMenu = imports.ui.popupMenu; |
|
|
|
const PopupMenu = imports.ui.popupMenu; |
|
|
|
const Soup = imports.gi.Soup; |
|
|
|
|
|
|
|
const Util = imports.misc.util; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Settings
|
|
|
|
// Settings
|
|
|
|
const WEATHER_SETTINGS_SCHEMA = 'org.gnome.shell.extensions.weather'; |
|
|
|
const WEATHER_SETTINGS_SCHEMA = 'org.gnome.shell.extensions.weather'; |
|
|
|