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

def panflute::applet::prefs::Preferences::__get_internal_name_cb (   self,
  internal_name 
) [private]

Select the currently preferred player in the combo box.

Definition at line 420 of file prefs.py.

00420                                                     :
        """
        Select the currently preferred player in the combo box.
        """

        # XXX: Is it worth it to make finding the correct row faster?

        def check (model, path, iter):
            if model.get_value (iter, self.CONN_COL_INTERNAL_NAME) == internal_name:
                self.__builder.get_object ("preferred_player").set_active_iter (iter)
        self.__builder.get_object ("connector_store").foreach (check)


    def __name_owner_changed_cb (self, name, old_owner, new_owner):


Generated by  Doxygen 1.6.0   Back to index