def validate_dbus_object(cls, path, state): application_name = PACKAGE_ID name = introspection.get_classname_from_path(path) if str(name) == application_name: if state['applicationName'][1] == application_name: return True return False
def validate_dbus_object(cls, path, state): if super().validate_dbus_object(path, state): return True name = introspection.get_classname_from_path(path) if name == b'OverflowPanel': return True return False
def validate_dbus_object(cls, path, state): if super().validate_dbus_object(path, state): # This covers MainView 0.1/1.0/1.1 and possible components # derived from MainView (e.g. "CustomMainView") that have # their own CPO. # Using objectName for selecting a MainView is recommneded. return True name = introspection.get_classname_from_path(path) if name == b'MainView12': # MainView 1.2. Must be selected using objectName. return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'IndicatorPage': if state['objectName'][1] == 'indicator-mock-page': return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) return (name == b'AddressBookApp' and state['applicationName'][1] == 'AddressBookApp')
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'webbrowser-app': if state['applicationName'][1] == 'webbrowser-app': return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'Dialog': if state['objectName'][1] == 'Edit profile': return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'Page11': if state['objectName'][1] == 'settingsPage': return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'Slider': return True return False
def validate_dbus_object(cls, path, state): state_name = introspection.get_classname_from_path(path) class_name = cls.__name__.encode('utf-8') return state_name == class_name
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) if name == b'Page': if state['objectName'][1] == 'languagePage': return True return False
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) return name in (b'TutorialPage', b'TutorialLeft', b'TutorialLeftFinish', b'TutorialRight', b'TutorialBottom', b'TutorialBottomFinish')
def validate_dbus_object(cls, path, state): name = introspection.get_classname_from_path(path) return (name == b'MainWindow' and state['objectName'][1] == 'addressBookAppMainWindow')