Minors changes

yahoo_weather
Neroth 13 years ago
parent 9b2328ef41
commit de2f990537
  1. 4
      src/Makefile.am
  2. 6
      src/metadata.json.in
  3. 2
      src/weather-settings.js.in

@ -1,4 +1,4 @@
extensionurl = https://github.com/Neroth/gnome-shell-extension-weather
url = https://github.com/Neroth/gnome-shell-extension-weather
# Change these to modify how installation is performed
topextensiondir = $(datadir)/gnome-shell/extensions
@ -25,7 +25,7 @@ EXTRA_DIST = metadata.json.in weather-settings.js.in weather-settings.desktop.in
metadata.json: metadata.json.in $(top_builddir)/config.status
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
-e "s|[@]uuid@|$(uuid)|" \
-e "s|[@]url@|$(extensionurl)|" $< > $@
-e "s|[@]url@|$(url)|" $< > $@
weather-settings: weather-settings.js.in $(top_builddir)/config.status
$(AM_V_GEN) sed -e "s|[@]EXTENSIONDIR@|$(extensiondir)|" $< > $@

@ -1,8 +1,8 @@
{
"uuid": "@uuid@",
"name": "Weather indicator",
"description": "Adds weather information menu",
"shell-version": [ "3.1.90", "3.1.91", "3.1.92", "3.2", "3.3", "3.4" ],
"name": "Gnome Shell Extension Weather by Neroth",
"description": "A simple extension for displaying weather informations from several cities in GNOME Shell",
"shell-version": [ "3.2", "3.3", "3.4" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

@ -571,7 +571,7 @@ print(location);
var that = this;
this.Window = new Gtk.Builder();
this.Window.add_from_file("/usr/share/gnome-shell/extensions/weather@gnome-shell-extensions.gnome.org/weather-settings.ui");
this.Window.add_from_file("@EXTENSIONDIR@/weather-settings.ui");
this.Window.get_object("main-window").title = _("Weather Settings");

Loading…
Cancel
Save