Re: [RFC] Why GtkMenuItem hide_on_activate property is not taken into account?

2012-09-03 Thread Tomasz Bursztyka
Hi, You're better off proposing this patch in a bug report on https://bugzilla.gnome.org I finally circumvented the usage of hide_on_activate through widget's button_release_event. This solves my issue at least. However, hide_on_activate property seems pretty confusing and limited to me (not

Re: [RFC] Why GtkMenuItem hide_on_activate property is not taken into account?

2012-08-31 Thread Michael Cronenworth
Tomasz Bursztyka wrote: [snip] > So my question is: how to get this behavior for my GtkSwitchMenuItem, > properly done with existing GtkMenuShell/GtkMenuItem functions/signals? > What signals should I catch or which function should I override? You're better off proposing this patch in a bug repo

[RFC] Why GtkMenuItem hide_on_activate property is not taken into account?

2012-08-31 Thread Tomasz Bursztyka
--- Hi, I just propose a patch below, on gtk core, to illustrate the issue I will talk about. I have probably missed how to derivate from GtkMenuItem properly to fit my use case. While playing around a GtkStatusIcon, so with GtkMenuShell/GtkMenu and GtkMenuItem afterwards, I wanted to get a new