pidgin/gtkimhtmltoolbar.c

branch
soc.2013.gobjectification
changeset 34662
f14347f38e3b
parent 33683
bf243e3394a7
child 34940
c0aef3b64c56
child 36362
e518ad02107d
equal deleted inserted replaced
34661:d9079090f7fe 34662:f14347f38e3b
1598 g_object_set_data(G_OBJECT(toolbar), "active_conv", conv); 1598 g_object_set_data(G_OBJECT(toolbar), "active_conv", conv);
1599 1599
1600 /* gray out attention button on protocols that don't support it 1600 /* gray out attention button on protocols that don't support it
1601 for the time being it is always disabled for chats */ 1601 for the time being it is always disabled for chats */
1602 gtk_widget_set_sensitive(toolbar->attention, 1602 gtk_widget_set_sensitive(toolbar->attention,
1603 conv && prpl && purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM && 1603 conv && prpl && PURPLE_IS_IM_CONVERSATION(conv) &&
1604 PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL); 1604 PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL);
1605 } 1605 }
1606 1606

mercurial