Add missing semicolon and remove one unneded semicolon.

multiprovider
Jens Lody 11 years ago
parent 91c54f4662
commit f3b2ad4c3b
  1. 6
      src/extension.js
  2. 4
      src/prefs.js

@ -1249,7 +1249,7 @@ weather-storm.png = weather-storm-symbolic.svg
break;
case WeatherPressureUnits.hPa:
pressure = pressure.toFixed(this._decimal_places);;
pressure = pressure.toFixed(this._decimal_places);
pressure_unit = "hPa";
break;
@ -1448,7 +1448,7 @@ weather-storm.png = weather-storm-symbolic.svg
if (this._connected)
this.parseWeatherCurrent();
else
this.rebuildCurrentWeatherUi()
this.rebuildCurrentWeatherUi();
return true;
}));
},
@ -1580,7 +1580,7 @@ weather-storm.png = weather-storm-symbolic.svg
if (this._connected)
this.parseWeatherForecast();
else
this.rebuildFutureWeatherUi()
this.rebuildFutureWeatherUi();
return true;
}));
},

@ -112,7 +112,7 @@ const WeatherPrefsWidget = new GObject.Class({
this.treeview.set_model(this.liststore);
let column = new Gtk.TreeViewColumn()
let column = new Gtk.TreeViewColumn();
this.treeview.append_column(column);
let renderer = new Gtk.CellRendererText();
@ -304,7 +304,7 @@ const WeatherPrefsWidget = new GObject.Class({
let entry = new Gtk.Entry();
let completion = new Gtk.EntryCompletion();
entry.set_completion(completion);
let completionModel = new Gtk.ListStore;
let completionModel = new Gtk.ListStore();
completionModel.set_column_types([GObject.TYPE_STRING]);
completion.set_model(completionModel);
completion.set_text_column(0);

Loading…
Cancel
Save