diff -Nru pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/debian/changelog pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/debian/changelog --- pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/debian/changelog 2018-03-24 22:01:41.000000000 +0000 +++ pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/debian/changelog 2018-05-03 19:47:08.000000000 +0000 @@ -1,8 +1,8 @@ -pantheon-agent-polkit (0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1) xenial; urgency=low +pantheon-agent-polkit (0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1) xenial; urgency=low * Auto build. - -- Launchpad Package Builder Sat, 24 Mar 2018 22:01:41 +0000 + -- Launchpad Package Builder Thu, 03 May 2018 19:47:08 +0000 pantheon-agent-polkit (0.1.4) xenial; urgency=medium diff -Nru pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/debian/git-build-recipe.manifest pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/debian/git-build-recipe.manifest --- pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/debian/git-build-recipe.manifest 2018-03-24 22:01:41.000000000 +0000 +++ pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/debian/git-build-recipe.manifest 2018-05-03 19:47:08.000000000 +0000 @@ -1,3 +1,3 @@ -# git-build-recipe format 0.4 deb-version {debversion}+r101+pkg9+r1~daily -lp:~elementary-apps/elementaryos/+git/pantheon-agent-polkit git-commit:98d7a9ba00c95f5ab48fcb205eba286717e6c2a2 +# git-build-recipe format 0.4 deb-version {debversion}+r102+pkg9+r1~daily +lp:~elementary-apps/elementaryos/+git/pantheon-agent-polkit git-commit:74220310c3ee287015be0ea99fe0c860048d4dc2 nest-part packaging lp:~elementary-apps/elementaryos/+git/pantheon-agent-polkit debian debian git-commit:c06246c3ded8eb5be905a93529c5bfdfb3f8edc9 diff -Nru pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/src/PolkitDialog.vala pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/src/PolkitDialog.vala --- pantheon-agent-polkit-0.1.4+r101+pkg9+r1~daily~ubuntu16.04.1/src/PolkitDialog.vala 2018-03-24 22:01:41.000000000 +0000 +++ pantheon-agent-polkit-0.1.4+r102+pkg9+r1~daily~ubuntu0.4.1.1/src/PolkitDialog.vala 2018-05-03 19:47:08.000000000 +0000 @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2015-2016 elementary LLC. + * Copyright (c) 2015-2018 elementary LLC. * Copyright (C) 2015-2016 Ikey Doherty * * This program is free software: you can redistribute it and/or modify @@ -47,8 +47,15 @@ private Gtk.ComboBox idents_combo; public PolkitDialog (string message, string icon_name, string _cookie, - List? _idents, GLib.Cancellable _cancellable) { - Object (title: _("Authentication Dialog"), window_position: Gtk.WindowPosition.CENTER, resizable: false, deletable: false, skip_taskbar_hint: true); + List? _idents, GLib.Cancellable _cancellable) { + Object ( + title: _("Authentication Dialog"), + window_position: Gtk.WindowPosition.CENTER, + resizable: false, + deletable: false, + skip_taskbar_hint: true + ); + idents = _idents; cookie = _cookie; cancellable = _cancellable; @@ -139,7 +146,7 @@ key_release_event.connect (on_key_release); close.connect (cancel); - + update_idents (); select_session (); } @@ -161,6 +168,7 @@ Gtk.TreeIter iter; int length = 0; + int active = 0; string? target_user = null; @@ -190,11 +198,16 @@ model.append (out iter); model.set (iter, 0, "avatar-default-symbolic", 1, name, 2, ident); + + if (name == Environment.get_user_name ()) { + active = length; + } + length++; } idents_combo.set_model (model); - idents_combo.active = 0; + idents_combo.active = active; if (length < 2) { if (target_user == Environment.get_user_name ()) {