Esempio n. 1
0
    def get_file_actions(self, folder, f):

        actions = Device.get_file_actions(self, folder, f)
        if (f.mimetype != f.DIRECTORY):
            actions.append((None, "Download", self.__on_download))

        return actions
Esempio n. 2
0
    def get_file_actions(self, folder, f):

        options = Device.get_file_actions(self, folder, f)
        options.append(
            (None, "Add to my Internet Radios", self.__on_add_radio))

        return options
Esempio n. 3
0
    def get_file_actions(self, folder, f):

        actions = Device.get_file_actions(self, folder, f)
        actions.append((None, "Download", self.__on_download))

        return actions
Esempio n. 4
0
    def get_file_actions(self, folder, f):
    
        options = Device.get_file_actions(self, folder, f)
        options.append((None, "Delete Station", self.__on_delete_item))

        return options