diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-12-21 16:33:19 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-12-21 16:33:19 +0800 |
commit | 752f32f7dbd4d99f159abdd591e164cf00741b0d (patch) | |
tree | c9f991266c8318b9e247aba65953ec56c8012d69 /calendar/gui/e-meeting-time-sel.c | |
parent | 5b829e4499c89ffce85c7d36e1b68a30df41ec68 (diff) | |
download | gsoc2013-evolution-752f32f7dbd4d99f159abdd591e164cf00741b0d.tar.gz gsoc2013-evolution-752f32f7dbd4d99f159abdd591e164cf00741b0d.tar.zst gsoc2013-evolution-752f32f7dbd4d99f159abdd591e164cf00741b0d.zip |
Changed the code in options and autopick call back in e-meeting-time-sel.c
so that the menus drop at appropriate positions as suggested in the report
of the bug #248133
svn path=/trunk/; revision=30918
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 46c8deb2f5..801347ce3b 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -1438,7 +1438,7 @@ e_meeting_time_selector_options_menu_position_callback (GtkMenu *menu, /* Calculate our preferred position. */ gdk_window_get_origin (mts->options_button->window, x, y); *x += mts->options_button->allocation.x; - *y += mts->options_button->allocation.y + mts->options_button->allocation.height / 2 - 2; + *y += mts->options_button->allocation.y + mts->options_button->allocation.height - 2; /* Now make sure we are on the screen. */ gtk_widget_size_request (mts->options_menu, &menu_requisition); @@ -1487,7 +1487,7 @@ e_meeting_time_selector_autopick_menu_position_callback (GtkMenu *menu, /* Calculate our preferred position. */ gdk_window_get_origin (mts->autopick_button->window, x, y); *x += mts->autopick_button->allocation.x; - *y += mts->autopick_button->allocation.y + mts->autopick_button->allocation.height / 2 - 2; + *y += mts->autopick_button->allocation.y + mts->autopick_button->allocation.height - 2; /* Now make sure we are on the screen. */ gtk_widget_size_request (mts->autopick_menu, &menu_requisition); |