Package: tsclient
Version: 0.150-4
Severity: normal
The "Quick Connect" pull down menu is not sorted when it is
displayed. This becomes a huge problem when you have more then 5
systems that you RDP/VNC to, especially if you're a sys admin.
I have attached a patch that fixes this. Feel free to improve the
patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 3.0.0-1-powerpc-smp (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tsclient depends on:
ii libatk1.0-0 2.2.0-2
ii libbonobo2-0 2.24.3-1
ii libbonoboui2-0 2.24.3-1
ii libc6 2.13-23
ii libglib2.0-0 2.30.2-4
ii libgnomeui-0 2.24.5-2
ii libgtk2.0-0 2.24.8-2
ii libpanel-applet2-0 2.30.2-4+b1
ii rdesktop 1.7.0-1
tsclient recommends no packages.
Versions of packages tsclient suggests:
ii xnest <none>
ii xvnc4viewer [vnc-viewer] 4.1.1+X4.3.0-37
-- no debconf information
--- ./src/rdpfile.c.orig 2011-12-28 15:40:08.000000000 -0500
+++ ./src/rdpfile.c 2011-12-28 15:44:03.000000000 -0500
@@ -1009,6 +1009,14 @@
g_free (tmp_name);
}
g_dir_close (dir);
+
+ /**
+ * 2011-12-28 Mehul Sanghvi <[email protected]>
+ * now that the list is created, sort it
+ * so Quick Launcher displays it properly.
+ **/
+ *list = g_slist_sort(*list, (GCompareFunc)g_ascii_strcasecmp);
+
}
/***************************************