[gaim-migrate @ 15709]

Mon, 27 Feb 2006 19:40:46 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Mon, 27 Feb 2006 19:40:46 +0000
changeset 13340
e18166659513
parent 13339
781d47b2636c
child 13341
7aea080ea72d

[gaim-migrate @ 15709]
Clear formatting is only useful if the conversation imhtml is editable.

src/gtkimhtml.c file | annotate | diff | comparison | revisions
--- 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);
 

mercurial