/srv/irclogs.ubuntu.com/2012/11/23/#ubuntu-unity.txt

duflusmspillaz around?06:32
=== mmrazik is now known as mmrazik|otp
didrocksmmrazik|otp: FYI, branch subscribers in most of projects are a mess, I'm fixing them08:20
=== mmrazik|otp is now known as mmrazik
tsdgeosTrevinho: can you approve it now https://code.launchpad.net/~aacid/nux/const_get_position/+merge/131856 so i don't get another conflict in the ABI line?08:46
didrocksMirv: I commented on https://code.launchpad.net/~timo-jyrinki/ubuntu/quantal/gnome-settings-daemon/ubuntu.fix1058004/+merge/12743008:54
Mirvdidrocks: thanks, it indeed needs to be in raring first09:02
didrocksyep ;)09:02
didrocksMirv: I think it still worth a SRU if you want to :)09:02
Mirvsure09:03
didrocksthanks :)09:05
=== mmrazik is now known as mmrazik|otp
=== mmrazik|otp is now known as mmrazik
pittihello folks10:46
pittiI'm doing my first steps with autopilot, and can't seem to convince it to discover my tests10:46
pittidid anyone use autopilot already and could give me a hand with this?10:47
tsdgeospitti: i've used it, how are you running it?10:58
pittitsdgeos: I'm following the tutorial, and created a ~/gedit_test.py (http://paste.ubuntu.com/1379193/)10:59
=== mmrazik is now known as mmrazik|lunch
pitti"autopilot list ." crashes, "autopilot list gedit_test" and "autopilot list gedit_test.py" both find no tests10:59
tsdgeosok10:59
tsdgeosso what i did10:59
tsdgeoswhich i'm not an expert at all10:59
tsdgeosis this10:59
pittitsdgeos: I also tried putting it into a package (gedit_tests/, with __init__.py and tests.py), doesn't help10:59
tsdgeosah10:59
tsdgeosthat's what i did11:00
tsdgeosworked for me11:00
pittihm11:00
pittiI'm using ppa:autopilot/ppa with quantal11:00
pittiwell, on raring, but the quantal packages from the PPA11:00
pittitsdgeos: perhaps I'm missing some magic in my .py file itself?11:00
tsdgeosi don't see anything bad, but as said i'm not an expert11:03
tsdgeospitti: so if you put it in a package11:03
pittiok, thanks for having a look11:03
tsdgeosand then do autopilot list gedit_tests from the dir containing gedit_tests what happens?11:03
pitti$ mkdir gedit_tests11:04
pitti$ cp ~/gedit_test.py gedit_tests/test.py11:04
pitti$ touch gedit_tests/__init__.py11:04
pitti$ autopilot list . -> ValueError: Empty module name11:04
pittiooh11:04
tsdgeosfrom parent dir?11:04
pitti$ autopilot list gedit_tests11:04
pittithat works11:04
pittiodd, it just hanged with that some minutes ago11:04
tsdgeosit's my magic touch :D11:05
pittinow running it fails with RuntimeError: Unable to find Autopilot interface.11:05
pittibut one step further :)11:05
pittiah, it only fails with that if I close my gedit window11:06
pittithe self.keyboard.press_and_release('Ctrl+q') doesn't seem to work11:07
pittibut anyway, I'll poke at this11:07
pittitsdgeos: thanks!11:07
pittioh, it's apparently because there is no autopilot-gtk module; the autopilot-gtk package is empty (and also only available for i386)11:12
pittifiled as https://bugs.launchpad.net/autopilot/+bug/108232611:20
ubot5Ubuntu bug 1082326 in Autopilot "GTK autopilot module missing" [Undecided,New]11:20
pittitsdgeos: ah, FTR, got it (see bug followup)11:29
tsdgeosinteresting11:30
tsdgeosi was using autopilot-qt11:30
tsdgeosthat has stuff inside11:30
=== _salem is now known as salem_
=== mmrazik|lunch is now known as mmrazik
pittitsdgeos: do you know how to access the widget tree in an autopilot-gtk test?12:46
pittithere is zero documentation about it, and dir(self) and dir(self.application) don't have something obvious either12:47
tsdgeospitti: nope, have you tried "autopilot vis" that gives you an app that shows you the properties of the thing12:47
pittiyes, I did try it12:47
tsdgeosthen no sorry, all autopilot i used was with qt12:47
pittibut that doesn't give me any identifiers for the labels (such as the one in the GtkBuilder file)12:47
pittitsdgeos: how do you do it in Qt?12:48
pittidash = ... # Get the dash object from somewhere12:48
pitti^ in the doc12:48
pittiit's the "in the somewhere" that needs some expansion12:48
pittierr, "from somewhere"12:48
tsdgeosi do12:49
xnoxpitti: if only gtk exported the gtkbuilder id's and let you query them.....12:49
tsdgeos        results = self.app.select_single("Results")12:49
tsdgeoswhere Results is the class i'm looking for12:49
* xnox did file a bug report about it, and it was dismissed as not needed.12:49
pittitsdgeos: ah, thanks; that's not even in in dir() (or perhaps doesn't exist for gtk)12:49
pittixnox: too bad :(12:49
=== dandrader is now known as dandrader|afk
xnoxpitti: the reason was "you don't need it in C", and I was like "but you do want in OO languages & for interspection", I was dismissed as a lunatic.12:50
=== gatox is now known as gatox_lunch
pittiah, I was printing the wrong dir(), ignore me12:51
xnoxpitti: it's in the internal gtkbuilder structure.... which I can code a ld_preload library to expose.12:51
pittixnox: do you happen to have the bug link at hand?12:51
xnoxpitti: hm... let me try to find it.12:51
xnoxpitti: I have irc chat logs only & no bug #.12:54
pittiah, so it's perhaps worth another attempt; thanks12:54
=== dandrader|afk is now known as dandrader
Trevinhotsdgeos: done14:11
=== seb128_ is now known as seb128
mvoTrevinho: hi, did you get a chance to read my questions around the lp:~mvo/unity/sc-launcher-integration-fixes branch? I need some help to understand the change better :)14:24
Trevinhomvo: no sorry... looking now14:28
mvothanks14:28
=== dandrader is now known as dandrader|lunch
=== gatox_lunch is now known as gatox
Trevinhomvo: gave a look.. Basically I mean that once you've installed the app, then you can make apt to send to unity the desktop id of the new file... So this means "/tmp/software-center-agent:desktop-id.desktop" for instance... At this point you don't need to do all the manual search you're doing to get from it the real path... Just get the id substring and use the utility function15:05
mvoTrevinho: ok, so that would mean that there needs to be a new dbus call for unity, right? to replace a existing launcher icon (the temp one that is just valid during the install) with the new one?15:08
Trevinhomvo: imho that would be better, so that you can keep all the low level stuff there15:08
Trevinhowhie unity will be just informed with the actual result15:09
Trevinhomvo: or just pass that during the "On-Finished" signal...15:10
mvoTrevinho: ok, I will think about it15:10
Trevinhomvo: but if you don't want to do that, it's fine to use the current way, but use the utility function for doing the real parsing15:11
mvoTrevinho: ok, thanks. I would prefer to leave it as is for now, but I will use the utility function15:16
=== dandrader|lunch is now known as dandrader
=== didrocks1 is now known as didrocks
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
cariverihey there. does anyone know the current email adress of jason smith or any other way to context ihm?18:09
cariveri*contact him18:09
conscioususerlarsu: from a modal dialog I can access the menubar of its parent... is this a bug?20:54
larsuconscioususer, right now all windows in an application have the same menu bar. That's more an api limitation than a bug :)20:56
larsuconscioususer, hey wait, you probably mean something other than me. You want the menu to disappear in that case? Or have everything disabled?21:07
=== salem_ is now known as _salem
bobweaverHello there I am not sure what I did in the last 4 hours but I can not seem to get cmake to configure right. after rm <source>/build/*  I keep on getting a linked lib error for unityshell for the compiz plugin  I will pastebin error21:43
bobweaverwell it is not that big21:43
bobweaverCMake Error at plugins/unityshell/CMakeLists.txt:13 (add_dependencies):21:43
bobweaver  add_dependencies Adding dependency to non-existent target: unity-shell21:43
bobweaverbut target is there ?21:44
bobweavercmake command I am running21:45
bobweavercmake ../  -DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DCMAKE_INSTALL_PREFIX=/home/joseph/Desktop/ubuntu-tv-3d/trunk/build -DGSETTINGS_LOCALINSTALL=O21:45
bobweaverI will hack away at plugins/unityshell/CMakeLists.txt for now21:47
bobweaverWork around : hardcode in unity version and move the linking of unityshell to the end and it is building now21:57
bobweaverlibunity-6.0-5 *21:58
=== bschaefer is now known as bschaefer|lunch
=== bschaefer|lunch is now known as bschaefer
conscioususerlarsu: disabled would be expected, as this is the case for DEs without global menus22:26
conscioususeroops, he left22:26

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