[nautilus/wip/gbsneto/other-locations] stub



commit ad0657b48db250ff97a88837304dc0d6a664da61
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Jun 20 12:26:56 2015 -0300

    stub

 src/nautilus-window.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index ce4c93f..c02a9b8 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1044,19 +1044,6 @@ places_sidebar_show_error_message_cb (GtkPlacesSidebar *sidebar,
        eel_show_error_dialog (primary, secondary, GTK_WINDOW (window));
 }
 
-/* Callback used when the places sidebar needs us to present the Connect to Server dialog */
-static void
-places_sidebar_show_connect_to_server_cb (GtkPlacesSidebar *sidebar,
-                                         gpointer          user_data)
-{
-       NautilusWindow *window = NAUTILUS_WINDOW (user_data);
-       NautilusApplication *application = NAUTILUS_APPLICATION (g_application_get_default ());
-       GtkWidget *dialog;
- 
-       dialog = nautilus_application_connect_server (application, window);
-       gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
-}
-
 static GList *
 build_selection_list_from_gfile_list (GList *gfile_list)
 {
@@ -1328,14 +1315,11 @@ nautilus_window_set_up_sidebar (NautilusWindow *window)
                                           (GTK_PLACES_OPEN_NORMAL
                                            | GTK_PLACES_OPEN_NEW_TAB
                                            | GTK_PLACES_OPEN_NEW_WINDOW));
-       gtk_places_sidebar_set_show_connect_to_server (GTK_PLACES_SIDEBAR (window->priv->places_sidebar), 
TRUE);
 
        g_signal_connect (window->priv->places_sidebar, "open-location",
                          G_CALLBACK (places_sidebar_open_location_cb), window);
        g_signal_connect (window->priv->places_sidebar, "show-error-message",
                          G_CALLBACK (places_sidebar_show_error_message_cb), window);
-       g_signal_connect (window->priv->places_sidebar, "show-connect-to-server",
-                         G_CALLBACK (places_sidebar_show_connect_to_server_cb), window);
        g_signal_connect (window->priv->places_sidebar, "drag-action-requested",
                          G_CALLBACK (places_sidebar_drag_action_requested_cb), window);
        g_signal_connect (window->priv->places_sidebar, "drag-action-ask",


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