[X2Go-Commits] x2gognomebindings.git - master (branch) updated: 2.0.1.7-16-gb67785b

X2Go dev team git-admin at x2go.org
Sun Jul 28 11:39:38 CEST 2013


The branch, master has been updated
       via  b67785b76d550905fe299db52c3f8e0fab4eb5fd (commit)
      from  067cfe32e5487182593805ccd823f49275b0463e (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 b67785b76d550905fe299db52c3f8e0fab4eb5fd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Jul 28 11:38:48 2013 +0200

    white space / tab fixes

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

Summary of changes:
 extension/nautilus-x2goumount.c |   84 +++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 43 deletions(-)

The diff of changes is:
diff --git a/extension/nautilus-x2goumount.c b/extension/nautilus-x2goumount.c
index ed5c523..65f3220 100644
--- a/extension/nautilus-x2goumount.c
+++ b/extension/nautilus-x2goumount.c
@@ -79,23 +79,21 @@ static NautilusMenuItem *nautilus_x2goumount_create_menu_item (GList *files)
 
 	
 	item = nautilus_menu_item_new ("NautilusX2goumount::umount",
-				_("Unmount SSHFS Drive"),
-				_("Unmount SSHFS Drive"),
-				0l);
+	                        _("Unmount SSHFS Drive"),
+	                        _("Unmount SSHFS Drive"),
+	                        0l);
 
 	g_signal_connect_data (item, 
-				"activate", 
-				G_CALLBACK (nautilus_x2goumount_execute),
-				0, 
-				0, 
-				0);
+	                        "activate",
+	                        G_CALLBACK (nautilus_x2goumount_execute),
+	                        0,
+	                        0,
+	                        0);
 
 	g_object_set_data_full (G_OBJECT (item),
-			"files",
-			nautilus_file_info_list_copy (files),
-			(GDestroyNotify) nautilus_file_info_list_free);
-	
-	
+	                        "files",
+	                        nautilus_file_info_list_copy (files),
+	                        (GDestroyNotify) nautilus_file_info_list_free);
 	
 	return item;
 }
@@ -113,28 +111,28 @@ static GList *nautilus_x2goumount_get_file_items (NautilusMenuProvider *provider
 
 	if (!self->dispose_has_run)
 	{
-	        GList* iter1;
-	        for (iter1 = files; iter1; iter1 = iter1->next)
-	        {
-	              f_items++;
-	              gchar* tmp_filename = nautilus_file_info_get_name ((NautilusFileInfo *)iter1->data);
-	              if (tmp_filename)
-	              {
-	                      gchar* tmp_mimetype = nautilus_file_info_get_mime_type ((NautilusFileInfo *)iter1->data);
-	                      if(strstr(tmp_mimetype,"sshfs"))
-	                      {
-                                      create_menu=TRUE;
-                              }
-			      g_free (tmp_filename);
-                              g_free (tmp_mimetype);
-	              }      
-	        }
-	        if( f_items==1 && create_menu)
-	        {                                                                                                                                                                                                                                                                                                                                                                                    
-	             item = nautilus_x2goumount_create_menu_item (files);
-	             items = g_list_append (items, item);
-	        }
-	}	
+		GList* iter1;
+		for (iter1 = files; iter1; iter1 = iter1->next)
+		{
+			f_items++;
+			gchar* tmp_filename = nautilus_file_info_get_name ((NautilusFileInfo *)iter1->data);
+			if (tmp_filename)
+			{
+				gchar* tmp_mimetype = nautilus_file_info_get_mime_type ((NautilusFileInfo *)iter1->data);
+				if(strstr(tmp_mimetype,"sshfs"))
+				{
+					create_menu=TRUE;
+				}
+				g_free (tmp_filename);
+				g_free (tmp_mimetype);
+			}
+		}
+		if( f_items==1 && create_menu)
+		{
+			item = nautilus_x2goumount_create_menu_item (files);
+			items = g_list_append (items, item);
+		}
+	}
 	return items;
 }
 
@@ -146,7 +144,7 @@ static GList *nautilus_x2goumount_get_background_items (NautilusMenuProvider *pr
 	files = g_list_append (files, current_folder);
 	items = nautilus_x2goumount_get_file_items (provider, window, files);
 	g_list_free (files);
-	
+
 	return items;
 }
 
@@ -208,14 +206,14 @@ void nautilus_x2goumount_register_type (GTypeModule *module)
 	};
 
 	x2goumount_type = g_type_module_register_type (module,
-								G_TYPE_OBJECT,
-								"NautilusX2goumount",
-								&info, 0);
+	                                               G_TYPE_OBJECT,
+	                                               "NautilusX2goumount",
+	                                               &info, 0);
 
 	g_type_module_add_interface (module,
-								x2goumount_type,
-								NAUTILUS_TYPE_MENU_PROVIDER,
-								&menu_provider_iface_info);
-	
+	                             x2goumount_type,
+	                             NAUTILUS_TYPE_MENU_PROVIDER,
+	                             &menu_provider_iface_info);
+
 }
 


hooks/post-receive
-- 
x2gognomebindings.git (GNOME bindings 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 "x2gognomebindings.git" (GNOME bindings for X2Go).




More information about the x2go-commits mailing list