[pulseaudio-commits] [Git][pulseaudio/pavucontrol][master] Remove closing window by pressing Esc
Tanu Kaskinen
gitlab at gitlab.freedesktop.org
Sat Feb 9 07:24:30 UTC 2019
Tanu Kaskinen pushed to branch master at PulseAudio / pavucontrol
Commits:
1035910f by Andreas Rönnquist at 2019-02-09T07:23:48Z
Remove closing window by pressing Esc
Disable closing using Esc, to avoid closing the window by mistake.
- - - - -
1 changed file:
- src/mainwindow.cc
Changes:
=====================================
src/mainwindow.cc
=====================================
@@ -201,10 +201,6 @@ void MainWindow::on_realize() {
bool MainWindow::on_key_press_event(GdkEventKey* event) {
- if (GDK_KEY_Escape == event->keyval) {
- Gtk::Main::quit();
- return true;
- }
if (event->state & GDK_CONTROL_MASK) {
switch (event->keyval) {
case GDK_KEY_KP_1:
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/commit/1035910f45626c6ad77681f212d4a3123f0b985d
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/commit/1035910f45626c6ad77681f212d4a3123f0b985d
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190209/83425adc/attachment.html>
More information about the pulseaudio-commits
mailing list