Mercurial > pidgin
changeset 17103:80350acaa289
Fix background color issues in the coversation tabs.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 16 May 2007 03:46:26 +0000 |
parents | 8ebd53003230 |
children | 7cdc1d7fad55 |
files | pidgin/gtkconv.c pidgin/gtkdnd-hints.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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) {