/srv/irclogs.ubuntu.com/2011/07/05/#ayatana.txt

=== zyga is now known as zyga-afk
=== agent00tai is now known as agent00tai|AFK
didrocksgood morning06:51
zniavregood morning #ayatana06:52
oSoMoNgood morning07:03
MacSlowhi there everyone07:07
jderosehi MacSlow :)07:17
MacSlowhey there jderose07:18
=== hunger_ is now known as hunger
jderoseMacSlow: http://jderose.blogspot.com/2011/07/designing-pro-creative-apps-part-2.html :-D08:39
=== zyga-afk is now known as zyga
=== agent00tai|AFK is now known as agent00tai
jjardonhi, how can I update the contents of a indicator menu? (I'm not using DbusmenuMenu)11:42
jjardonId like to rebuild the menu every time is displayed11:43
=== zyga is now known as zyga-food
=== MacSlow is now known as MacSlow|lunch
njpateljjardon, ted should be on in a bit12:50
=== m_conley_away is now known as m_conley
=== zyga-food is now known as zyga
Mark__Tkenvandine: hi13:30
kenvandinehey Mark__T13:30
Mark__Tkenvandine: can I throw a libdbusmenu build issue at you?13:30
kenvandinesure13:30
Mark__Tkenvandine: http://dpaste.com/563243/13:30
Mark__TI use these patches for gtk: http://dpaste.com/563244/13:31
Mark__Tkenvandine: ringing any bells?13:32
kenvandinecan you paste your /usr/share/gir-1.0/Gdk-2.0.gir13:33
Mark__Tkenvandine: dbusmenu 0.4.5 that is13:33
kenvandineMark__T, well you have the gtk patch that should fix that13:33
kenvandineMark__T, you should have a line like this in it13:34
kenvandine  <package name="gdk-2.0"/>13:34
Mark__Tkenvandine: nope13:40
Mark__Tneed to add13:40
kenvandinewell you have the patch that adds that13:40
kenvandineor should13:40
Mark__Twhich gtk patch adds this in ubuntu?13:40
kenvandine065_gir_set_packages.patch13:40
Mark__Tok13:40
kenvandineMark__T, double check that patch is current13:41
kenvandinehttp://bazaar.launchpad.net/~ubuntu-desktop/gtk/ubuntu/view/head:/debian/patches/065_gir_set_packages.patch13:41
Mark__Tkenvandine: +Gdk_2_0_gir_EXPORT_PACKAGES = gdk-2.013:41
kenvandineyup13:41
kenvandinethere are like 3 of those13:42
=== MacSlow|lunch is now known as MacSlow
Mark__Tyep13:42
Mark__Tpatch from March13:42
Mark__Tkenvandine: well I got it yesterday because of that issue13:43
kenvandinedunno then, that should work13:43
Mark__Tprobably I did something stupid13:43
Mark__Twill check later have to run13:43
kenvandinegood luck13:44
Mark__Tthx13:44
andyrocknjpatel, i resolved the conflicts13:44
kenvandineMark__T, any time13:44
njpatelandyrock, yep, I saw, was just testing it out again now and then merge!13:45
njpatelandyrock, excellent work dude :)13:45
andyrocknjpatel, thx... can you test also with a cd-rom?13:45
njpatelandyrock, not at the moment but I'll make sure to do so13:46
andyrocknjpatel, thx again13:46
jjardonhey tedg, how can I update the contents of a indicator menu? Id like to rebuild the menu every time is displayed. I guess I can use the notify::visible signal13:49
tedgjjardon, Yeah, there are also open calls from the panel.  But, in general, I'd just update the label when you get the updates from upower, no?13:50
tedgjjardon, indicator_object_entry_activate()13:52
jjardontedg:yeah, I already update the label, but I have to update the status of every device connected: https://wiki.ubuntu.com/BatteryStatusMenu13:52
tedgjjardon, But, don't you need that info for keeping the icon up-to-date as well?13:52
tedgjjardon, So you're already pulling it over dbus, and GTK doesn't do much work if the surface isn't visible.13:53
jjardontedg: the icon/label is updated when I receive a signal from g-p-m about a change in the power in the main device13:55
tedgjjardon, Oh, I thought the icon on the panel in low power states was the device that was going to run flat first, no?13:57
jjardontedg: you are rigth. but the current version only support 1 device13:58
jjardonbut the question is how to update the menu, I rebuild the menu with every change but seems that doesnt work13:59
=== agent00tai is now known as agent00tai|AFK
=== agent00tai|AFK is now known as agent00tai
tedgjjardon, You shouldn't have to rebuild it per se, just update the label/icon, no?14:05
jjardontedg: I update the label with a simple gtk_label_set_label (GTK_LABEL (priv->label); , but if I modify priv->menu, the changes doesnt seems to be applied14:06
tedgjjardon, Hmm, yeah.  I'm not sure what'll happen if you change the menu.  Why would you need to replace the base menu structure?14:13
jjardontedg: because more devices can be added or removed, and their power status can change also14:14
tedgjjardon, gtk_menu_shell_insert()14:15
jjardontedg: ok, problem solved, you were rigth, I shouldn't have to rebuild the menu14:22
=== agent00tai is now known as agent00tai|AFK
jjardontedg: btw https://launchpad.net/indicator-power/14:59
tedgjjardon, Sweet, I'll take a look.15:03
jjardontedg: thanks. should be totally functional for the most common case: only one main power source15:07
tedgkenvandine, Could you perhaps start looking at packaging that so people have a power icon? ^15:11
tedgkenvandine, The natives are getting restless15:11
=== agent00tai|AFK is now known as agent00tai
kenvandinetedg, will do15:20
tedgkenvandine, Thank you!15:21
tedgnjpatel, What's the $(top_srcdir)/missing part of the Makefile.am command for creating the ChangeLog do?  Seems you'd have an error to catch either way, no?15:41
njpateltedg, not sure, it was converted from the git script GNOME uses many eons ago15:43
njpatelI'm sure there's a reason15:43
jjardontedg: http://sources.redhat.com/automake/automake.html#maintainer_002dmode16:12
jjardontedg: the original script: http://live.gnome.org/Git/ChangeLog16:12
tedgjjardon, Hmm, then why is missing not there?16:15
tedgjjardon, Seems that bzr (or git) shouldn't really be a maintainer tool though.16:15
jjardontedg: the missing script? Its in the build-aux directory16:24
tedgjjardon, Ah, so a better way to do my patch would be to use it there.16:24
tedgjjardon, I'll fix that.16:24
tedgCool, someone did a release of Planner.16:30
tedgLove to see that project not die.16:30
=== agent00tai is now known as agent00tai|AFK
=== alecu is now known as alecu-lunch
=== agent00tai|AFK is now known as agent00tai
=== alecu-lunch is now known as alecu
=== _LibertyZero is now known as LibertyZero
tedgkenvandine, So Trevino submitted some patches to clean up our scroll support.20:08
tedgkenvandine, But it'll force a transition in a bunch of packages.20:09
tedgkenvandine, I'm guessing you want that after the alpha release.20:09
tedgkenvandine, No?20:09
* kenvandine grumbles20:09
kenvandineyes20:09
kenvandinelike which packages?20:09
tedgkenvandine, indicator-*20:09
kenvandinescroll support?20:09
tedgkenvandine, Mostly just a small patch and a rebuild.20:09
* kenvandine doesn't see the relationship20:10
tedgkenvandine, Yeah.  We put a function in there to pass scroll info from the panel to the indicator.  But it needed more info, so we made two.  And this cleans it up to one correct one.20:10
kenvandineah20:10
kenvandineok20:10
kenvandinelets wait until after a220:10
tedgSounds good.  I'll get libindicator ready, but I won't release it until then.20:11
=== yofel_ is now known as yofel
=== agent00tai is now known as agent00tai|AFK
=== m_conley is now known as m_conley_away
=== m_conley_away is now known as m_conley
m_conleychrisccoulson: hey - so I just did a reinstall, and now I've got Messaging Menu!  No Unity Launcher though.22:19
chrisccoulsonm_conley, right, that's expected. i haven't added the launcher extension yet, but that's next22:20
chrisccoulsoni wonder what happened the first time though :/22:20
m_conleychrisccoulson: ah, wonderful.  Ok, cool.  :)22:20
m_conleychrisccoulson:  I probably installed TB at the wrong time.22:20
m_conleychrisccoulson: something like that.22:20
chrisccoulsonm_conley, so, a new beta build of tbird this week then? ;)22:47
chrisccoulsoni'm ready to go already!22:47
chrisccoulsonm_conley, do you think we should merge the functionality of unitylauncher-extension in to messagingmenu-extension? it seems like they share a lot of functionality already22:56
chrisccoulsonand it means we would show 1 less extension in the addons manager by default22:56
m_conleychrisccoulson: hm - yes, that might be a good idea.  Some sort of general Unity Integration addon.23:07

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