def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def draw(self, context):
        layout = self.layout

        userpref = context.user_preferences

        layout.prop(userpref, "active_section", expand=True)