[nautilus/refactor: 8/26] window: cleanup nautilus_window_go_home()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/refactor: 8/26] window: cleanup nautilus_window_go_home()
- Date: Wed, 29 Dec 2010 17:58:08 +0000 (UTC)
commit 62bc1792a435a200c7f91042eb5987bfb233219d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 21 19:34:44 2010 +0100
window: cleanup nautilus_window_go_home()
src/nautilus-navigation-window-menus.c | 2 +-
src/nautilus-window.c | 8 --------
src/nautilus-window.h | 1 -
3 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/src/nautilus-navigation-window-menus.c b/src/nautilus-navigation-window-menus.c
index 1a6407c..20051da 100644
--- a/src/nautilus-navigation-window-menus.c
+++ b/src/nautilus-navigation-window-menus.c
@@ -601,7 +601,7 @@ action_new_window_callback (GtkAction *action,
application,
NULL,
gtk_window_get_screen (GTK_WINDOW (current_window)));
- nautilus_window_go_home (new_window);
+ nautilus_window_slot_go_home (nautilus_window_get_active_slot (new_window), FALSE);
g_object_unref (application);
}
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index bdd9ce9..ada8c42 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -408,14 +408,6 @@ nautilus_window_allow_reload (NautilusWindow *window, gboolean allow)
}
void
-nautilus_window_go_home (NautilusWindow *window)
-{
- g_return_if_fail (NAUTILUS_IS_WINDOW (window));
-
- nautilus_window_slot_go_home (window->details->active_pane->active_slot, FALSE);
-}
-
-void
nautilus_window_prompt_for_location (NautilusWindow *window,
const char *initial)
{
diff --git a/src/nautilus-window.h b/src/nautilus-window.h
index 33bca79..e0edee7 100644
--- a/src/nautilus-window.h
+++ b/src/nautilus-window.h
@@ -159,7 +159,6 @@ void nautilus_window_go_to_full (NautilusWindow *window
void nautilus_window_go_to_with_selection (NautilusWindow *window,
GFile *location,
GList *new_selection);
-void nautilus_window_go_home (NautilusWindow *window);
void nautilus_window_new_tab (NautilusWindow *window);
void nautilus_window_go_up (NautilusWindow *window,
gboolean close_behind,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]