changeset 2845:0c10058610a0

[gaim-migrate @ 2858] it's december. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 04 Dec 2001 19:51:27 +0000
parents e63cd7fdd9eb
children 4b3f17ca66bf
files src/buddy_chat.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy_chat.c	Tue Dec 04 08:04:21 2001 +0000
+++ b/src/buddy_chat.c	Tue Dec 04 19:51:27 2001 +0000
@@ -811,7 +811,10 @@
 
 static gint right_click_chat(GtkObject *obj, GdkEventButton *event, struct conversation *b)
 {
-	if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
+	if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) {
+		if (!find_conversation(gtk_object_get_user_data(obj)))
+			new_conversation(gtk_object_get_user_data(obj));
+	} else if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
 		GtkWidget *menu;
 		GtkWidget *button;