systray menu cannot expand dynamically

2013-04-26 Thread Tomasz Bursztyka
Hi, I already posted a while ago the same trouble, but still no definitive answer. I work with Gtk3, I did not tried that on Gtk2. There is actually a behavior "bug" on systray menu in Gnome3 and KDE4. Only those, all other WMs/DMs are working properly. I opened a bug for each, no answers ye

Menu not expanding when appending items

2013-01-03 Thread Tomasz Bursztyka
Hi, On a project (https://github.com/tbursztyka/connman-ui) I am adding dynamically menu items to a popup menu. (using gtk_menu_shell_append() and gtk_menu_shell_insert() in certain case) It works nice on awesome wm and xfce (at least on Gentoo, I don't know if it's distro related, probabl

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

[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