diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-26 13:26:18 +0800 |
commit | bd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch) | |
tree | b693ad7ec135bd8031458611b5ec485abd866463 /widgets/misc/e-attachment-button.c | |
parent | 5f83c587b2da0b9578117796253b7726e98748cc (diff) | |
download | gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/misc/e-attachment-button.c')
-rw-r--r-- | widgets/misc/e-attachment-button.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c index a6af71e216..adf40d4df4 100644 --- a/widgets/misc/e-attachment-button.c +++ b/widgets/misc/e-attachment-button.c @@ -109,11 +109,13 @@ attachment_button_menu_position (GtkMenu *menu, else if (menu_requisition.width > widget->allocation.width) *x -= menu_requisition.width - widget->allocation.width; - if ((*y + toggle_button->allocation.height + menu_requisition.height) <= monitor.y + monitor.height) + if ((*y + toggle_button->allocation.height + + menu_requisition.height) <= monitor.y + monitor.height) *y += toggle_button->allocation.height; else if ((*y - menu_requisition.height) >= monitor.y) *y -= menu_requisition.height; - else if (monitor.y + monitor.height - (*y + toggle_button->allocation.height) > *y) + else if (monitor.y + monitor.height - + (*y + toggle_button->allocation.height) > *y) *y += toggle_button->allocation.height; else *y -= menu_requisition.height; |