Gtk Popup Menu accelerators not working

2005-07-08 Thread Gaurav Jain
Hi, I'm creating a pop-up menu which is shown when I click inside a button. I added accelerators to the menu items (CTRL + B), but these do not work. If I explicitly pop up the menu and then click on the menu item, then the activate signal is called for the menu item, but not if I use the

Re: Gtk Popup Menu accelerators not working

2005-07-08 Thread Daniel Pekelharing
On Fri, 2005-07-08 at 13:32 +0530, Gaurav Jain wrote: Hi, I'm creating a pop-up menu which is shown when I click inside a button. I added accelerators to the menu items (CTRL + B), but these do not work. If I explicitly pop up the menu and then click on the menu item, then the activate

Re: Gtk Popup Menu accelerators not working

2005-07-08 Thread Gaurav Jain
Thank you so much! Yes, that worked. -Gaurav On 7/8/05, Daniel Pekelharing [EMAIL PROTECTED] wrote: On Fri, 2005-07-08 at 13:32 +0530, Gaurav Jain wrote: Hi, I'm creating a pop-up menu which is shown when I click inside a button. I added accelerators to the menu items (CTRL + B), but

Re: Gtk Popup Menu accelerators not working

2005-07-08 Thread Gaurav Jain
Hi Again, I had another query in relation to Menu accelerators. I need to add more than one accelerator to the same menu item. Say, CTRL + B, and CTRL + I, both added to the activate signal. Now when I press CTRL + B, the activate callback is called, but there seems to be no way for me to know