changeset 23136:3f39147884ce

Show some possibly helpful text in the tooltip for disabled smileys.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 10 May 2008 17:05:25 +0000
parents dfc99f5dec43
children 53b3c75c9e26
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}