| 1527 |
1527 |
| 1528 /* set attention button to be greyed out until we get a conversation */ |
1528 /* set attention button to be greyed out until we get a conversation */ |
| 1529 gtk_action_set_sensitive(priv->attention, FALSE); |
1529 gtk_action_set_sensitive(priv->attention, FALSE); |
| 1530 |
1530 |
| 1531 gtk_action_set_sensitive(priv->smiley, |
1531 gtk_action_set_sensitive(priv->smiley, |
| 1532 (gboolean)pidgin_themes_get_proto_smileys(NULL)); |
1532 pidgin_themes_get_proto_smileys(NULL) != NULL); |
| 1533 |
1533 |
| 1534 purple_prefs_connect_callback(toolbar, |
1534 purple_prefs_connect_callback(toolbar, |
| 1535 PIDGIN_PREFS_ROOT "/conversations/toolbar/wide", |
1535 PIDGIN_PREFS_ROOT "/conversations/toolbar/wide", |
| 1536 webviewtoolbar_view_pref_changed, toolbar); |
1536 webviewtoolbar_view_pref_changed, toolbar); |
| 1537 g_signal_connect_data(G_OBJECT(toolbar), "realize", |
1537 g_signal_connect_data(G_OBJECT(toolbar), "realize", |
| 1630 gtk_action_set_sensitive(priv->attention, |
1630 gtk_action_set_sensitive(priv->attention, |
| 1631 conv && prpl && PURPLE_IS_IM_CONVERSATION(conv) && |
1631 conv && prpl && PURPLE_IS_IM_CONVERSATION(conv) && |
| 1632 PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL); |
1632 PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL); |
| 1633 |
1633 |
| 1634 gtk_action_set_sensitive(priv->smiley, |
1634 gtk_action_set_sensitive(priv->smiley, |
| 1635 (gboolean)pidgin_themes_get_proto_smileys(priv->sml)); |
1635 pidgin_themes_get_proto_smileys(priv->sml) != NULL); |
| 1636 } |
1636 } |
| 1637 |
1637 |
| 1638 void |
1638 void |
| 1639 gtk_webviewtoolbar_activate(GtkWebViewToolbar *toolbar, |
1639 gtk_webviewtoolbar_activate(GtkWebViewToolbar *toolbar, |
| 1640 GtkWebViewAction action) |
1640 GtkWebViewAction action) |