diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-03-18 17:43:55 +0200 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-03-19 08:42:25 +0200 |
commit | 80dea23a92662807ece197c6dba53ab06264623e (patch) | |
tree | 2013e5cc5d5c4d08635a46c1d37c0b097efe3b1a | |
parent | fddcda2d962cee2393002ddec5dfc0fda39e90f8 (diff) | |
download | nautilus-80dea23a92662807ece197c6dba53ab06264623e.tar.gz |
window: Unset active slot when closing window
While not strictly necessary, it might prevent the cornerest of corner
cases regarding actions in window slots.
-rw-r--r-- | src/nautilus-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c index dee129eb3..1f8d5208e 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -2902,6 +2902,7 @@ real_window_close (NautilusWindow *window) g_return_if_fail (NAUTILUS_IS_WINDOW (window)); nautilus_window_save_geometry (window); + nautilus_window_set_active_slot (window, NULL); gtk_widget_destroy (GTK_WIDGET (window)); } |