[nautilus] window: fix some missing signal handlers/overrides



commit 936a1749bb79217decc47ec2e12c7f3c40823f97
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Feb 17 17:26:29 2011 -0500

    window: fix some missing signal handlers/overrides

 src/nautilus-window.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 6df340a..a125252 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1508,6 +1508,12 @@ nautilus_window_sync_title (NautilusWindow *window,
 	char *full_title;
 	char *window_title;
 
+	if (NAUTILUS_WINDOW_CLASS (G_OBJECT_GET_CLASS (window))->sync_title != NULL) {
+		NAUTILUS_WINDOW_CLASS (G_OBJECT_GET_CLASS (window))->sync_title (window, slot);
+
+		return;
+	}
+
 	if (slot == window->details->active_pane->active_slot) {
 		/* if spatial mode is default, we keep "File Browser" in the window title
 		 * to recognize browser windows. Otherwise, we default to the directory name.
@@ -2220,6 +2226,7 @@ nautilus_window_class_init (NautilusWindowClass *class)
 
 	class->reload = nautilus_window_reload;
 	class->go_up = nautilus_window_go_up_signal;
+	class->prompt_for_location = nautilus_window_prompt_for_location;
 
 	g_signal_connect_swapped (nautilus_preferences,
 				  "changed::" NAUTILUS_PREFERENCES_MOUSE_BACK_BUTTON,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]