changeset 19810:8a38c99cc251

Testing out show-with-parent.
author Gabriel Schulhof <nix@go-nix.ca>
date Wed, 08 Aug 2007 18:32:31 +0000
parents e12fb409262f
children e91f9b65407c
files pidgin/gtkblist.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 },