Logo Search packages:      
Sourcecode: panflute version File versions  Download package

def panflute::applet::prefs::Preferences::__describe_connectors_cb (   self,
  connectors 
) [private]

Update the combo box with the current list of available players.

Definition at line 402 of file prefs.py.

00402                                                    :
        """
        Update the combo box with the current list of available players.
        """

        model = self.__builder.get_object ("connector_store")
        model.clear ()

        for internal_name in connectors:
            display_name = connectors[internal_name]["display_name"]
            icon_name = connectors[internal_name].get ("icon_name", "")
            model.append ((internal_name, display_name, icon_name))
        model.set_sort_column_id (self.CONN_COL_DISPLAY_NAME, gtk.SORT_ASCENDING)

        self.__preferred.GetInternalName (reply_handler = self.__get_internal_name_cb,
                                          error_handler = self.log.warn)


    def __get_internal_name_cb (self, internal_name):


Generated by  Doxygen 1.6.0   Back to index