![]() |
Re: WANTED: Tiny window-opener
You can run it from the menu as a service with the name you give it as a first parameter, that's what i'm initializing it with.
I like your signature :) |
Re: WANTED: Tiny window-opener
I made a new file, /usr/share/dbus-1/services/org.maemobox.bundyo.hostwin.service:
Code:
[D-BUS Service]I think the absolute best enhancement you could give me is the ability to run a shell script from within the program. When the shell script returns, the window closes and your program quits. The second best enhancement would be the ability to have a custom icon associated to the window. But if you do nothing else, you have helped me immensely! |
Re: WANTED: Tiny window-opener
It wouldn't complain about osso_initialize whenever you give at least one parameter. I'll add the other features whenever my wife gets up and stops Skyping ;)
|
Re: WANTED: Tiny window-opener
Redownload the archive - now takes third parameter - a path to start, waits for it to die, then closes. I'm setting an icon with the /usr/share/pixmaps/[first parameter].png, but i think maemo doesn't obey that and instead sets it from the .desktop file. Check older posts for info.
|
Re: WANTED: Tiny window-opener
Wow! That is marvellous! Icon works, script executes fast, window closes automatically...
The window text no longer displays, but everything is so fast now, I barely miss it ;) |
Re: WANTED: Tiny window-opener
That's because I'm calling the script before showing the text and its synchronous, so the text shows after closing your script and before closing the program. :) For a very short time.
EDIT: Never wrote a GTK+ application before, if someone cares to give me a hint which signal i should bind to in order to detect that the text is shown, please be welcome :) |
Re: WANTED: Tiny window-opener
Bundyo, could you please make one more change for me?
Either have the text show as soon as the window opens, and before the script is run (that's what I really want), or remove the text parameter, since it doesn't show anyway. |
Re: WANTED: Tiny window-opener
http://bundyo.org/maemo/hostwin_2params.bz2
If i find a way to show the label, I'll make another one. |
Re: WANTED: Tiny window-opener
I'll have to call the next version of Easy Debian the "Bundyo Build" in your honour. ;-)
|
Re: WANTED: Tiny window-opener
Heh, no need :)
|
| All times are GMT. The time now is 22:09. |
vBulletin® Version 3.8.8