Widget.id_for_label() should be an instance method
|Reported by:||julien||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I don't see any reason why Widget.id_for_label() should be a class method. What's more, it's actually already used as an instance method in some places. I suggest simply removing the classmethod decorators (see patch attached).