Position array menu freely to avoid a GTK+ bug on Hildon
This commit is contained in:
parent
183878db8c
commit
04ebfb4733
1 changed files with 6 additions and 0 deletions
|
@ -388,8 +388,14 @@ katze_array_action_proxy_clicked_cb (GtkWidget* proxy,
|
|||
if (array == array_action->array)
|
||||
g_signal_emit (array_action, signals[POPULATE_POPUP], 0, menu);
|
||||
|
||||
#if HAVE_HILDON
|
||||
/* Avoid a bug in GTK+ messing up the initial scrolling position */
|
||||
katze_widget_popup (NULL, GTK_MENU (menu),
|
||||
NULL, KATZE_MENU_POSITION_LEFT);
|
||||
#else
|
||||
katze_widget_popup (GTK_WIDGET (proxy), GTK_MENU (menu),
|
||||
NULL, KATZE_MENU_POSITION_LEFT);
|
||||
#endif
|
||||
}
|
||||
|
||||
static GtkWidget*
|
||||
|
|
Loading…
Reference in a new issue