[gnome-commander] Revert "Remove the default Samba connection button from the device list"
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Revert "Remove the default Samba connection button from the device list"
- Date: Tue, 5 Oct 2021 20:09:31 +0000 (UTC)
commit a1e4c3a45e647339800d94a0f0c6227524fa5041
Author: Uwe Scholz <u scholz83 gmx de>
Date: Mon Oct 4 02:22:59 2021 +0200
Revert "Remove the default Samba connection button from the device list"
This reverts commit 2a77f8da9cb6a7b38add58142acbd4b5f67d4292.
src/gnome-cmd-con-list.cc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-con-list.cc b/src/gnome-cmd-con-list.cc
index 5afe1584..c282dec0 100644
--- a/src/gnome-cmd-con-list.cc
+++ b/src/gnome-cmd-con-list.cc
@@ -149,8 +149,13 @@ 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]