(self, widget)
A new profile has been selected for this item
A new profile has been selected for this item
A new profile has been selected for this item
def on_layout_profile_chooser_changed(self, widget):
        """A new profile has been selected for this item"""
        if not self.layout_item:
            return
        profile = widget.get_active_text()
        layout = self.config.layout_get_config(self.layout_name)
        layout[self.layout_item]['profile'] = profile
        self.config.save()
def on_layout_profile_chooser_changed ( self , widget ) : if not self . layout_item : return profile = widget . get_active_text ( ) layout = self . config . layout_get_config ( self . layout_name ) layout [ self . layout_item ] [ 'profile' ] = profile self . config . save ( )