From cf66d973d8bbac857d5d9327a4a89ae14982a69a Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 08 2021 06:13:10 +0000 Subject: Apply patch window-Fix-criticals-when-moving-file-to-trash.patch patch_name: window-Fix-criticals-when-moving-file-to-trash.patch present_in_specfile: true location_in_specfile: 24 --- diff --git a/src/nautilus-window.c b/src/nautilus-window.c index 1d43056..e4ea4da 100644 --- a/src/nautilus-window.c +++ b/src/nautilus-window.c @@ -2413,8 +2413,9 @@ nautilus_window_constructed (GObject *self) nautilus_window_set_up_sidebar (window); - g_signal_connect_after (nautilus_file_undo_manager_get (), "undo-changed", - G_CALLBACK (nautilus_window_on_undo_changed), self); + g_signal_connect_object (nautilus_file_undo_manager_get (), "undo-changed", + G_CALLBACK (nautilus_window_on_undo_changed), self, + G_CONNECT_AFTER); /* Is required that the UI is constructed before initializating the actions, since * some actions trigger UI widgets to show/hide. */