[five-or-more/arnaudb/use-event-controllers: 2/5] Delay setting settings.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/use-event-controllers: 2/5] Delay setting settings.
- Date: Thu, 12 Mar 2020 19:46:49 +0000 (UTC)
commit 74ebc4b6b2e7f1826de4d2891e09b685a343e884
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]