diff --git a/src/session/user.rs b/src/session/user.rs index 62ce0906..1bcac1c9 100644 --- a/src/session/user.rs +++ b/src/session/user.rs @@ -64,7 +64,7 @@ mod imp { fn set_property( &self, - _obj: &Self::Type, + obj: &Self::Type, _id: usize, value: &glib::Value, pspec: &glib::ParamSpec, @@ -74,6 +74,9 @@ mod imp { let user_id = value.get::<&str>().unwrap().try_into().unwrap(); self.user_id.set(user_id).unwrap(); } + "display-name" => { + obj.set_display_name(value.get::>().unwrap()); + } "session" => self .session .set(value.get::().unwrap().downgrade())