[gnome-commander/gcmd-1-2-8] Revert for bug intrduced in commit 473cefb855dd30739f18d7309ef0cb49dbd6392e (do not disconnect local



commit b4ab356db3f9d41e6e68f9fc7e371e0885695433
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Aug 11 23:50:17 2010 +0200

    Revert for bug intrduced in commit 473cefb855dd30739f18d7309ef0cb49dbd6392e (do not disconnect local connections)

 src/gnome-cmd-user-actions.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 412dfdc..debcff9 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -24,7 +24,7 @@
 
 #include "gnome-cmd-includes.h"
 #include "gnome-cmd-bookmark-dialog.h"
-#include "gnome-cmd-con.h"
+#include "gnome-cmd-con-home.h"
 #include "gnome-cmd-con-list.h"
 #include "gnome-cmd-data.h"
 #include "gnome-cmd-dir.h"
@@ -1430,7 +1430,7 @@ void connections_close_current (GtkMenuItem *menuitem, gpointer not_used)
 {
     GnomeCmdCon *con = get_fs (ACTIVE)->get_connection();
 
-    if (!gnome_cmd_con_is_local (con))
+    if (!GNOME_CMD_IS_CON_HOME (con))
         connections_close (menuitem, con);
 }
 



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