Skip to content

Commit

Permalink
Make running read only
Browse files Browse the repository at this point in the history
  • Loading branch information
arlo-phoenix committed Nov 18, 2023
1 parent 7046ab4 commit da95616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbus_server_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void DBusServerNode::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "methods", PROPERTY_HINT_ARRAY_TYPE, vformat("%s/%s:%s", Variant::OBJECT, PROPERTY_HINT_RESOURCE_TYPE, "DBusMethod")), "set_methods", "get_methods");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "autostart"), "set_autostart", "get_autostart");
ADD_PROPERTY(PropertyInfo(Variant::INT, "bus_level", PROPERTY_HINT_ENUM, "USER, SYSTEM"), "set_bus_level", "get_bus_level");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "running"), "", "is_running");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "running", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_READ_ONLY), "", "is_running");
}

DBusServerNode::DBusServerNode() :
Expand Down

0 comments on commit da95616

Please sign in to comment.