Enable widget id to be recognized as automatically generated
Submitted by Lionel Landwerlin
Using the box model as a layout mechanism has the inconvenient effect of generating a lot of widgets to enable the developer of getting the desired layout.
As a result UI description files can contain a lot of widgets. If you want to present the user with a list of relevant widgets the developer is likely to interact with in the application, we need a way to differentiate these widgets in the UI file.
In the case the developer actually cares about a widget, he's very likely to give it a particular name, whereas unimportant widgets will be left untouch with the default generated id.
The attached patch is a cheap way of recognizing widgets that the developer actually cares about, by prefixing the automatically generated names with '_'.