summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Li <gary.li1@uwaterloo.ca>2022-12-28 22:19:57 +0000
committerAntónio Fernandes <antoniof@gnome.org>2023-01-06 19:38:57 +0000
commitad33eadccc06cff370ebd1c1fb22f9c974b09b93 (patch)
treed5ff6a3b4832f55099c148686dc0c90ddf0ba370
parentf4003513c873e03d5eb5ff156fd28de7a647a8e4 (diff)
downloadnautilus-ad33eadccc06cff370ebd1c1fb22f9c974b09b93.tar.gz
nautilus-window: Fix window maximized notify signal
Nautilus does not persist the window maximized state. This is because we are listening to the property is-maximized for change, which is now maximized in GTK4. https://docs.gtk.org/gtk4/property.Window.maximized.html Use notify::maximized instead of notify::is-maximized. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2682
-rw-r--r--src/nautilus-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 1d927b622..ee79ef478 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -2085,7 +2085,7 @@ nautilus_window_init (NautilusWindow *window)
window,
G_CONNECT_SWAPPED);
- g_signal_connect (window, "notify::is-maximized",
+ g_signal_connect (window, "notify::maximized",
G_CALLBACK (on_is_maximized_changed), NULL);
window->slots = NULL;