Per discussion with Michael Terry on IRC, the issue is that the default-session didn't act like a property, so when it was changed after the hint was read, the UI wasn't udpating. We tested this fix, which Michael will merge in:
+++ unity-greeter-0.2.8/src/user-list.vala 2012-04-26 14:03:27.276021240 -0400 @@ -179,7 +179,20 @@ } }
- public string default_session = "ubuntu"; + + private string? _default_session = "ubuntu"; + public string? default_session + { + get + { + return _default_session; + } + set + { + _default_session = value; + session_image.set_from_pixbuf (get_badge ()); + } + }
private string? _session = null; public string? session
Per discussion with Michael Terry on IRC, the issue is that the default-session didn't act like a property, so when it was changed after the hint was read, the UI wasn't udpating. We tested this fix, which Michael will merge in:
+++ unity-greeter- 0.2.8/src/ user-list. vala 2012-04-26 14:03:27.276021240 -0400
@@ -179,7 +179,20 @@
}
}
- public string default_session = "ubuntu"; image.set_ from_pixbuf (get_badge ());
+
+ private string? _default_session = "ubuntu";
+ public string? default_session
+ {
+ get
+ {
+ return _default_session;
+ }
+ set
+ {
+ _default_session = value;
+ session_
+ }
+ }
private string? _session = null;
public string? session