summaryrefslogtreecommitdiff
path: root/applet
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-06-14 00:30:28 +0100
committerBastien Nocera <hadess@hadess.net>2009-06-14 00:30:28 +0100
commit47b3c13118b7c2921da8b158b953caa40454baca (patch)
tree8fc1ea9a2431f06eb64f0bddfa7539afc54f7ce8 /applet
parentd9b7827b76fa4b723fd6a458146ac3bae0b474b2 (diff)
downloadgnome-bluetooth-47b3c13118b7c2921da8b158b953caa40454baca.tar.gz
Fix the agent dialogue test
Diffstat (limited to 'applet')
-rw-r--r--applet/test-agentdialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/applet/test-agentdialog.c b/applet/test-agentdialog.c
index 806a0227..9a7b0903 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();