(self, widget)
Exit action changed
Exit action changed
Exit action changed
def on_exit_action_combobox_changed(self, widget):
        """Exit action changed"""
        selected = widget.get_active()
        if selected == 1:
            value = 'restart'
        elif selected == 2:
            value = 'hold'
        else:
            value = 'close'
        self.config['exit_action'] = value
        self.config.save()
def on_exit_action_combobox_changed ( self , widget ) : selected = widget . get_active ( ) if selected == 1 : value = 'restart' elif selected == 2 : value = 'hold' else : value = 'close' self . config [ 'exit_action' ] = value self . config . save ( )