From b5e850c9a89eb65036fee056776817c4969ff803 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 14 Jan 2005 10:17:44 +0000 Subject: fixed popup menu position. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@8 ee746299-78ed-0310-b773-934348b2243d --- src/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/menu.c b/src/menu.c index 82c40cd5..1528b96c 100644 --- a/src/menu.c +++ b/src/menu.c @@ -214,7 +214,7 @@ void menu_button_position(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, if (xpos + width > scr_width) xpos -= (xpos + width) - scr_width; if (ypos + height > scr_height) - ypos = button->requisition.height + height; + ypos -= button->requisition.height + height; if (xpos < 0) xpos = 0; if (ypos < 0) -- cgit v1.2.3