diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-01-25 13:22:37 +0000 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-01-25 13:22:37 +0000 |
commit | c91b8857c25d16ca9c8ae4e2c72514d05e51fdc6 (patch) | |
tree | d476fb39a0a8a8e4ffd95b4294c16f55451d3f60 /src/nautilus-application-actions.c | |
parent | 632dbbd8ffc59a1b646aedabf74eaf565cf20d4e (diff) | |
download | nautilus-c91b8857c25d16ca9c8ae4e2c72514d05e51fdc6.tar.gz |
window: simplify handling of enter-location action
We don't need it on both the application and the window.
Diffstat (limited to 'src/nautilus-application-actions.c')
-rw-r--r-- | src/nautilus-application-actions.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/nautilus-application-actions.c b/src/nautilus-application-actions.c index b37c38559..3caa09eac 100644 --- a/src/nautilus-application-actions.c +++ b/src/nautilus-application-actions.c @@ -61,20 +61,6 @@ action_connect_to_server (GSimpleAction *action, } static void -action_enter_location (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) -{ - GtkApplication *application = user_data; - NautilusWindow *window; - GtkWindow *cur_window; - - cur_window = gtk_application_get_active_window (application); - window = NAUTILUS_WINDOW (cur_window); - nautilus_window_ensure_location_entry (window); -} - -static void action_bookmarks (GSimpleAction *action, GVariant *parameter, gpointer user_data) @@ -265,7 +251,6 @@ action_show_hide_sidebar (GSimpleAction *action, static GActionEntry app_entries[] = { { "new-window", action_new_window, NULL, NULL, NULL }, { "connect-to-server", action_connect_to_server, NULL, NULL, NULL }, - { "enter-location", action_enter_location, NULL, NULL, NULL }, { "bookmarks", action_bookmarks, NULL, NULL, NULL }, { "preferences", action_preferences, NULL, NULL, NULL }, { "show-hide-sidebar", NULL, NULL, "true", action_show_hide_sidebar }, |