| 783 gtk_widget_set_tooltip_text(button, face); |
783 gtk_widget_set_tooltip_text(button, face); |
| 784 |
784 |
| 785 /* these look really weird with borders */ |
785 /* these look really weird with borders */ |
| 786 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); |
786 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); |
| 787 |
787 |
| |
788 #if 0 |
| 788 psmiley = purple_smileys_find_by_shortcut(face); |
789 psmiley = purple_smileys_find_by_shortcut(face); |
| |
790 #else |
| |
791 psmiley = NULL; |
| |
792 #endif |
| 789 /* If this is a "non-custom" smiley, check to see if its shortcut is |
793 /* If this is a "non-custom" smiley, check to see if its shortcut is |
| 790 "shadowed" by any custom smiley. This can only happen if the connection |
794 "shadowed" by any custom smiley. This can only happen if the connection |
| 791 is custom smiley-enabled */ |
795 is custom smiley-enabled */ |
| 792 if (supports_custom && psmiley |
796 if (supports_custom && psmiley |
| 793 && !(pidgin_webview_smiley_get_flags(smiley) & PIDGIN_WEBVIEW_SMILEY_CUSTOM)) { |
797 && !(pidgin_webview_smiley_get_flags(smiley) & PIDGIN_WEBVIEW_SMILEY_CUSTOM)) { |