From a011b22d5aa7f4ae96ba9c3f6e9122aa771fea96 Mon Sep 17 00:00:00 2001 From: Neroth Date: Wed, 25 Jan 2012 21:57:04 +0100 Subject: [PATCH] Minor change --- src/extension.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/extension.js b/src/extension.js index b3a9535..7821066 100644 --- a/src/extension.js +++ b/src/extension.js @@ -126,9 +126,7 @@ WeatherMenuButton.prototype = { // Current weather this._currentWeather = new St.Bin({ style_class: 'current' }); // Future weather - this._futureWeather = new St.Bin({ style_class: 'forecast' /*, x_align: St.Align.START*/}); - // Setting button - this._settingWeather = new St.Bin({ style_class: 'setting' }); + this._futureWeather = new St.Bin({ style_class: 'forecast'}); // Putting the popup item together this.menu.addActor(this._currentWeather); @@ -169,7 +167,7 @@ WeatherMenuButton.prototype = { var that = this; var schema = WEATHER_SETTINGS_SCHEMA; if (Gio.Settings.list_schemas().indexOf(schema) == -1) - throw _("Schema \"%s\" not found.").format(schema); + throw _("Schema \"%s\" not found.").replace("%s",schema); this._settings = new Gio.Settings({ schema: schema }); this._settings.connect("changed",function(){that.refreshWeather(false);}); },