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