Allow reordering of entries in the settings dialog via drag and drop

This commit is contained in:
Juergen Spitzmueller 2017-11-21 19:13:08 +01:00
parent 2a053cf4ea
commit 5a586e8d6f

View File

@ -124,6 +124,7 @@ const TeaTimePrefsWidget = new Lang.Class({
model: this._tealist,
expand: true
});
this.treeview.set_reorderable(true);
this.treeview.get_selection().set_mode(Gtk.SelectionMode.MULTIPLE);
this.attach(this.treeview, 0, curRow, 3, 1);
curRow += 1;