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:
committed by
Florian Müllner
parent
c721121a2d
commit
91c9982d7f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user