workspace-indicator: Remove some inactive code

This code has been commented out since it was added, presumably due to
difficulty in avoiding a cycle of reloading rows on settings changes
and writing settings on row changes.

Considering that the setting changing while the preference dialog is
up is extremely unlikely, don't bother with making it work and just
remove the dead code.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/91
This commit is contained in:
Florian Müllner
2019-08-21 15:13:43 +00:00
committed by Florian Müllner
parent c721121a2d
commit 91c9982d7f
-2
View File
@@ -23,8 +23,6 @@ class WorkspaceNameModel extends Gtk.ListStore {
};
this._settings = new Gio.Settings({ schema_id: WORKSPACE_SCHEMA });
//this._settings.connect('changed::workspace-names', this._reloadFromSettings.bind(this));
this._reloadFromSettings();
// overriding class closure doesn't work, because GtkTreeModel