[gnome-bluetooth] Fix the agent dialogue test



commit 47b3c13118b7c2921da8b158b953caa40454baca
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jun 14 00:30:28 2009 +0100

    Fix the agent dialogue test

 applet/test-agentdialog.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/applet/test-agentdialog.c b/applet/test-agentdialog.c
index 806a022..9a7b090 100644
--- a/applet/test-agentdialog.c
+++ b/applet/test-agentdialog.c
@@ -22,6 +22,7 @@
  */
 
 #include "agent.c"
+#include "notify.h"
 
 static void activate_callback(GObject *widget, gpointer user_data)
 {
@@ -51,6 +52,7 @@ int main(int argc, char *argv[])
 		return 1;
 	}
 
+	set_icon (TRUE);
 	statusicon = init_notification();
 
 	g_signal_connect(statusicon, "activate",
@@ -66,8 +68,8 @@ int main(int argc, char *argv[])
 
 	//display_dialog(adapter, device, "Test (00:11:22:33:44:55)", "123456", 0, NULL);
 	passkey_dialog(adapter, device, "Test (00:11:22:33:44:55)", FALSE, NULL);
-	//confirm_dialog(adapter, device, "Test (00:11:22:33:44:55)", "123456", NULL);
-	//auth_dialog(adpater, device, "Test (00:11:22:33:44:55)", "UUID", NULL);
+	confirm_dialog(adapter, device, "Test (00:11:22:33:44:55)", "123456", NULL);
+	auth_dialog(adapter, device, "Test (00:11:22:33:44:55)", "UUID", NULL);
 
 	gtk_main();
 



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