forked from Neroth/gnome-shell-extension-weather
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add me to the authors list and change uuid to "weather-extension@jens…
…lody.de"
- Loading branch information
Jens Lody
committed
Oct 15, 2013
1 parent
109131c
commit aff288a
Showing
7 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ Ecyrbe <[email protected]>, | |
Timur Kristóf <[email protected]>, | ||
Simon Legner <[email protected]>, | ||
Mattia Meneguzzo <[email protected]>, | ||
Christian Metzler <[email protected]> | ||
Christian Metzler <[email protected]>, | ||
Jens Lody <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]>, | ||
* Simon Legner <[email protected]>, | ||
* Mattia Meneguzzo <[email protected]>, | ||
* Christian Metzler <[email protected]>. | ||
* Christian Metzler <[email protected]>, | ||
* Jens Lody <[email protected]>. | ||
|
||
This file is part of *gnome-shell-extension-weather*. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ | |
* Christian METZLER <[email protected]>, | ||
* Mark Benjamin [email protected], | ||
* Mattia Meneguzzo [email protected], | ||
* Meng Zhuo <[email protected]> | ||
* Meng Zhuo <[email protected]>, | ||
* Jens Lody <[email protected]> | ||
* | ||
* | ||
* 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); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>, | ||
* Christian METZLER <[email protected]>, | ||
* Jens Lody <[email protected]>, | ||
* | ||
* 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();}); | ||
}, | ||
|
||
|