Hi,

last week I just changed my UI code to use GtkAction instead of directly
using GtkMenuItem and GtkToolItem. This brought me several advantages
and cleaner code.

Now I tried the new HildonAppMenu and it looks like it's no longer
possible to use GtkAction with it. The HildonAppMenu expect the menu
items to be GtkButtons, but GtkAction can only create GtkMenuItems and
GtkToolButtons which both don't inherit GtkButton :(

Does anyone have a better idea then to rewrite this code again? Maybe it
is somehow possible to convert a GtkToolButton into a normal GtkButton?
Or is it possible to create a GtkButton out of a GtkAction?

Someone must have seen this use case while designing the new API!?

Thanks!
Conny


_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to