[evolution/webkit] Revert "Fix position of EAttachmentButton popup menu"



commit e6c161442d1426247547658b4ba20095f4a34f3e
Author: Dan VrÃtil <dvratil redhat com>
Date:   Fri Feb 10 20:03:19 2012 +0100

    Revert "Fix position of EAttachmentButton popup menu"
    
    This reverts commit efe80fc615beb5e3aaf90cc592ecbd3416810a68.

 widgets/misc/e-attachment-button.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c
index e9a7d86..51099b0 100644
--- a/widgets/misc/e-attachment-button.c
+++ b/widgets/misc/e-attachment-button.c
@@ -102,7 +102,7 @@ attachment_button_menu_position (GtkMenu *menu,
 		monitor_num = 0;
 	gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
 
-	gtk_widget_get_allocation (button->priv->expand_button, &allocation);
+	gtk_widget_get_allocation (widget, &allocation);
 
 	gdk_window_get_origin (window, x, y);
 	*x += allocation.x;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]