/srv/irclogs.ubuntu.com/2009/05/13/#ayatana.txt

=== rickspencer3-afk is now known as rickspencer3
=== rickspencer3 is now known as rickspencer3-afk
=== Nafallo_ is now known as Nafallo
thekornhi, I've a question about using NotifyOSD with pynotify: which hints are supported for Notification objects?10:45
thekornespecially: should setting the "x" and "y" hint work?10:45
thekornand yes, I would like to change the position of a bubble10:46
agateauthekorn: no they are not, and are unlikely to be supported in the future10:47
SiDithekorn: you can't change it ;)10:47
thekornok, so you do not intend to completly implement the notification spec ?!10:47
SiDiI think it's more or less the idea (im speaking as an user though)10:48
SiDiBecause having notifications on every part of the screen just sucks :)10:48
thekornand why is it not reflected in pynotify.get_server_caps()?10:49
SiDithat's a more interesting concern10:49
SiDiyou might want to ask MacSlow.10:49
agateauthekorn: the spec says supporting those hints is not mandatory10:49
SiDibut if its not supported it should be in get_server_caps10:49
MacSlowthekorn, grab notify-osd trunk and check out th python-examples in notify-osd/examples/*.py10:50
thekornagateau, ok, good point10:50
* SiDi waves at MacSlow.10:50
MacSlowthekorn, that's got everything you need to properly test for supported caps10:50
MacSlowola SiDi 10:50
MacSlowthekorn, it's ready to cut&paste code, so you should be able to get on with you work quickly10:51
james_wthere's no specified cap for this10:51
james_wit would be possible to add an x-canonical- capability10:52
MacSlowthekorn, notify-osd takes the liberty to ignore the (optional) x/y-hints10:52
thekornMacSlow, ok, so my question is: why is there no "does not support x,y hint" capability10:52
james_wbut adding a capability to only not set it would be odd10:52
james_whttp://www.galago-project.org/specs/notification/0.9/x408.html10:52
agateauthekorn: this needs to be added to the Galago spec10:52
* agateau notes this10:52
MacSlowthekorn, because that feature causes overlapping notifications10:53
agateauMacSlow: i think thekorn means he would like to test whether we support it or not10:53
agateaubut galago spec does not provide a cap we could set to false atm10:53
thekornwow, this is complex10:53
MacSlowindeed, right now it's only spit out as a remark that x/y-hints are not supported in the examples10:54
agateauthekorn: you may also want to have a look at this one: http://bazaar.launchpad.net/~agateau/notify-osd/take2/annotate/head%3A/tests/notifyosd.py10:55
agateaufor inspiration10:55
thekornok, thanks everbody, maybe I have to review my usage of notifyosd, that's what I have so far http://dl.getdropbox.com/u/174479/recordmydesktop_visualizer.ogv10:58
thekornbut maybe I have to use my own window for this10:58
MacSlowthekorn, gee... is that just for "messing around" or do you want to really develop that into something serious?10:59
MacSlowthekorn, I feel that you might be "abusing" notifications there a bit :)10:59
thekornMacSlow, I've never done any serious things, so it is just for messing around ;)11:00
MacSlowphew ok :)11:00
agateaufun anyway11:00
MacSlowfor sure11:00
thekornand yes, it is abusing of the notification system11:01
MacSlowthekorn, I guess you wanted the bubble to appear at the text-cursor position then or something, right? ;)11:01
thekornMacSlow, no just in the region of the screen which is recorded11:01
=== DrPepperKid is now known as MacSlow
* MacSlow -> lunch12:43
=== rickspencer3-afk is now known as rickspencer3
=== YpsyZNC is now known as Ypsy
=== rickspencer3 is now known as rickspencer3-afk
=== Ypsy is now known as YpsyZNC
=== rickspencer3-afk is now known as rickspencer3

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!