Mercurial > pidgin.yaz
changeset 13339:d46a27d29eed
[gaim-migrate @ 15709]
Clear formatting is only useful if the conversation imhtml is editable.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 27 Feb 2006 19:40:46 +0000 |
parents | 0f708ed02902 |
children | c6ab9c1cf28d |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkimhtml.c Mon Feb 27 19:31:30 2006 +0000 +++ b/src/gtkimhtml.c Mon Feb 27 19:40:46 2006 +0000 @@ -833,6 +833,7 @@ /* XXX: make this new with mnemonic, and HIG-happy after string thaw */ menuitem = gtk_menu_item_new_with_label(_("Clear formatting")); gtk_widget_show(menuitem); + gtk_widget_set_sensitive(menuitem, imhtml->editable); /* put it after Delete */ gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menuitem, 5);