(self, widget)
Broadcast default changed
Broadcast default changed
Broadcast default changed
def on_broadcastdefault_changed(self, widget):
        """Broadcast default changed"""
        selected = widget.get_active()
        if selected == 0:
            value = 'all'
        elif selected == 2:
            value = 'off'
        else:
            value = 'group'
        self.config['broadcast_default'] = value
        self.config.save()
def on_broadcastdefault_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 0 : value = 'all' elif selected == 2 : value = 'off' else : value = 'group' self . config [ 'broadcast_default' ] = value self . config . save ( )