Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
8566d036
by Philipp Hörist at 2019-11-05T20:48:21Z
1 changed file:
Changes:
| ... | ... | @@ -52,17 +52,17 @@ class DialogButton(namedtuple('DialogButton', ('response text callback args ' |
| 52 | 52 |
default_kwargs['text'] = _('Cancel')
|
| 53 | 53 |
|
| 54 | 54 |
elif type_ == 'Accept':
|
| 55 |
- default_kwargs['response'] = Gtk.ResponseType.OK
|
|
| 55 |
+ default_kwargs['response'] = Gtk.ResponseType.ACCEPT
|
|
| 56 | 56 |
default_kwargs['text'] = _('Accept')
|
| 57 | 57 |
default_kwargs['action'] = ButtonAction.SUGGESTED
|
| 58 | 58 |
|
| 59 | 59 |
elif type_ == 'Delete':
|
| 60 |
- default_kwargs['response'] = Gtk.ResponseType.OK
|
|
| 60 |
+ default_kwargs['response'] = Gtk.ResponseType.REJECT
|
|
| 61 | 61 |
default_kwargs['text'] = _('Delete')
|
| 62 | 62 |
default_kwargs['action'] = ButtonAction.DESTRUCTIVE
|
| 63 | 63 |
|
| 64 | 64 |
elif type_ == 'Remove':
|
| 65 |
- default_kwargs['response'] = Gtk.ResponseType.OK
|
|
| 65 |
+ default_kwargs['response'] = Gtk.ResponseType.REJECT
|
|
| 66 | 66 |
default_kwargs['text'] = _('Remove')
|
| 67 | 67 |
default_kwargs['action'] = ButtonAction.DESTRUCTIVE
|
| 68 | 68 |
else:
|