[five-or-more/arnaudb/use-event-controllers: 3/7] Delay setting settings.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/use-event-controllers: 3/7] Delay setting settings.
- Date: Thu, 16 Apr 2020 17:19:02 +0000 (UTC)
commit d8e3fe8fb76eedf3ba90ca496745f74f0b5dafe7
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Mar 12 17:44:58 2020 +0100
Delay setting settings.
src/main.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/main.vala b/src/main.vala
index 3e05bba..a537149 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -185,9 +185,11 @@ private class FiveOrMoreApp: Gtk.Application
protected override void shutdown ()
{
+ settings.delay ();
settings.set_int ("window-width", window.window_width);
settings.set_int ("window-height", window.window_height);
settings.set_boolean ("window-is-maximized", window.window_maximized);
+ settings.apply ();
base.shutdown ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]