If the config option to withdraw the app on close is set, ctrl-w would
close the entire program when it should really just withdraw the app.
Fix by not forcing the application to close on ctrl-w.
Fixes: #16354
---
sonata/main.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sonata/main.py b/sonata/main.py
index 213adc2..1371f80 100644
--- a/sonata/main.py
+++ b/sonata/main.py
@@ -275,7 +275,7 @@ def __init__(self, args, window=None, sugar=False):
('raisekey', None, 'Raise Volume Key', '<Ctrl>plus', None,
self.on_volume_raise),
('raisekey2', None, 'Raise Volume Key 2', '<Ctrl>equal', None,
self.on_volume_raise),
('quitkey', None, 'Quit Key', '<Ctrl>q', None,
self.on_delete_event_yes),
- ('quitkey2', None, 'Quit Key 2', '<Ctrl>w', None,
self.on_delete_event_yes),
+ ('quitkey2', None, 'Quit Key 2', '<Ctrl>w', None,
self.on_delete_event),
('connectkey', None, 'Connect Key', '<Alt>c', None,
self.on_connectkey_pressed),
('disconnectkey', None, 'Disconnect Key', '<Alt>d', None,
self.on_disconnectkey_pressed),
('searchkey', None, 'Search Key', '<Ctrl>h', None,
self.on_library_search_shortcut),
--
1.6.5.1.101.g325e5
_______________________________________________
Sonata-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/sonata-users