[gnome-commander] Do not disconnect local connections (CTRL+SHIFT+F)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Do not disconnect local connections (CTRL+SHIFT+F)
- Date: Tue, 15 Jun 2010 18:58:01 +0000 (UTC)
commit 095ed1f95556753878c4faa228932a2303e3dce4
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 18d2663..d186398 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1616,7 +1616,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]