/srv/irclogs.ubuntu.com/2010/02/24/#ayatana.txt

NafaiGetting closer to with vino....00:34
Nafaibbiab, getting dinner00:35
NafaiYay for added complexity02:07
NafaiGotta change some things around -- it was easier with GtkStatusIcon, you could hook up to the activate event and build the menu on the fly02:11
qenseMacSlow: Could you take a look at this merge request: <https://code.launchpad.net/~qense/notify-osd/fix-465801/+merge/14265>? You accepted it a while ago, but probably forgot to do the actual merging while I was being asked to sign the Canonical Contributors Agreement.11:36
MacSlowqense, did you sign that?11:43
qenseyes11:43
qenseMacSlow: I already contributed a few lines to some other projects that require it as well11:43
MacSlowqense, I currently can't verify with dbarth as he's not online... but will merge it in as soon as I can get hold of him11:44
qenseMacSlow: thanks!11:44
MacSlownp11:44
qensemaybe there should come a team for people who have signed so it's easier to verify11:44
qensebratsche: Sorry to bother you, but could you take a quick look at bug #526620? It's blocking my work on Banshee. I wouldn't mind trying to solve the bug myself, I just need someone with more experience to tell me what could cause this and if it matters that all signal names and variables use a underscore, whereas the variables in the header, .e.g. APP_INDICATOR_SIGNAL_CONNECTION_CHANGED, use a hyphen, e.g. "connection-changed".12:36
ubot4Launchpad bug 526620 in indicator-application "ApplicationIndicator signal names not set in C#/Mono bindings (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52662012:36
=== MacSlow is now known as MacSlow|lunch
qense(afk)12:45
C10uDhello, i'm trying latest lucid iso and seems like python bindings for libappindicator are still "broken"13:14
C10uDi correctly managed to update the menu in the indicator calling set_menu everytime i add/remove items13:14
C10uDbut still, i cannot set the icon-theme-path property13:15
C10uDit's complaining i must set it in the constructor, even if it's not the case since there's no such argument13:15
qense(back)13:26
qenseC10uD: Have you tried passing the path as the fourth argument to the constructor?13:27
C10uDmaximum 3 arguments allowed13:27
qenseC10uD: then I'd search for a bug report describing the issue and if you cannot find one, report it.13:28
C10uDqense, there's a similar bug, triaged by you..13:32
qenseC10uD: ok, then please add your information to the report.13:32
C10uDbasically that was the exact thing i needed, but here i was told to use icon-theme-path instead13:32
C10uDyou already answered as "won't do it"13:33
qenseC10uD: Ah, that bug report. I would file a separate bug for the Python bindings.13:33
C10uDok, here's the bug13:40
C10uDhttps://bugs.launchpad.net/indicator-application/+bug/52706113:40
ubot4Launchpad bug 527061 in indicator-application "python bindings for libappindicator don't allow to change icon-theme-path (affects: 1)" [Undecided,New]13:41
qenseC10uD: thank you!13:42
C10uDthank you if you fix it, i'm waiting for getting that fixed so i can release emesene with appindicator support :p13:44
=== MacSlow|lunch is now known as MacSlow
jcastroqense: when ted get's on let's bug him on lp #52706115:05
ubot4Launchpad bug 527061 in indicator-application "python bindings for libappindicator don't allow to change icon-theme-path (affects: 2)" [Undecided,Confirmed] https://launchpad.net/bugs/52706115:05
nigelbqense: you around?15:05
jcastroqense: also, seb is starting to see bugs come in on apps that have been patched, I have been tagging them and then just assign them to the person who ported the app15:05
qensenigelb: yes I am15:05
qensejcastro: What tag are you using?15:05
nigelbqense: need a little bit of hand with python15:05
jcastroqense: indicator-application still15:06
qensenigelb: Ask whatever you want15:06
qensejcastro: ok15:06
qensebtw, tedg is already here15:06
qensetedg: could you take a look at bug #527061?15:06
ubot4Launchpad bug 527061 in indicator-application "python bindings for libappindicator don't allow to change icon-theme-path (affects: 2)" [Undecided,Confirmed] https://launchpad.net/bugs/52706115:06
jcastroaccording to my calculations he should be on a call right now15:06
qenseah15:06
qenseI didn't know that15:06
nigelbqense: take a look at the masking code.  I'm not sure how to do it.  http://pastebin.com/XTrQLPGD15:07
tedgqense: Yeah, I can look after my call.  But for Python stuff kenvandine is probably going to be mroe helpful.15:07
qensetedg: ok, thanks anyway!15:08
seb128hey tedg jcastro15:08
seb128jcastro, tedg: the checkbox not updating in appindicators menus issue is supposed to be fixed in lucid?15:08
tedgseb128: No, I haven't investigated what happened.15:09
seb128ok15:09
qenseI'm trying to figure bug #527061 out atm, in case some of you had some spare time and wanted to do this bug/15:11
ubot4Launchpad bug 527061 in indicator-application "python bindings for libappindicator don't allow to change icon-theme-path (affects: 2)" [Undecided,Confirmed] https://launchpad.net/bugs/52706115:11
qenseahem, wrong bug15:11
qensebug #52708215:11
ubot4Launchpad bug 527082 in indicator-application "CONNECTION_CHANGED signal (connection-changed) is never emitted (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52708215:11
qenseafk, nigelb: I'll get back to you when I'm back15:17
seb128jcastro, bug #52686415:56
ubot4Launchpad bug 526864 in rhythmbox (Ubuntu) "next/previous buttons are greyed out in indicator application menu (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52686415:56
seb128jcastro, can you get that one assigned?15:56
jcastrodone15:56
seb128thanks15:56
NafaiGood morning16:04
seb128hey Nafai16:04
NafaiHey seb128, how are you today?16:04
seb128Nafai, good! you?16:05
NafaiPretty good16:05
qenseI can't solve the signal problem, moving on to one of the many other things on my ToDo list.16:36
jcastroNafai: how we feeling today?18:16
jcastroNafai: jpetersen busted out polkit-1-gnome so we're on the homestretch now!18:16
NafaiSweet18:17
Nafaidoing well, I'm just heading to my dr's appointment, be back in a couple18:17
jcastrocool18:17
jcastrogood luck!18:17
=== mpt_ is now known as mpt
Nafaijcastro: Back, I've actually started feeling pretty bad, my kidney function is the worst it's been since my transplant, so I need to go rest for a while so I can have the energy to focus on pushing vino out20:08
jcastroNafai: no worries, hope you feel better20:10
Nafaithanks20:10
kklimondahave you guys collaborated with gnome folks on their usability hackfest?20:32
jcastrokklimonda: it's hosted at the Canonical offices20:32
kklimondawell, that was the answer I was hoping to get :)20:33
RAOFDamn.  How did I miss qense *again*?21:35
kklimondahe's like a ninja ;)21:36
NafaiOk, I'm back, feeling much better after that rest22:15
RAOFqense: Hah!  Caught you :).22:24
qenseRAOF?22:24
RAOFqense: Thanks for the gnome-do application-indicator work; I've spotted your problem.22:24
qenseRAOF: really! Great!22:25
qensetell me!22:25
RAOFBasically, you can't use other services is a service constructor.22:25
RAOFI've pushed up a branch of Do that works, but doesn't have any compile-time switch.22:26
RAOFlp:~raof/do/throwaway-app-indicator22:26
qensethrowaway?22:26
RAOFIt's a throwaway branch; it will only work with app-indicators.22:27
qenseah22:27
RAOFIt just shows working app indicator code.  To do that quickly, I got rid of the GtkStatusIcon code.22:27
qenseThe main change is the use of IconTheme.Default.HasIcon ?22:28
RAOFMain change is moving the construction of the menu into Initialize, rather than the constructor.22:28
qenseah22:28
qenseimportant22:29
RAOFThe constructor will be called before the service stack is fully available.22:29
qenseok, that explains a lot :)22:29
RAOFWhich is why you were seeing a stack overflow :)22:29
qenseRAOF: Thank you very much for helping me with this!22:30
RAOFNo problem.22:30
RAOFHow's Banshee going?22:30
qenseBanshee's going fine, but I'm stuck implementing a proper fall-back implementation for it since the signals don't work properly in the Mono bindings.22:31
qensethat is, they don't work at all22:31
qensebut there is a working patch attached to bug #51817122:32
ubot4Launchpad bug 518171 in banshee (Ubuntu) (and 1 other project) "Support Application Indicators (affects: 2)" [Wishlist,In progress] https://launchpad.net/bugs/51817122:32
* RAOF should probably do some libappinidcator CLI policy gardening. At some point.22:34
qenseRAOF: I didn't add a menu item to the tray context menu for summoning Do. Do you think that's necessary now you can't summon it by clicking on the icon?22:38
RAOFPossibly.22:39
RAOFTo be honest, I don't use the notification icon, and I don't think it's terribly useful.22:39
qenseneither do I22:39
RAOFI think it's really a (poor) work-around for a number of other problems.22:39
qenseI'll add a SummonMenuItem in case someone's keybindings stopped working.22:40
qensetop or bottom of the menu?22:40
RAOFTop; it's the most important action you could take?22:40
qenseagreed22:41
RAOFI'd love to get some design feedback on Do at some point, actually.  There's a really sharp learning curve at the very start which it seems a number of users never climb.22:42
qenseMaybe some overlay with shortcuts and large arrows at the first run would help.22:42
RAOFA first-run tutorial has been partially implemented, yeah.22:43
qensegood22:44
jcastroqense: banshee is releasing today. I think you should try to get that patch polished asap before it's too late22:55
jcastroqense: I am guessing the next point release will be the last chance22:55
qensejcastro: I'm working on it, but I was stuck today and had enough of it. :P Now I'm polishing the GNOME Do patch after RAOF kindly pointed me at what I was doing wrong.22:56
qensewhich made me happy again22:56
jcastroawesome22:56
jcastroqense: have you asked abock or gabaug to look at it yet?22:57
qensejcastro: gabaug already reviewed the patch upstream and he came with a few points.22:57
qenseI'm now working on getting a proper fallback implementation, but the signals don't work in Mono, so that needs to be solved first.22:57
jcastroawesome, thanks for working with them up there22:58
jcastroqense: they're good people, glad you're working with them22:58
qensethey're very helpful indeed22:58
qenseIt's also out of self interest I'm working on this. I'm using Banshee myself and I want the applications I use to behave properly. ;)22:59
qensejcastro: I'll finish the GNOME Do work and then I'm off for today. I hope to fix Banshee tomorrow, but I can't promise anything, it depends on how nice libappindicator-cil decides to be.23:01
jcastroqense: I don't mean to come off like I am pressuring you23:01
jcastrojust pointing to the clock. :D23:01
jcastroI appreciate all you've done for this project so far!23:02
qenseI don't feel like being pressured. :)23:02
qensethank you! 23:02
NafaiGiven a GtkMenu object, can I remove a MenuItem from it, or do I have to rebuild the menu from scratch?23:11
lamalexjcastro: qense: one of you should have approached one of the do crew, we'd have happily updated Do for libappindicator-cil23:15
qenselamalex: I'm working on it right now. Everything's going great and it's almost ready. Apart from the fact that it currently kills the X server... I must have done something wrong.23:15
lamalexhaha23:15
jcastrolamalex: I didn't know he was looking into Do until just now.23:16
lamalexthat's a pretty intense bug23:16
jcastrohah, awesome23:16
lamalexjcastro: I'm blaming you anyway23:16
lamalex:P23:16
qenseIt was working until I added an extra menu item for summoning Do23:16
jcastrolamalex: YEAH!23:16
RAOFqense: Ah, yeah.  That's likely to run into interesting issues.23:17
RAOFNow that I think of it...23:17
RAOFBecause we take a keyboard & pointer grab, and do it on the GTK thread, and this can make things... difficult.23:18
qenseI've connected the Summon Do menu item to the OnActivated function, which doesn't do much more than call "Services.Windowing.SummonMainWindow ();". Could that be related to the issue?23:22
qensebe the cause of*23:22
lamalexthere should be a dbus call you can make to summon23:22
qenseI'll look into that then23:23
lamalexorg.gnome.Do.Controller.Summon()23:23
lamalexthat should do all of the necessary pointer grabbing and so on23:24
qenseok, thanks23:24
RAOFlamalex: But this is in Do's process, in Do.Platform.Linux; it should be easier to actually summon from code, right?23:24
lamalexoh, right23:24
RAOFqense: It can be a bit narky if you haven't already dismissed the menu.  I'd make sure that you explicitly dismiss the menu before trying to summon.23:24
lamalexI mean, does that need to be in the menu at all?23:24
lamalexthere's the important question23:24
RAOFIt's going for feature-completeness as compared to the current notification icon; currently, clicking on the notification icon summons Do.23:25
qense<qense> RAOF: I didn't add a menu item to the tray context menu for summoning Do. Do you think that's necessary now you can't summon it by clicking on the icon?23:25
qense<RAOF> Possibly.23:25
qense To be honest, I don't use the notification icon, and I don't think it's terribly useful.23:25
lamalexmaybe we should just ditch the whole notification icon23:25
qensethat's also an option :)23:25
lamalexall it's got that is useful is the donate link23:25
lamalexand I'll just put that into the dutorial :P23:25
lamalexthat you can make a donation by searching for "donate"23:25
RAOFI'd be down with that.  I hope to make it more useful in Do 1.0, but for the moment it's really a “Do hasn't crashed!  Yay!” button.23:26
lamalexyah23:26
lamalexwe mostly had it to use for notification positioning in the pre-notify osd days23:26
lamalexand it's lingered around23:26
RAOFWe still want to support non-notify OSD, so at least having the pre-notify notification icon might be worthwhile.23:27
qenseyou can't position on the appind icon23:27
RAOFYeah, but people with the app-ind probably have notify-osd, which you can't position *anyway*.23:27
lamalexright23:28
qenseJust leave it in and disable it by default?23:28
RAOFI was thinking of leaving “you're using a notification-daemon that supports positioning?  Great, we'll pop up a status icon and position the notification against it” code in there.23:29
RAOFAnd removing the “display notification icon” option in preferences.23:29
lamalexI was about to suggest the same23:29
lamalex+1 from me23:29
qenseso no appindicator support for Do?23:30
lamalexwell, none of this will be ready for lucid23:32
lamalexso if you want to patch ubuntu's, fine by me23:32
lamalexbut I don't think it'll make it into upstream23:32
lamalexsince we're ditching the notification icon anyway23:32
qenseok23:32
RAOFI'll keep that throwaway branch around, though, because my perfect Do includes a use for app-indicators.23:32
jcastro+1 for throwing away the icon anyway23:35
qenseSuggestion: generate a patch from ROAF's branch since that doesn't include all kind of autotools stuff Ubuntu doesn't need anyway and use that for Lucid, dumping the icon in a later release of Do?23:36
RAOFqense: That would work.23:40
qensejcastro, lamalex?23:42
lamalexhuh?23:42
lamalexi'm a nihilist dude, I don't care23:42
qenseok23:42
lamalexRAOF: what branch is this/23:42
jcastroqense: whatever they say. :D23:43
RAOFlamalex: lp:~raof/do/throwaway-app-indicators23:43
lamalexah23:43
RAOFlamalex: I hope you're an *awesome* nihilist like in The Big Labowski.23:44
qenseRAOF: I'll generate a patch tomorrow and submit it to the Ubuntu bug report and close the upstream GNOME Do task as Won't Fix. Is that OK with you?23:47
RAOFqense: Yes.  Thanks for your work!23:47
qenseI'm happy to be able to contribute my share23:47
qensenow, off to bed123:47
qense!23:47
qensebye23:48

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