View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#319
Originally Posted by lma View Post
Nah, too many unnecessary moving parts :-) If it's got to be in the filesystem let's stick it somewhere under /home/user (or even better /home/user/.osso so it gets backed up/restored automatically without additional configuration).
*nod*

Originally Posted by lma View Post
Hm, is there a GIOCondition that would notify for file creation? Maybe inotify could work instead, but either way adding an application-specific main loop callback inside a widget library seems dirty to me.
Good point. Truth be told, I don't think there really needs to be a watch. I haven't checked it, but I think systemui keeps instantiating a new instance of HildonCodeDialog each time. And who's gonna modify the text file while the tablet is locked?
 

The Following User Says Thank You to qwerty12 For This Useful Post: