changeset 2350:0264a8a27e69

[gaim-migrate @ 2363] I have an Abba song stuck in my head but I don't know what it's called or what any of the words are, except "Take a chance on me". Just that one line, over and over and over and over. And all because my sound card driver doesn't work and I'm too lazy to switch the speakers from blue back to penguin. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 22 Sep 2001 11:35:00 +0000
parents 60c716c32c40
children 4e2d8992774e
files ChangeLog src/buddy_chat.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 22 11:22:59 2001 +0000
+++ b/ChangeLog	Sat Sep 22 11:35:00 2001 +0000
@@ -5,6 +5,8 @@
 	  SIGNALS)
 	* Major updates to event_chat_* events for plugins (reread
 	  SIGNALS)
+	* Some GtkIMHtml improvements
+	* Various bugfixes
 
 version 0.44 (09/20/2001):
 	* More sane scaling of buddy icons (intelligently scale to
--- a/src/buddy_chat.c	Sat Sep 22 11:22:59 2001 +0000
+++ b/src/buddy_chat.c	Sat Sep 22 11:35:00 2001 +0000
@@ -604,7 +604,10 @@
 		gtk_menu_append(GTK_MENU(menu), button);
 		gtk_widget_show(button);
 
-		button = gtk_menu_item_new_with_label(_("Ignore"));
+		if (g_list_find_custom(b->ignored, gtk_object_get_user_data(obj), (GCompareFunc)strcmp))
+			button = gtk_menu_item_new_with_label(_("Un-Ignore"));
+		else
+			button = gtk_menu_item_new_with_label(_("Ignore"));
 		gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(chat_press_ign), b);
 		gtk_object_set_user_data(GTK_OBJECT(button), obj);
 		gtk_menu_append(GTK_MENU(menu), button);
@@ -834,6 +837,8 @@
 	gtk_list_insert_items(GTK_LIST(b->list), g_list_append(NULL, list_item), pos);
 	gtk_widget_destroy(i->data);
 	gtk_widget_show(list_item);
+	gtk_signal_connect(GTK_OBJECT(list_item), "button_press_event",
+			   GTK_SIGNAL_FUNC(right_click_chat), b);
 }
 
 static gint delete_all_chats(GtkWidget *w, GdkEventAny *e, gpointer d)