[gnome-commander] Remove the default Samba connection button from the device list



commit 2a77f8da9cb6a7b38add58142acbd4b5f67d4292
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Fri Sep 24 23:49:43 2021 +0200

    Remove the default Samba connection button from the device list
    
    The reason I remove this is that I was not able in my local Samba tests
    to get a list of browsable folders after clicking on the SMB connection
    button. Instead, I could connect to a local Samba folder through the
    remote connection setup dialog and I could also browse through that folder.
    
    To reduce user confusion I decided to remove that button then...

 src/gnome-cmd-con-list.cc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/gnome-cmd-con-list.cc b/src/gnome-cmd-con-list.cc
index c282dec0..5afe1584 100644
--- a/src/gnome-cmd-con-list.cc
+++ b/src/gnome-cmd-con-list.cc
@@ -149,13 +149,8 @@ static void init (GnomeCmdConList *con_list)
     con_list->priv->update_lock = FALSE;
 
     con_list->priv->home_con = gnome_cmd_con_home_new ();
-#ifdef HAVE_SAMBA
-    con_list->priv->smb_con = gnome_cmd_con_smb_new ();
-#endif
+
     con_list->priv->all_cons = g_list_append (nullptr, con_list->priv->home_con);
-#ifdef HAVE_SAMBA
-    con_list->priv->all_cons = g_list_append (con_list->priv->all_cons, con_list->priv->smb_con);
-#endif
 }
 
 


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