From aff288ab08a4308c9e4e8144f8924fef1d30fc16 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Tue, 15 Oct 2013 06:38:27 +0200 Subject: [PATCH] Add me to the authors list and change uuid to "weather-extension@jenslody.de" --- AUTHORS | 3 ++- Makefile.am | 2 +- README.md | 7 ++++--- data/Makefile.am | 2 +- src/Makefile.am | 2 +- src/extension.js | 17 +++++++++-------- src/prefs.js | 7 ++++--- 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/AUTHORS b/AUTHORS index 1c35505..fd72553 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,4 +5,5 @@ Ecyrbe , Timur Kristóf , Simon Legner , Mattia Meneguzzo , -Christian Metzler +Christian Metzler , +Jens Lody diff --git a/Makefile.am b/Makefile.am index 680fafd..b7bce07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} SUBDIRS = src data po -uuid = "weather-extension@xeked.com" +uuid = "weather-extension@jenslody.de" localprefix = $(HOME)/.local/share/gnome-shell/extensions diff --git a/README.md b/README.md index 35572c3..6efa193 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Add the PPA *ppa:gnome-shell-extensions* to your source list, update the package sudo add-apt-repository ppa:gnome-shell-extensions sudo apt-get update sudo apt-get install gnome-shell-extension-weather - + ### [Fedora](http://rpmfusion.org/) Packages for Fedora are available in the [RPM Fusion](http://rpmfusion.org/) repositories. If these are not enabled on your system, please install them through the following command (root password required): @@ -49,7 +49,7 @@ Install *gnome-shell-extension-weather* with apt-rpm from Sisyphus: sudo apt-get update sudo apt-get install gnome-shell-extension-weather - + ## Generic Make sure you have the following dependencies installed: @@ -93,7 +93,8 @@ Copyright (C) 2011 - 2013 * Timur Kristóf , * Simon Legner , * Mattia Meneguzzo , -* Christian Metzler . +* Christian Metzler , +* Jens Lody . This file is part of *gnome-shell-extension-weather*. diff --git a/data/Makefile.am b/data/Makefile.am index caa9da2..2b70927 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -3,7 +3,7 @@ extensionurl = https://github.com/Neroth/gnome-shell-extension-weather # Change these to modify how installation is performed topextensiondir = $(datadir)/gnome-shell/extensions -uuid = weather-extension@xeked.com +uuid = weather-extension@jenslody.de extensiondir = $(topextensiondir)/$(uuid) diff --git a/src/Makefile.am b/src/Makefile.am index 4a4bb81..1f094be 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ # Change these to modify how installation is performed topextensiondir = $(datadir)/gnome-shell/extensions -uuid = weather-extension@xeked.com +uuid = weather-extension@jenslody.de extensiondir = $(topextensiondir)/$(uuid) diff --git a/src/extension.js b/src/extension.js index 7043cc2..4e490e9 100644 --- a/src/extension.js +++ b/src/extension.js @@ -12,7 +12,8 @@ * Christian METZLER , * Mark Benjamin weather.gnome.Markie1@dfgh.net, * Mattia Meneguzzo odysseus@fedoraproject.org, - * Meng Zhuo + * Meng Zhuo , + * Jens Lody * * * This file is part of gnome-shell-extension-weather. @@ -556,7 +557,7 @@ const WeatherMenuButton = new Lang.Class({ { let that = this; let cities = this._cities; - + cities = cities.split(" && "); if(cities && typeof cities == "string") cities = [cities]; @@ -605,7 +606,7 @@ const WeatherMenuButton = new Lang.Class({ }, _onPreferencesActivate : function() { - Util.spawn(["gnome-shell-extension-prefs","weather-extension@xeked.com"]); + Util.spawn(["gnome-shell-extension-prefs","weather-extension@jenslody.de"]); return 0; }, @@ -1014,7 +1015,7 @@ const WeatherMenuButton = new Lang.Class({ }, refreshWeather: function(recurse) - { + { if(!this.extractWoeid(this._city)) { this.updateCities(); @@ -1436,15 +1437,15 @@ const WeatherMenuButton = new Lang.Class({ this._currentWeatherSunset = new St.Label({ text: '-' }); this._currentWeatherBuild = new St.Label({ text: '-' }); - let ab = new St.BoxLayout({ - style_class: 'weather-current-infobox' + let ab = new St.BoxLayout({ + style_class: 'weather-current-infobox' }); ab.add_actor(this._sunriseIcon); ab.add_actor(this._currentWeatherSunrise); - ab.add_actor(this._sunsetIcon); + ab.add_actor(this._sunsetIcon); ab.add_actor(this._currentWeatherSunset); - ab.add_actor(this._buildIcon); + ab.add_actor(this._buildIcon); ab.add_actor(this._currentWeatherBuild); bb.add_actor(ab); diff --git a/src/prefs.js b/src/prefs.js index 0f843d5..ac9aa4c 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -1,11 +1,12 @@ /* * - * Weather extension for GNOME Shell preferences + * Weather extension for GNOME Shell preferences * - Creates a widget to set the preferences of the weather extension * - * Copyright (C) 2012 + * Copyright (C) 2012 - 2013 * Canek Peláez , * Christian METZLER , + * Jens Lody , * * This file is part of gnome-shell-extension-weather. * @@ -545,7 +546,7 @@ Extends: Gtk.Box, loadConfig : function() { let that = this; - this.Settings = Convenience.getSettings(WEATHER_SETTINGS_SCHEMA); + this.Settings = Convenience.getSettings(WEATHER_SETTINGS_SCHEMA); this.Settings.connect("changed", function(){that.refreshUI();}); },