# HG changeset patch
# User Gabriel Schulhof <nix@go-nix.ca>
# Date 1186597951 0
# Node ID 8a38c99cc2511f73a10c834fa4f24d8d713bd609
# Parent  e12fb409262fd2925add973859275755a10608d4
Testing out show-with-parent.

diff -r e12fb409262f -r 8a38c99cc251 pidgin/gtkblist.c
--- a/pidgin/gtkblist.c	Wed Aug 08 18:17:36 2007 +0000
+++ b/pidgin/gtkblist.c	Wed Aug 08 18:32:31 2007 +0000
@@ -2837,6 +2837,11 @@
 			!purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/debug/enabled"));
 }
 
+static void
+pidgin_blist_show_with_parent(gpointer data1, gpointer data2, gpointer data3)
+{
+	g_print("Break here\n");
+}
 
 /***************************************************
  *            Crap                                 *
@@ -2845,7 +2850,7 @@
 {
 	/* Buddies menu */
 	{ N_("/_Buddies"), NULL, NULL, 0, "<Branch>", NULL },
-	{ N_("/Buddies/New Instant _Message..."), "<CTL>M", pidgin_dialogs_im, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW },
+	{ N_("/Buddies/New Instant _Message..."), "<CTL>M", pidgin_blist_show_with_parent, (int)pidgin_dialogs_im, "<StockItem>", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW },
 	{ N_("/Buddies/Join a _Chat..."), "<CTL>C", pidgin_blist_joinchat_show, 0, "<Item>", NULL },
 	{ N_("/Buddies/Get User _Info..."), "<CTL>I", pidgin_dialogs_info, 0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_USER_INFO },
 	{ N_("/Buddies/View User _Log..."), "<CTL>L", pidgin_dialogs_log, 0, "<Item>", NULL },