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

Andy80a very noob question: is this command right to find every occurance in every file? andrea@ubuntu:~/Documents/sviluppo/unity-2d$ grep -r 'gconf_client_get_bool'00:10
=== m_conley_away is now known as m_conley
=== m_conley is now known as m_conley_away
=== m_conley_away is now known as m_conley
=== m_conley is now known as m_conley_away
didrocksgood morning05:16
oSoMoNgood morning07:03
fheinmornin'07:13
hyperairronoc: ping07:50
ronochyperair, hi07:51
hyperairronoc: there's this ancient bug i forgot about to do with banshee and unity quicklists.07:51
ronochyperair, ok, what is it07:51
hyperair76432107:51
hyperairbug #76432107:51
ubot5Launchpad bug 764321 in banshee (Ubuntu) "Please add launcher quicklist for banshee" [Medium,In progress] https://launchpad.net/bugs/76432107:51
hyperairheh, what a nice number.07:51
hyperairwe're just missing a 5. =p07:52
ronochyperair, :) ok, I'll talk to the unity guys later about this.07:54
* ronoc needs to switch distro07:54
hyperairronoc: thanks07:54
ronocbrb07:54
hyperairronoc: iirc the bug's just waiting for an ack about whether or not it's a good idea. there's a patch already.07:54
cyrildz1Hi Guy08:38
cyrildz1it that possible to have a quicklist entry for an empty Area on the Launcher ?08:38
cyrildz1I'm thinking about showing options for the launcher when someone clicks on an empty area on the launcher08:40
ephanYou mean like a context-menu?08:40
ephanWhen someone right clicks empty space?08:41
ephanI'd like that, but sorry I don't know if it's possible08:41
cyrildz1yeah, I mean like a context menu08:46
cyrildz3since CCSM allows us more options for setting the launcher, I was thinking about a quicklist or context menu  that would allow us to change those setting from the launcher itself08:51
stylesendbarth: njpatel: ping?09:27
olzhashey guys09:34
olzhashow can I set icon of the indicator by GdkPixBuf09:34
olzhas?09:34
Andy80hi09:37
olzhasI'm using new libappindicator09:40
olzhasnatty09:40
olzhasI have an idea to save generated icon on a harddrive and then load it09:43
cyrildz3Is there a way to locate an Empty Space on the Launcher ?09:47
fontanonHi everybody,10:59
fontanonIs there a guide explaining best practices integrating a GTKStatusIcon-based app on Application-indicators ??10:59
fontanoni.e. is better to migrate gtkstatusicon object to appindicator or to add it to the whitelist gsettings option?11:02
=== MacSlow is now known as MacSlow|lunch
njpatelfontanon, better to migrate, could I ask what your app is indicating through the statusicon?11:40
njpatelfontanon, https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators is the link with some code examples too11:41
fontanonnjpatel: this is the app http://live.gnome.org/Wiican11:44
njpatelfontanon, ah, awesome :)11:45
fontanonnjpatel: the statusicon indicates whether wiimote could be used or not because of the presence of a bluetooth adaptor11:45
fontanonnjpatel: it also bright at some intervals when the wiimote is connected and in use11:45
njpatelmpt, is this someing that could go into ronoc_'s menu? ^ (if not, where's the best place?)11:45
fontanonronoc_'s menu ?? never heard about that!11:46
njpatelfontanon, so, an appindicator would work pretty much perfectly for that (and libappindicator fallsback to statusicon if the current desktop doesn't have apindicator support, i.e. shell or xfce)11:46
njpatelfontanon, heh, sorry, he's got a hardware/system menu that seems like a good fit11:46
fontanonreally !! it auto-fallsback ?11:46
njpatelfontanon, appindicator, yes, I'm like 99% certain :)11:47
njpatelfontanon, https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators#Custom_Fallbacks11:47
mptnjpatel, I agree a standalone menu makes sense for that11:47
njpatelsweet11:47
mptIdeally the settings would go into gnome-control-center, but ... well ... upstream ...11:48
njpatelyeah :)11:48
njpatelfontanon, I hope that helps, seems like appindicator is the way to go11:48
fontanonnjpatel, mpt how can this affect for wiican being used under gnome3.0 ?11:49
njpatelfontanon, libappindicator detects where there is a appindicator service, if it doesn't exist, then it just takes your Gtk.Menu and creates a Gtk.StatusIcon from it (using the other things you set too i.e. icon)11:50
fontanonI've to confirm but i think appindicator is not allowed as dependency for apps willing to be considered as gnome3 module11:50
njpatelheh, not getting into that :)11:50
njpatelfontanon, in that case it can be an optional dep in your code11:51
fontanoni've seen that for tomboy there's a patch at debian-packaging level for turning it into an appindicator-supported app11:51
njpatelyeah, though ideally it would be upstream11:53
njpateltomboy case is harder as appindicator doesn't have the functionality it enjoys from statusicon11:54
njpatelbut your menu should be the same with both11:54
fontanonOk, njpatel mpt thank you both guys!11:56
fontanonI'll start with a appindicator-migration branch for wiican, then decide the best way to integrate it into the master11:56
mptfontanon, you're welcome, it looks like a cool project11:56
njpatelnp dude11:56
fontanonmpt: thank you :)11:57
ronoc_ronoc_'s menu here11:58
mptronoc_, I'd like the soup of the day, with bread, then the tuna lasagna11:58
ronoc_mpt, coming right up !11:59
=== _LibertyZero is now known as LibertyZero
=== MacSlow|lunch is now known as MacSlow
Andy80Kaleo: hi :) I'm trying to read this value (I'm modifying Unity-2D code, of course) "/apps/nautilus/preferences/confirm_trash" and I don't know if I've to use gconf, gsetting, QConf or GConfItemQmlWrapper. I asked to nerochiaro already but we're both a bit confused about the proper method to use. Can you please point me to the right one and, if possible, an example of how to use it? Thanks :)12:57
nerochiaroKaleo: yeah, looks like you left over both code and dependencies for gconf, but you're using dconf almost anywhere13:00
Andy80btw I'll use QConf for the moment... I'll test it asap13:10
KaleoAndy80, nerochiaro: if nautilus is using gconf, then use gconf, if nautilus is using gsettings/dconf then use dconf13:16
Andy80Kaleo, nerochiaro : I don't know what Nautilus is using... I checked the Unity code (I'm fixing a similar bug that was fixed already in Unity: https://bugs.launchpad.net/unity-2d/+bug/730003 ) and it's using gconf.... why I cannot read a gconf value with QConf? isn't it a wrapper?13:18
ubot5Ubuntu bug 730003 in unity-2d "Emptying the trash from the unity sidebar should respect nautilus' "Ask before emptying" setting" [Wishlist,Confirmed]13:18
nerochiaroAndy: Qconf is a wrapper for dconf. GConfItemQmlWrapper is a wrapper for gconf13:19
nerochiaroAndy80: ^13:19
KaleoAndy80: GConfItemQmlWrapper is whan you want to use13:21
Andy80Kaleo: ok... let's change it again :) (3rd time I modify the code :P ) where can I find an example of GConfItemQmlWrapper? I grep-ed all the unity-2d code but I didn't find anything except this: ./libunity-2d-private/src/launcherapplicationslist.h:class GConfItemQmlWrapper;13:22
KaleoAndy80: I don't think there is example of use in there anymore13:23
KaleoAndy80: but in the code of GConfItemQmlWrapper you will find an example13:23
KaleoAndy80: bzr branch lp:gconf-qt13:23
KaleoAndy80: see test.cpp and test.qml13:23
Andy80Kaleo: ok, let me check...13:24
Andy80Kaleo: uhm... it looks like there is only the QML example... and it's quite different from using C++. Is it possible that nobody has still used this class yet? there should be an example out there if someone has...13:26
nerochiaroAndy80: i explained to you how to use it in PM, no ?13:28
Andy80nerochiaro: right.... sorry :P13:28
nerochiaroAndy80: don't worry. it's really easy to use anyway, just play with it for a bit and if you still can't get it to work just ping me13:29
=== m_conley_away is now known as m_conley
=== MacSlow is now known as MacSlow|dinner
lone_househi17:18
=== MacSlow|dinner is now known as MacSlow
=== Ender is now known as JasonO
ephanhey, going to try and build Unity from source now18:29
ephanBinaries plus source occupies how much? Around how much*18:30
jcastroephan: jason says ~20mb18:32
ephanThanks jcastro :)18:32
ephanjcastro, which reminds me, sudo apt-get source unity installs all dependencies, right? (or most of them)18:34
jcastroephan: I happen to be doing it now18:35
jcastroI am updating the deps as we speak18:35
jcastrogive me like 5 more minutes18:35
ephanOk, thanks, I will download Unity source in the meanwhile18:35
jcastrosudo apt-get install bzr cmake compiz-dev gnome-common libbamf-dev \18:40
jcastrolibboost-dev libboost-serialization-dev libcairo2-dev libdbusmenu-glib-dev \18:40
jcastrolibdee-dev libgconf2-dev libgdk-pixbuf2.0-dev libglew1.5-dev \18:40
jcastrolibglewmx1.5-dev libglib2.0-dev libgtest-dev libindicator-dev \18:40
jcastrolibpango1.0-dev libpci-dev libpcre3-dev libpng12-dev libsigc++-2.0-dev \18:40
ephanthank you jcastro, installing18:42
=== DanRabbit_ is now known as DanRabbit
jcastroKaleo: around?19:24
=== m_conley is now known as m_conley_away
=== yofel_ is now known as yofel
fontanonHi everybody22:07
fontanonHas anyone realized of crashes importing appindicator and gi.repository.Gtk or GObject on a same python app ?22:11
fontanon/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size22:20
fontanonwhen importing appindicator after gi.repository.Gtk22:20
fontanonwhy is it linking with gtk-2.0 ?22:20

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