diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-14 10:17:44 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-14 10:17:44 +0000 |
commit | b5e850c9a89eb65036fee056776817c4969ff803 (patch) | |
tree | 1d1ece252dc3678b8c6204ae0189edf028d5eee6 /src/menu.c | |
parent | 13cda7cefaab6b0eef7b4718629f8ce31cd9eff0 (diff) |
fixed popup menu position.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@8 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |