# HG changeset patch # User Mark Doliner # Date 1071553290 0 # Node ID d12b234959d5fcf99a7ff5753cfd0ec028e76913 # Parent 4b43a3f9de736ac1fe87ca1d402debfd7d79f258 [gaim-migrate @ 8546] Make sure the bgcolor button gets grayed out for protocols that aren't as good as oscar committer: Tailor Script diff -r 4b43a3f9de73 -r d12b234959d5 src/gtkconv.c --- a/src/gtkconv.c Tue Dec 16 05:29:37 2003 +0000 +++ b/src/gtkconv.c Tue Dec 16 05:41:30 2003 +0000 @@ -2181,6 +2181,8 @@ /* Deal with the toolbar */ gtk_widget_set_sensitive(gtkconv->toolbar.image, (prpl_info->options & OPT_PROTO_IM_IMAGE)); + gtk_widget_set_sensitive(gtkconv->toolbar.bgcolor, + !(gc->flags & GAIM_CONNECTION_NO_BGCOLOR)); /* Deal with menu items */ gtk_widget_set_sensitive(gtkwin->menu.view_log, TRUE);