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



commit 7270d36ee6e4fd39bd04a7f422ec3c50a44d47cb
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]