cpw.qulogic.gtk3: 992b9989: Restore a minor comment.

qulogic at pidgin.im qulogic at pidgin.im
Mon Feb 27 18:12:09 EST 2012


----------------------------------------------------------------------
Revision: 992b99897ca8c5f55d7642f2021d018d30620acd
Parent:   3fd58dec73c72f9ffc86d7b8c5a84cc487a3370a
Author:   qulogic at pidgin.im
Date:     02/26/12 03:21:37
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/992b99897ca8c5f55d7642f2021d018d30620acd

Changelog: 

Restore a minor comment.

Changes against parent 3fd58dec73c72f9ffc86d7b8c5a84cc487a3370a

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	5b3ff229ab84a473b94dceeae51b68b50ac13e91
+++ pidgin/gtkconv.c	eb0dabcbc40d175f853fdb6a1738d12510795cdd
@@ -3372,7 +3372,7 @@ regenerate_media_items(PidginWindow *win
 		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 @@ setup_menubar(PidginWindow *win)
 	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);
 


More information about the Commits mailing list