[five-or-more/arnaudb/wip/gtk4: 3/29] Delay setting settings.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 3/29] Delay setting settings.
- Date: Fri, 27 Mar 2020 15:46:52 +0000 (UTC)
commit 92fc92f90ba4f4aab127a4b35517150237127bb5
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]