From ae96063471fd31f1c58818dfa4b0440ce8302f7e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 7 Aug 2015 10:34:30 -0300 Subject: window-slot: show window when view starts loading NautilusView directly access NautilusWindow to make sure the window is shown when the view starts loading, and not before this. Since we're restricting communication between NautilusView and other widgets, the view shouldn't ask the window directly. Fixed by making NautilusWindowSlot handle the visibility of the window on NautilusView::begin-loading signal. Also, this patch gets rid of an old code that updates the title of supposedly hidden slots that were present or created before showing the window. which is something doesn't happen anyomore. https://bugzilla.gnome.org/show_bug.cgi?id=753356 --- src/nautilus-window.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nautilus-window.h') diff --git a/src/nautilus-window.h b/src/nautilus-window.h index ed102d89f..7bb3e2d04 100644 --- a/src/nautilus-window.h +++ b/src/nautilus-window.h @@ -109,9 +109,6 @@ void nautilus_window_close (NautilusWindow *window void nautilus_window_go_to (NautilusWindow *window, GFile *location); void nautilus_window_new_tab (NautilusWindow *window); - -void nautilus_window_view_visible (NautilusWindow *window, - NautilusView *view); NautilusWindowSlot * nautilus_window_get_active_slot (NautilusWindow *window); void nautilus_window_set_active_slot (NautilusWindow *window, NautilusWindowSlot *slot); -- cgit v1.2.1