Skip to content

Commit

Permalink
nemo-icon-container.c: Don't tie the interactive search box
Browse files Browse the repository at this point in the history
with the window's lifetime.

In 03e6c73, the search window was set to be destroyed
with its parent window.

This was incorrect - the window is specific to the icon
view, not the window, and should be destroyed with the
view.

Fixes #3423
  • Loading branch information
mtwebster committed Jul 2, 2024
1 parent 393d979 commit 055b47a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libnemo-private/nemo-icon-container.c
Original file line number Diff line number Diff line change
Expand Up @@ -4038,7 +4038,6 @@ nemo_icon_container_ensure_interactive_directory (NemoIconContainer *container)
gtk_window_set_transient_for (GTK_WINDOW (container->details->search_window),
GTK_WINDOW (toplevel));

gtk_window_set_destroy_with_parent (GTK_WINDOW (container->details->search_window), TRUE);
gtk_window_set_type_hint (GTK_WINDOW (container->details->search_window),
GDK_WINDOW_TYPE_HINT_COMBO);

Expand Down

0 comments on commit 055b47a

Please sign in to comment.