GNOME Bugzilla – Bug 752007
Some of Machine's methods should be properties
Last modified: 2016-09-20 08:15:55 UTC
Machine.is_connected(), Machine.is_running() and Machine.is_on() should be properties like the can_* properties to keep the way a Machine's state is checked consistent.
Created attachment 306895 [details] [review] machine: is_connected() -> prop This is needed to make how the machine's state is checked consistent.
Created attachment 306896 [details] [review] machine: is_running() -> prop This is needed to make how the machine's state is checked consistent.
Created attachment 306897 [details] [review] machine: is_on() -> prop This is needed to make how the machine's state is checked consistent.
Created attachment 306915 [details] [review] machine: is_connected() -> prop This is needed to make how the machine's state is checked consistent.
Created attachment 306916 [details] [review] machine: is_running() -> prop This is needed to make how the machine's state is checked consistent.
Created attachment 306917 [details] [review] machine: is_on() -> prop This is needed to make how the machine's state is checked consistent.
Review of attachment 306915 [details] [review]: a ',' before "consistent" would slightly improve readability.
Review of attachment 306916 [details] [review]: same comment on log.
Review of attachment 306917 [details] [review]: same
Created attachment 306918 [details] [review] machine: is_connected() -> prop This is needed to make how the machine's state is checked, consistent.
Created attachment 306919 [details] [review] machine: is_running() -> prop This is needed to make how the machine's state is checked, consistent.
Created attachment 306920 [details] [review] machine: is_on() -> prop This is needed to make how the machine's state is checked, consistent.
Patches rebased, their shortlog slightly modified and pushed.