[four-in-a-row/KaKnife/four-in-a-row-vala: 41/65] fixed issue with prefbox
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [four-in-a-row/KaKnife/four-in-a-row-vala: 41/65] fixed issue with prefbox
- Date: Sun, 16 Dec 2018 03:23:25 +0000 (UTC)
commit 40f20f2d406243dd48c1319e39b10d2871dd9d25
Author: Jacob Humphrey <jacob ryan humphrey gmail com>
Date: Fri Dec 14 22:33:45 2018 -0600
fixed issue with prefbox
src/prefs.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/prefs.vala b/src/prefs.vala
index 8dccbdc..02b957c 100644
--- a/src/prefs.vala
+++ b/src/prefs.vala
@@ -235,6 +235,10 @@ public void prefsbox_open() {
/* connect signals */
prefsbox.response.connect(() => {prefsbox.hide();});
+ prefsbox.delete_event.connect((event) => {
+ prefsbox.hide();
+ return true;
+ });
combobox_theme.changed.connect(on_select_theme);
checkbutton_sound.toggled.connect(p.on_toggle_sound);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]