Summary: | ActUser: make update_info() sync | ||
---|---|---|---|
Product: | accountsservice | Reporter: | Jonh Wendell <jonh.wendell> |
Component: | general | Assignee: | Matthias Clasen <mclasen> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | marius.vollmer, rstrode, stefw |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | proposed patch |
Description
Jonh Wendell
2013-07-29 14:45:37 UTC
Created attachment 83207 [details] [review] proposed patch is control-center connecting to notify::loaded before trying to use the user object? (In reply to comment #2) > is control-center connecting to notify::loaded before trying to use the user > object? nope. this the right thing to do, isn't it? yea, exactly. The api is a little non-standard and could use a revamp to modern constructs, but basically when you get a user it may not be loaded yet, so you watch for the property to toggle over before calling methods on the user object. thanks. I've patched control-center: https://bugzilla.gnome.org/show_bug.cgi?id=704426 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.