[X2go-Commits] x2gognomebindings.git - master (branch) updated: 2.0.1.1-27-g66c2def

X2go dev team git-admin at x2go.org
Mon Sep 26 02:56:35 CEST 2011


The branch, master has been updated
       via  66c2defe1fec986c61ded31ba52e27bb6afbde6f (commit)
      from  59aca05b576ddf2e39ee68868d46a309d08dd2e8 (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 66c2defe1fec986c61ded31ba52e27bb6afbde6f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Sep 26 02:56:14 2011 +0200

    Allow blanks in desktop icon names.

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

Summary of changes:
 debian/changelog                |    1 +
 extension/nautilus-x2goumount.c |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 7f43b69..22231d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ x2gognomebindings (2.0.1.3-0~x2go1) UNRELEASED; urgency=low
     - Define unique MIME name spaces for X2go SSHFS GNOME icons.
     - Rename sshfs.xml to sshfs-x2go-gnome.xml.
     - Use desktop icon names that contain the name of the desktop session.
+    - Allow blanks in desktop icon names.
   * Add gnome-menus as dependency.
   * Now fully use debhelper for packaging. Reduced linitian issues
     nearly completely (still open: old-format-menu-file
diff --git a/extension/nautilus-x2goumount.c b/extension/nautilus-x2goumount.c
index 8d7f63c..38cd7af 100644
--- a/extension/nautilus-x2goumount.c
+++ b/extension/nautilus-x2goumount.c
@@ -46,7 +46,8 @@ static void nautilus_x2goumount_execute (NautilusMenuItem *item)
 {
 	GList *files;
 	files = (GList*)g_object_get_data (G_OBJECT (item), "files");
-	gchar* uri = nautilus_file_info_get_uri ((NautilusFileInfo *)files->data);
+	gchar* uri;
+	sprintf(uri, "'%s'", nautilus_file_info_get_uri ((NautilusFileInfo *)files->data));
 	char* cmd=malloc(strlen(uri)+strlen("x2goumount-session-gnome"));
 	strcpy(cmd,"x2goumount-session-gnome ");
 	strcat(cmd, uri+7);


hooks/post-receive
-- 
x2gognomebindings.git (X2go bindings for GNOME)

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 "x2gognomebindings.git" (X2go bindings for GNOME).




More information about the x2go-commits mailing list