# HG changeset patch # User Sadrul Habib Chowdhury # Date 1179287186 0 # Node ID 80350acaa289475b362e97acfdcd0e2cc88684a6 # Parent 8ebd53003230bd9599bf0c56d3e41f4e145bbdc2 Fix background color issues in the coversation tabs. diff -r 8ebd53003230 -r 80350acaa289 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Wed May 16 02:38:32 2007 +0000 +++ b/pidgin/gtkconv.c Wed May 16 03:46:26 2007 +0000 @@ -8304,6 +8304,7 @@ } ebox = gtk_event_box_new(); + gtk_event_box_set_visible_window(GTK_EVENT_BOX(ebox), FALSE); gtk_container_add(GTK_CONTAINER(ebox), gtkconv->tabby); g_signal_connect(G_OBJECT(ebox), "button-press-event", G_CALLBACK(alias_double_click_cb), gtkconv); diff -r 8ebd53003230 -r 80350acaa289 pidgin/gtkdnd-hints.c --- a/pidgin/gtkdnd-hints.c Wed May 16 02:38:32 2007 +0000 +++ b/pidgin/gtkdnd-hints.c Wed May 16 03:46:26 2007 +0000 @@ -91,8 +91,6 @@ if (w->parent && w->parent->window == w->window) { get_widget_coords(w->parent, &ox, &oy, NULL, NULL); - ox += w->allocation.x; - oy += w->allocation.y; height = w->allocation.height; width = w->allocation.width; } @@ -174,6 +172,8 @@ gint x = 0, y = 0; get_widget_coords(widget, &x1, &y1, &x2, &y2); + x1 += widget->allocation.x; x2 += widget->allocation.x; + y1 += widget->allocation.y; y2 += widget->allocation.y; switch (horiz) {