pidgin/pidgin

Restore a minor comment.
cpw.qulogic.gtk3
2012-02-26, Elliott Sales de Andrade
a220ff789fa7
Parents 0f7818aebe38
Children eb6d0bc96690
Restore a minor comment.
--- 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);