[polari] joinDialog: Remove obsolete comment
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] joinDialog: Remove obsolete comment
- Date: Thu, 4 Apr 2019 18:35:47 +0000 (UTC)
commit 509a0ceb92e08721831b1825f57b4828ee5268b8
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Apr 4 02:28:05 2019 +0200
joinDialog: Remove obsolete comment
There used to be a vague idea about sorting networks by recency,
frequency or similar, mostly to make it more likely that the
desired network is selected when the dialog is opened.
This was addressed differently by remembering the last used network,
so this is no longer an issue. And the predictable alphabetical order
used now likely makes most sense.
https://gitlab.gnome.org/GNOME/polari/merge_requests/109
src/joinDialog.js | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/joinDialog.js b/src/joinDialog.js
index 17613ac..70cd220 100644
--- a/src/joinDialog.js
+++ b/src/joinDialog.js
@@ -185,7 +185,6 @@ var JoinDialog = GObject.registerClass({
this._connectionCombo.remove_all();
let names = [...this._accounts.keys()].sort((a, b) => {
- // TODO: figure out combo box sorting
return (a < b) ? -1 : ((a > b) ? 1 : 0);
});
for (let i = 0; i < names.length; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]