[X2go-Commits] x2goplasmabindings.git - master (branch) updated: 43e515eea6da0585661fd5ade8bd4d713b4be8a8

X2go dev team git-admin at x2go.org
Tue Oct 11 11:04:49 CEST 2011


The branch, master has been updated
       via  43e515eea6da0585661fd5ade8bd4d713b4be8a8 (commit)
      from  3102b6e64c26e2fa4d7ab45332ba0ee2747ea84f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 43e515eea6da0585661fd5ade8bd4d713b4be8a8
Author: Oleksandr Shneyder <oleksandr.shneyder at treuchtlingen.de>
Date:   Tue Oct 11 11:04:02 2011 +0200

    use x2goumount-session to umount x2go shares

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog     |    5 +++--
 plasmax2godialog.cpp |    7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 417971c..67b6c55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-x2goplasmabindings (3.0.1.2-0~x2go1.2) UNRELEASED; urgency=low
+x2goplasmabindings (3.0.1.2-0~x2go1.3) UNRELEASED; urgency=low
 
   [ Mike Gabriel ]
   * renaming of source package and binary package
@@ -6,8 +6,9 @@ x2goplasmabindings (3.0.1.2-0~x2go1.2) UNRELEASED; urgency=low
   [ Oleksandr Shneyder ]
   * support for new server (not using sudo any more)
   * use x2golistmounts from x2goserver-extensions
+  * use x2goumount-session to umount x2go shares
 
- -- Oleksandr Shneyder <oleksandr.shneyder at treuchtlingen.de>  Tue, 11 Oct 2011 10:18:35 +0200
+ -- Oleksandr Shneyder <oleksandr.shneyder at treuchtlingen.de>  Tue, 11 Oct 2011 11:03:25 +0200
 
 x2goplasmoidbindings (3.0.1.1-0~x2go2) unstable; urgency=low
 
diff --git a/plasmax2godialog.cpp b/plasmax2godialog.cpp
index f1615c7..56e67b9 100644
--- a/plasmax2godialog.cpp
+++ b/plasmax2godialog.cpp
@@ -236,9 +236,10 @@ void PlasmaX2goDialog::slotOpenFolder(const QString& folder)
 
 void PlasmaX2goDialog::slotEjectFolder(const QString& folder)
 {
-    QProcess::startDetached("fusermount -u "+folder);
-    QProcess::startDetached("x2godeletemount "+m_applet->getSessionId()+" "+folder);
+    QStringList parts=folder.split("/", QString::SkipEmptyParts);
+    if(parts.count()<=0)
+	return;
+    QProcess::startDetached("x2goumount-session "+m_applet->getSessionId()+" "+parts.last());
     m_applet->hidePopup();
 }
 
-


hooks/post-receive
-- 
x2goplasmabindings.git (Plasma/KDE4 Widget for X2go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goplasmabindings.git" (Plasma/KDE4 Widget for X2go).




More information about the x2go-commits mailing list