[evolution/webkit: 82/154] Fix position of EAttachmentButton popup menu



commit 6bb6f37f34a9a74cf4eb03a3d31ad3cc2f30c2ce
Author: Dan VrÃtil <dvratil redhat com>
Date:   Thu Dec 15 12:12:39 2011 +0100

    Fix position of EAttachmentButton popup menu
    
    Behaviour of positioning of the popup menu now conform with Evo 3.2

 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 50ceabe..fd6c328 100644
--- a/widgets/misc/e-attachment-button.c
+++ b/widgets/misc/e-attachment-button.c
@@ -105,7 +105,7 @@ attachment_button_menu_position (GtkMenu *menu,
 		monitor_num = 0;
 	gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
 
-	gtk_widget_get_allocation (widget, &allocation);
+	gtk_widget_get_allocation (button->priv->expand_button, &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]