diff pidgin/gtkconv.c @ 28318:38f09799476a

Didn't realize I hadn't pushed this before the string freeze so we get to do it here instead. *** Plucked rev 6b146c92bd0f878c7321a914c74044d50273abcf (deryni@pidgin.im): I noticed the other day that we don't have a \"Join a Chat\" menu item in the Conversation menu. This fixes that.
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 22 Jul 2009 02:34:56 +0000
parents a12574d982a1
children 901476dc70b9
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Tue Jul 21 05:17:09 2009 +0000
+++ b/pidgin/gtkconv.c	Wed Jul 22 02:34:56 2009 +0000
@@ -959,6 +959,12 @@
 }
 
 static void
+menu_join_chat_cb(gpointer data, guint action, GtkWidget *widget)
+{
+	pidgin_blist_joinchat_show();
+}
+
+static void
 savelog_writefile_cb(void *user_data, const char *filename)
 {
 	PurpleConversation *conv = (PurpleConversation *)user_data;
@@ -3133,6 +3139,8 @@
 
 	{ N_("/Conversation/New Instant _Message..."), "<CTL>M", menu_new_conv_cb,
 			0, "<StockItem>", PIDGIN_STOCK_TOOLBAR_MESSAGE_NEW },
+	{ N_("/Conversation/Join a _Chat..."), "<CTL>C", menu_join_chat_cb,
+			0, "<StockItem>", PIDGIN_STOCK_CHAT },
 
 	{ "/Conversation/sep0", NULL, NULL, 0, "<Separator>", NULL },