/srv/irclogs.ubuntu.com/2009/04/01/#ayatana.txt

* MacSlow -> lunch11:27
mpttedg, hi, I'd like to talk with you sometime about what the API should be for an app appearing in the messaging menu16:18
tedgmpt: bzr branch lp:indicator-applet :)16:19
mptfor post-Jaunty where apps can be there even when they're not running16:19
tedgI don't think that should be an API, I think that should be a place that we move the desktop file to.  Kinda like how favorites are done today on the panel.16:20
njpatelthey'll need to provide a conf file for that16:20
tedgWe can have a /etc/indicator/messages/ and a ~/.config/indicator/messages that can have files in it.16:21
tedgDirectories are better for things that we want dpkg to install and configure, that way it doesn't have to merge configuration files.16:21
njpatelthen, when the client registers, we can just do the desktop-file check and remove it from the "not-running" list16:22
tedgnjpatel: Yup.16:22
tedgOr they can add to the desktop file "NotShownIn:indicator-messages" if they really don't want to be there.16:23
mpttedg, so when you uncheck the checkbox in a program's settings window, it moves the file?16:23
njpatelit's great how many problems desktop files can solve. If only there was a _NET_WINDOW_DESKTOP_FILE_ hint for application windows. It would make life much easier16:23
mptok, that seems reasonable16:24
tedgnjpatel: They are working on one, see xdg list :)16:24
mptnjpatel, what would that do?16:24
njpateltedg: yeah, that would work too16:25
njpatelmpt: let us easily match windows to applications (for icons etc). at the moment a indicator client will specify it's desktop file as part of the indicator api16:25
tedgAlso, it lets AWN use high res icons reliably instead of guessing.16:26
njpateland the dash/unr etc16:26
tedgAnd in the case of XDG list, GNOME-shell.16:26
mptI thought there was a wm_class or something that did that already16:26
njpatelI think I'm writing window-matching code for the fifth time in 2 years right now, as it's never perfect (although we're pretty close with awn's rewrite)16:27
njpatelmpt: nope, wm_class is an abomination which is used differently by different applications16:27
njpatelbut the twosome of wm_class and resource_name gives you your best-bet to matching a window with a desktop file16:28
njpateloh, and some apps launch as scripts (firefox), so that also helps to screw up window matching16:29
mpt(It also screws up the Mac OS X Dock, if that's any consolation)16:30
njpatelhaha, that is :)16:31
njpatelanyway, libuser is on the case16:32
mptlibuser?16:32
njpateljust a small library for unr16:33
njpatelre-factoring some code16:33
njpateli need some tea, badly16:35
* MacSlow goes and throws his limbs around17:20

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