[gnome-commander] Revert for bug intrduced in commit 473cefb855dd30739f18d7309ef0cb49dbd6392e (do not disconnect local



commit 900ffff2cb592981e867629158b26d7497d1889b
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Aug 11 23:47:12 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 22b51d8..5e4bb12 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -25,7 +25,7 @@
 #include <algorithm>
 
 #include "gnome-cmd-includes.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"
@@ -1616,7 +1616,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]