[gnome-maps] placeStore: Remove a redundant field
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] placeStore: Remove a redundant field
- Date: Thu, 23 Jan 2014 13:11:32 +0000 (UTC)
commit a5ca2a0c83a829377ae4bf2ab2747c3cc81f1965
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Jan 23 13:10:49 2014 +0000
placeStore: Remove a redundant field
src/placeStore.js | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/placeStore.js b/src/placeStore.js
index 6a9cad5..9211543 100644
--- a/src/placeStore.js
+++ b/src/placeStore.js
@@ -53,7 +53,6 @@ const PlaceStore = new Lang.Class({
Extends: Gtk.ListStore,
_init: function() {
- this._dirty = false;
this.recentLimit = Application.settings.get('recent-places-limit');
this._numRecent = 0;
this.filename = GLib.build_filenamev([GLib.get_user_data_dir(),
@@ -136,9 +135,6 @@ const PlaceStore = new Lang.Class({
},
store: function() {
- if (!this._dirty)
- return;
-
let jsonArray = [];
this.foreach(function(model, path, iter) {
let place = model.get_value(iter, Columns.PLACE),
@@ -184,7 +180,6 @@ const PlaceStore = new Lang.Class({
}).bind(this));
}
this._typeTable[place.name] = type;
- this._dirty = true;
try {
this.store();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]