[11:27] * MacSlow -> lunch [16:18] tedg, hi, I'd like to talk with you sometime about what the API should be for an app appearing in the messaging menu [16:19] mpt: bzr branch lp:indicator-applet :) [16:19] for post-Jaunty where apps can be there even when they're not running [16:20] I 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] they'll need to provide a conf file for that [16:21] We can have a /etc/indicator/messages/ and a ~/.config/indicator/messages that can have files in it. [16:21] Directories are better for things that we want dpkg to install and configure, that way it doesn't have to merge configuration files. [16:22] then, when the client registers, we can just do the desktop-file check and remove it from the "not-running" list [16:22] njpatel: Yup. [16:23] Or they can add to the desktop file "NotShownIn:indicator-messages" if they really don't want to be there. [16:23] tedg, so when you uncheck the checkbox in a program's settings window, it moves the file? [16:23] it'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 easier [16:24] ok, that seems reasonable [16:24] njpatel: They are working on one, see xdg list :) [16:24] njpatel, what would that do? [16:25] tedg: yeah, that would work too [16:25] mpt: 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 api [16:26] Also, it lets AWN use high res icons reliably instead of guessing. [16:26] and the dash/unr etc [16:26] And in the case of XDG list, GNOME-shell. [16:26] I thought there was a wm_class or something that did that already [16:27] I 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] mpt: nope, wm_class is an abomination which is used differently by different applications [16:28] but the twosome of wm_class and resource_name gives you your best-bet to matching a window with a desktop file [16:29] oh, and some apps launch as scripts (firefox), so that also helps to screw up window matching [16:30] (It also screws up the Mac OS X Dock, if that's any consolation) [16:31] haha, that is :) [16:32] anyway, libuser is on the case [16:32] libuser? [16:33] just a small library for unr [16:33] re-factoring some code [16:35] i need some tea, badly [17:20] * MacSlow goes and throws his limbs around