mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-01 05:23:56 +00:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=756499
This commit is contained in:
parent
e14c76bea5
commit
755c771058
|
@ -513,6 +513,8 @@ nautilus_application_open_location_full (NautilusApplication *application,
|
||||||
} else {
|
} else {
|
||||||
target_window = nautilus_application_create_window (application,
|
target_window = nautilus_application_create_window (application,
|
||||||
gtk_window_get_screen (GTK_WINDOW (active_window)));
|
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);
|
g_assert (target_window != NULL);
|
||||||
|
|
Loading…
Reference in a new issue