nautilus-sendto r397 - in trunk: . src/plugins/bluetooth



Author: hadess
Date: Tue Feb 10 22:24:13 2009
New Revision: 397
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=397&view=rev

Log:
2009-02-10  Bastien Nocera  <hadess hadess net>

	* src/plugins/bluetooth/bluetooth.c (validate_destination):
	Also look for 0x1105 in the UUIDs, patch from
	Mario Limonciello <mario_limonciello dell com>
	(Closes: #567485)



Modified:
   trunk/ChangeLog
   trunk/src/plugins/bluetooth/bluetooth.c

Modified: trunk/src/plugins/bluetooth/bluetooth.c
==============================================================================
--- trunk/src/plugins/bluetooth/bluetooth.c	(original)
+++ trunk/src/plugins/bluetooth/bluetooth.c	Tue Feb 10 22:24:13 2009
@@ -31,6 +31,7 @@
 
 #include "nautilus-sendto-plugin.h"
 
+#define OBEX_PUSH_SVCLASS_ID_STR "0x1105"
 #define OBEX_FILETRANS_SVCLASS_ID_STR "0x1106"
 #define LAST_OBEX_DEVICE "/desktop/gnome/nautilus-sendto/last_obex_device"
 
@@ -480,7 +481,8 @@
 					uuid = g_strdup (array[i]);
 				}
 
-				if (strcmp (uuid, OBEX_FILETRANS_SVCLASS_ID_STR) == 0) {
+				if (strcmp (uuid, OBEX_FILETRANS_SVCLASS_ID_STR) == 0 ||
+				    strcmp (uuid, OBEX_PUSH_SVCLASS_ID_STR) == 0      ){
 					found = TRUE;
 					g_free (uuid);
 					break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]