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



commit 5b6ee24d2af1abbd05c5e7c4c2cacfe932ff4893
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]