Restore a minor comment. cpw.qulogic.gtk3

Sun, 26 Feb 2012 08:21:37 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 26 Feb 2012 08:21:37 +0000
branch
cpw.qulogic.gtk3
changeset 32950
a220ff789fa7
parent 32949
0f7818aebe38
child 32951
eb6d0bc96690

Restore a minor comment.

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Sun Feb 26 07:55:12 2012 +0000
+++ b/pidgin/gtkconv.c	Sun Feb 26 08:21:37 2012 +0000
@@ -3372,7 +3372,7 @@
 		gtk_action_set_sensitive(win->video_call,
 				caps & PURPLE_MEDIA_CAPS_VIDEO
 				? TRUE : FALSE);
-		gtk_action_set_sensitive(win->audio_video_call, 
+		gtk_action_set_sensitive(win->audio_video_call,
 				caps & PURPLE_MEDIA_CAPS_AUDIO_VIDEO
 				? TRUE : FALSE);
 	} else if (purple_conversation_get_type(conv)
@@ -3601,6 +3601,9 @@
 	win->menu.menubar =
 		gtk_ui_manager_get_widget(win->menu.ui, "/Conversation");
 
+	/* Make sure the 'Conversation -> More' menuitems are regenerated whenever
+	 * the 'Conversation' menu pops up because the entries can change after the
+	 * conversation is created. */
 	menuitem = gtk_ui_manager_get_widget(win->menu.ui, "/Conversation/ConversationMenu");
 	g_signal_connect(G_OBJECT(menuitem), "activate", G_CALLBACK(menubar_activated), win);
 

mercurial