changeset 4486:c3281e2af992

[gaim-migrate @ 4761] Adobe Systems Inc. has reached a settlement agreement with attornies representing the Gaim project on all litigation. Both sides would like to keep the details of the settlement undisclosed. Macromedia Inc. reached a similar settlement with Adobe when they were sued for infringing on the same patent. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 31 Jan 2003 01:56:43 +0000
parents f2c1cc22251e
children abb0c3eccc76
files src/gtkconv.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Fri Jan 31 00:50:34 2003 +0000
+++ b/src/gtkconv.c	Fri Jan 31 01:56:43 2003 +0000
@@ -3197,8 +3197,15 @@
 						   G_CALLBACK(switch_conv_cb), win);
 
 	/* Setup the tab drag and drop signals. */
+	gtk_widget_add_events(gtkwin->notebook,
+				GDK_BUTTON1_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);
+	g_signal_connect(G_OBJECT(gtkwin->notebook), "button_press_event",
+			 G_CALLBACK(notebook_press_cb), win);
+	g_signal_connect(G_OBJECT(gtkwin->notebook), "button_release_event",
+			 G_CALLBACK(notebook_release_cb), win);
+	
 	testidea = gtk_vbox_new(FALSE, 0);
-
+	
 	/* Setup the menubar. */
 	menubar = setup_menubar(win);
 	gtk_box_pack_start(GTK_BOX(testidea), menubar, FALSE, TRUE, 0);