pidgin: 6b146c92: I noticed the other day that we don't ha...

deryni at pidgin.im deryni at pidgin.im
Tue Jul 21 19:50:47 EDT 2009


-----------------------------------------------------------------
Revision: 6b146c92bd0f878c7321a914c74044d50273abcf
Ancestor: 163abc5a31af2aee66d280074e0e2eb984dc9834
Author: deryni at pidgin.im
Date: 2009-07-10T02:44:50
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6b146c92bd0f878c7321a914c74044d50273abcf

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

I noticed the other day that we don't have a "Join a Chat" menu item in the
Conversation menu. This fixes that.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	f6508421e7282993dd2e543bf571bc3c428e602f
+++ pidgin/gtkconv.c	6cfa9cecb90ca9417c1a4103e7dd9a51fc90a19a
@@ -959,6 +959,12 @@ static void
 }
 
 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 @@ static GtkItemFactoryEntry menu_items[] 
 
 	{ 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 },
 


More information about the Commits mailing list