changeset 756:c5f455b6f79a

[gaim-migrate @ 766] Fixed a small bug with text not always displaying when it should. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 24 Aug 2000 17:55:04 +0000
parents 16c2682b5678
children 531c58849b28
files src/conversation.c src/dialogs.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Aug 24 17:44:09 2000 +0000
+++ b/src/conversation.c	Thu Aug 24 17:55:04 2000 +0000
@@ -426,7 +426,7 @@
 		remove_buddy(find_group_by_buddy(c->name), find_buddy(c->name));
 		build_edit_tree();
 		gtk_widget_destroy(c->add_button);
-		c->add_button = picture_button(c->window, NULL, gnome_add_xpm);
+		c->add_button = picture_button2(c->window, _("Add"), gnome_add_xpm, display_options & OPT_DISP_CONV_SHOW_TEXT);
 		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_reorder_child(GTK_BOX(parent), c->add_button, 1);
--- a/src/dialogs.c	Thu Aug 24 17:44:09 2000 +0000
+++ b/src/dialogs.c	Thu Aug 24 17:55:04 2000 +0000
@@ -782,7 +782,7 @@
         if (c != NULL) {
 		GtkWidget *parent = c->add_button->parent;
 		gtk_widget_destroy(c->add_button);
-		c->add_button = picture_button(c->window, NULL, gnome_remove_xpm);
+		c->add_button = picture_button2(c->window, _("Remove"), gnome_remove_xpm, display_options & OPT_DISP_CONV_SHOW_TEXT);
 		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_reorder_child(GTK_BOX(parent), c->add_button, 1);