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



commit d3dae31977a1dd2bcdfdfeea5df72555ac682452
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 ff8163b..bb4afb8 100644
--- a/widgets/misc/e-attachment-button.c
+++ b/widgets/misc/e-attachment-button.c
@@ -106,7 +106,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]