# HG changeset patch # User Sadrul Habib Chowdhury # Date 1210439125 0 # Node ID 3f39147884ce2863e4f1d6188d1e24fe114944ad # Parent dfc99f5dec43edce2a36ccc4002329e615722862 Show some possibly helpful text in the tooltip for disabled smileys. diff -r dfc99f5dec43 -r 3f39147884ce pidgin/gtkimhtmltoolbar.c --- a/pidgin/gtkimhtmltoolbar.c Sat May 10 17:00:42 2008 +0000 +++ b/pidgin/gtkimhtmltoolbar.c Sat May 10 17:05:25 2008 +0000 @@ -685,6 +685,9 @@ if (strcmp(face, shortcut) == 0) { /* The smiley of the current button has the same shortcut as this custom smiley, grey it out */ + gtk_tooltips_set_tip(toolbar->tooltips, button, + _("This smiley is disabled because a custom smiley exists for this shortcut."), + NULL); gtk_widget_set_sensitive(button, FALSE); break; }