diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-12-11 11:01:31 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-12-11 11:01:31 +0100 |
commit | 19730073499fcd71ccfd1622e15d94e648f1e844 (patch) | |
tree | bfaf9d772d1c82f2022fb47c24fec1f7a909d23f | |
parent | 18652bed8732d7b2978da4fcb22b88c246d27dd0 (diff) | |
download | nautilus-19730073499fcd71ccfd1622e15d94e648f1e844.tar.gz |
nautilus-application: unset slot if new window created
If the new window flag is set, make sure that, whatever the caller
pass as target slot, we don't use it.
-rw-r--r-- | src/nautilus-application.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-application.c b/src/nautilus-application.c index ccfbf008a..0083152db 100644 --- a/src/nautilus-application.c +++ b/src/nautilus-application.c @@ -513,6 +513,8 @@ nautilus_application_open_location_full (NautilusApplication *application, } else { target_window = nautilus_application_create_window (application, gtk_window_get_screen (GTK_WINDOW (active_window))); + /* Whatever the caller says, the slot won't be the same */ + target_slot = NULL; } g_assert (target_window != NULL); |