[gnome-commander/gcmd-1-2-8] Do not disconnect local connections (CTRL+SHIFT+F)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Do not disconnect local connections (CTRL+SHIFT+F)
- Date: Tue, 15 Jun 2010 18:57:56 +0000 (UTC)
commit 473cefb855dd30739f18d7309ef0cb49dbd6392e
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jun 15 20:56:29 2010 +0200
Do not disconnect local connections (CTRL+SHIFT+F)
src/gnome-cmd-user-actions.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index fdf80e4..5a53dfa 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1430,7 +1430,8 @@ void connections_close_current (GtkMenuItem *menuitem, gpointer not_used)
{
GnomeCmdCon *con = get_fs (ACTIVE)->get_connection();
- connections_close (menuitem, con);
+ if (!gnome_cmd_con_is_local (con))
+ connections_close (menuitem, con);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]