changeset 824:4886f52e04c3

[gaim-migrate @ 834] well, there are still *some* penguins..... people would get mad if the Devil Pixmaps option didn't work :-P my vote is, remove the penguins, and the daemons will follow..... committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Sep 2000 16:47:56 +0000
parents 536931b5109b
children 9108277c95e9
files src/buddy.c
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Fri Sep 01 15:30:43 2000 +0000
+++ b/src/buddy.c	Fri Sep 01 16:47:56 2000 +0000
@@ -240,9 +240,15 @@
 void update_button_pix()
 {
 
-	adjust_pic(addbutton, _("Add"), (gchar **)buddyadd_xpm);
-	adjust_pic(groupbutton, _("Group"), NULL);
-	adjust_pic(rembutton, _("Remove"), (gchar **)buddydel_xpm);
+	if (display_options & OPT_DISP_DEVIL_PIXMAPS) {
+		adjust_pic(addbutton, _("Add"), (gchar **)daemon_buddyadd_xpm);
+		adjust_pic(groupbutton, _("Group"), NULL);
+		adjust_pic(rembutton, _("Remove"), (gchar **)daemon_buddydel_xpm);
+	} else {
+		adjust_pic(addbutton, _("Add"), (gchar **)buddyadd_xpm);
+		adjust_pic(groupbutton, _("Group"), NULL);
+		adjust_pic(rembutton, _("Remove"), (gchar **)buddydel_xpm);
+	}
 	if (!(display_options & OPT_DISP_NO_BUTTONS)) {
 		adjust_pic(chatbutton, _("Chat"), (gchar **)tb_search_xpm);
 	        adjust_pic(imbutton, _("IM"), (gchar **)tmp_send_xpm);