Re: [maemo-developers] Question about intercepting the HOME button

2006-03-15 Thread Keywan Najafi Tonekaboni
Hi, Tapani Pälli wrote: HOME-key is special. HOME button should always take you to home whatever the situation is (even if input is being grabbed by a menu). Therefore this key is handled in lower levels and Gtk application cannot do things with it. BTW: wouldn't it be nice, when the button br

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Kalle Vahlman
On 3/15/06, Ramiro Estrugo <[EMAIL PROTECTED]> wrote: > So my question is where is the code in maemo_af_desktop that catches the > GDK_F5 and turns into some kind of message so that I can comment it out > ? The key snooper was installed in hildon-home/hildon-home-main.c:hildon_home_main(), but it

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Tapani Pälli
ext Ramiro Estrugo wrote: > Yes I know thats how it works, which is why Im asking how to hack it. > > OK > And yes, I realize i want to do something evil, perhaps. But, its for > my own personal app and amusement. > > You are free to be evil :-) I was just making sure that if you want to de

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Kalle Vahlman
On 3/15/06, Ramiro Estrugo <[EMAIL PROTECTED]> wrote: > I am using the 1.1 version of the maemo sdk release. > > Do I need something even newer, from svn ? No, but it appears that it is indeed handled differently than normal keypresses so basically you're out of luck without some deep hacking. Th

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Ramiro Estrugo
Yes I know thats how it works, which is why Im asking how to hack it. And yes, I realize i want to do something evil, perhaps. But, its for my own personal app and amusement. -re Tapani Pälli wrote: >HOME-key is special. HOME button should always take you to home whatever >the situation is (ev

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Ramiro Estrugo
I am using the 1.1 version of the maemo sdk release. Do I need something even newer, from svn ? -re Kalle Vahlman wrote: >The key snooper was installed in >hildon-home/hildon-home-main.c:hildon_home_main(), but it was removed >at > >2005-08-30 Karoliina Salminen <[EMAIL PROTECTED]> > >

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Tapani Pälli
ext Ramiro Estrugo wrote: > Hi maemo hackers. > > I want to handle HOME button event and CONSUME it. > > I tried hacking HildonAppView to not register a gtk key event snooper > to handle the HOME key (which seems to be an alias for GDK_F5) > > This didnt work. The app no longer handles the HOME ke

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Benjamin Zeller
You are right the maemo-af-desktop handles the key. I already written a patch where you can switch off the home button by sending a DBus Message to maemo-af-desktop. But you have to create a new rootfs and flash it to your nokia. If you need the patch send me a email. BTW the patch is for the cu

[maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Ramiro Estrugo
Hi maemo hackers. I want to handle HOME button event and CONSUME it. I tried hacking HildonAppView to not register a gtk key event snooper to handle the HOME key (which seems to be an alias for GDK_F5) This didnt work. The app no longer handles the HOME key event but some other process does