changeset 19601:979d1b4fbe35

If a prpl doesn't support icons then hide the "use a custom icon?" checkbox in the account editor. Previously we were hiding the icon selector and the "remove" button, but not the check box.
author Mark Doliner <mark@kingant.net>
date Mon, 03 Sep 2007 09:02:23 +0000
parents 8b887be774e2
children fe51c6de1a7f
files pidgin/gtkaccount.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Mon Sep 03 07:01:52 2007 +0000
+++ b/pidgin/gtkaccount.c	Mon Sep 03 09:02:23 2007 +0000
@@ -653,6 +653,7 @@
 			gtk_widget_hide(dialog->new_mail_check);
 
 		if (dialog->prpl_info->icon_spec.format == NULL)
+			gtk_widget_hide(dialog->icon_check);
 			gtk_widget_hide(dialog->icon_hbox);
 	}