network: Include the connection title in the sort string
The list of networks is sorted by connection type. If a user has e.g. a lot of VPN connections, then the unsorted list is hard to browse. To fix this, include the title of the connection in the sort order and ensure the list is kept sorted when a title is changed. Reported-by: Oliver Haessler <oliver@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=778685
This commit is contained in:
parent
f70ac1d863
commit
2c95c6a5d0
5 changed files with 62 additions and 23 deletions
|
@ -41,6 +41,8 @@ typedef struct _NetObjectPrivate NetObjectPrivate;
|
|||
typedef struct _NetObject NetObject;
|
||||
typedef struct _NetObjectClass NetObjectClass;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (NetObject, g_object_unref)
|
||||
|
||||
struct _NetObject
|
||||
{
|
||||
GObject parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue