changeset 27413:dbdad6bbf382

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 Fri, 10 Jul 2009 02:44:50 +0000
parents ae6f3da265a2
children 605b950f4644 2e6482e80a16
files pidgin/gtkconv.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Wed Jul 08 14:50:49 2009 +0000
+++ b/pidgin/gtkconv.c	Fri Jul 10 02:44:50 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 },