diff src/dialogs.c @ 769:c075cf268129

[gaim-migrate @ 779] I'm Only Sleeping by the Beatles when i wake up early in the morning lift my head, i'm still yawning when i'm in the middle of a dream stay in bed, float upstream (chorus) please don't wake me, no don't shake me, leave me where i am, i'm only sleeping everybody seems to think i'm lazy i don't mind. i think they're crazy running everywhere at such a speed until they find there's no need (chorus) (chorus) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 25 Aug 2000 22:03:29 +0000
parents 936c132ea0a1
children bddbc51abc43
line wrap: on
line diff
--- a/src/dialogs.c	Fri Aug 25 21:18:35 2000 +0000
+++ b/src/dialogs.c	Fri Aug 25 22:03:29 2000 +0000
@@ -780,11 +780,12 @@
         add_buddy(grp, who, NULL);
 
         if (c != NULL) {
+		gboolean dispstyle = (display_options & OPT_DISP_CONV_SHOW_TEXT) ? TRUE : FALSE;
 		GtkWidget *parent = c->add_button->parent;
 		gtk_widget_destroy(c->add_button);
-		c->add_button = picture_button2(c->window, _("Remove"), gnome_remove_xpm, display_options & OPT_DISP_CONV_SHOW_TEXT);
+		c->add_button = picture_button2(c->window, _("Remove"), gnome_remove_xpm, dispstyle);
 		gtk_signal_connect(GTK_OBJECT(c->add_button), "clicked", GTK_SIGNAL_FUNC(add_callback), c);
-		gtk_box_pack_end(GTK_BOX(parent), c->add_button, FALSE, FALSE, 0);
+		gtk_box_pack_end(GTK_BOX(parent), c->add_button, dispstyle, dispstyle, 0);
 		gtk_box_reorder_child(GTK_BOX(parent), c->add_button, 1);
 		gtk_widget_show(c->add_button);
 	}