=== tchan [n=tchan@lunar-linux/developer/tchan] has joined #bzr | ||
lifeless | keir: well, I'm heading to lunch | 02:05 |
---|---|---|
lifeless | keir: have fun! | 02:05 |
keir | lifeless, i have to switch back to RL stuff for now | 02:17 |
=== orospakr [n=orospakr@CPE001a70d1de84-CM0019474a8676.cpe.net.cable.rogers.com] has joined #bzr | ||
=== pete__c [n=pete@015-850-358.area5.spcsdns.net] has joined #bzr | ||
=== schierbeck [n=daniel@muhammed.egmont-kol.dk] has joined #bzr | ||
schierbeck | jelmer: ping | 03:43 |
=== bitmonk [n=justizin@adsl-76-212-13-68.dsl.pltn13.sbcglobal.net] has joined #bzr | ||
=== bitmonk_ [n=justizin@adsl-76-212-13-68.dsl.pltn13.sbcglobal.net] has joined #bzr | ||
=== orospakr [n=orospakr@bas4-ottawa23-1088826429.dsl.bell.ca] has joined #bzr | ||
=== AfC [n=andrew@bas2-toronto06-1242510580.dsl.bell.ca] has joined #bzr | ||
=== lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #bzr | ||
=== i386 [n=james@ppp239-169.static.internode.on.net] has joined #bzr | ||
lifeless | hi i386, missed you at yum cha today | 10:22 |
i386 | lifeless: yeah I wasnt there! | 10:23 |
i386 | how are you? | 10:23 |
lifeless | good | 10:24 |
i386 | just hacking on my project at the moment | 10:25 |
=== g0ph3r [n=g0ph3r@p57A083CE.dip0.t-ipconnect.de] has joined #bzr | ||
=== Demitar [n=demitar@c-212-031-182-147.cust.broadway.se] has joined #bzr | ||
=== acuster [n=acuster@89.7.90.220] has joined #bzr | ||
acuster | d | 10:52 |
=== pbor [n=urk@host245-46-dynamic.58-82-r.retail.telecomitalia.it] has joined #bzr | ||
=== jrydberg_ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr | ||
acuster | Hey all, | 11:16 |
acuster | in http://bazaar-vcs.org/releases/debs/feisty/ | 11:16 |
acuster | what's the difference between bzr*bazaar and the bzr without? | 11:16 |
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr | ||
welterde | what does "EOF during negotiation" mean?(while doing bzr push) | 11:31 |
james_w | acuster: that is just the version number. | 11:31 |
acuster | ? | 11:32 |
james_w | welterde: there was some sort of error. The messages need to be improved, is there more to the message? | 11:32 |
acuster | bzr_0.90-1_i386.deb | 11:33 |
james_w | welterde: and are you using sftp:// or bzr+ssh://? | 11:33 |
acuster | vs | 11:33 |
welterde | james_w: sftp:// | 11:33 |
acuster | bzr_0.90-1bazaar1_i386.deb | 11:33 |
james_w | welterde: ok, I assume that you can ssh to the server. | 11:33 |
welterde | yup | 11:33 |
james_w | welterde: are you using a non-standard port? | 11:34 |
welterde | no | 11:34 |
welterde | it happens right after it requests the sftp subsystem | 11:34 |
welterde | if that helps^^ | 11:35 |
james_w | acuster: the bazaar ones are a higher version. | 11:36 |
james_w | welterde: is there any more error message? | 11:37 |
acuster | thanks | 11:37 |
welterde | james_w: just that "bzr: ERROR: Unable to connect to SSH host" | 11:38 |
welterde | but thats not quite true^^ | 11:39 |
james_w | welterde: what is the command line you are using? | 11:41 |
acuster | /build/buildd/subversion-1.4.3dfsg1/subversion/libsvn_subr/path.c:377: svn_path_basename: Assertion `is_canonical(path, len)' failed. | 11:42 |
welterde | james_w: bzr push | 11:42 |
james_w | welterde: and in 'bzr info' what is the parent branch? | 11:42 |
james_w | acuster: what version of bzr-svn are you using? | 11:43 |
welterde | it has no parent branch^^ | 11:43 |
acuster | 0.4.2 and 0.4.1 | 11:43 |
james_w | welterde: does it have a push branch? | 11:44 |
james_w | acuster: I would suggest filing a bug then. | 11:44 |
acuster | thanks | 11:44 |
welterde | james_w: yes... sftp://bteam@gandalf.srv.welterde.de/~/projects/web/vg/main/ | 11:44 |
james_w | welterde: and 'ssh bteam@gandalf.srv.welterde.de' | 11:45 |
james_w | I believe you already said it does. | 11:45 |
welterde | oh... | 11:45 |
james_w | welterde: is there anything in ~/.ssh/config about this host? | 11:45 |
welterde | i think it might fail, because i set the login-shell to /bin/false^^ | 11:46 |
welterde | silly me^^ now it works | 11:46 |
james_w | :) | 11:48 |
=== arjenAU [n=arjen@ppp215-29.static.internode.on.net] has joined #bzr | ||
=== Sigma [n=yann@pdpc/supporter/active/Sigma] has joined #bzr | ||
lifeless | I hate python bugs | 11:59 |
lifeless | 'foo'.rfind('\n', None, None) | 11:59 |
lifeless | try that | 11:59 |
=== cfbolz [n=cfbolz@p54AB8056.dip0.t-ipconnect.de] has joined #bzr | ||
=== Mez [n=Mez@ubuntu/member/mez] has joined #bzr | ||
=== glogiotatidis [n=seadog@athedsl-302831.home.otenet.gr] has joined #bzr | ||
glogiotatidis | hello everyone, can anybody help me install a plugin? | 01:03 |
=== AnMaster [n=AnMaster@unaffiliated/anmaster] has joined #bzr | ||
lifeless | glogiotatidis: sure | 01:19 |
lifeless | gnight all | 01:31 |
=== asak [n=alexis@201-1-0-253.dsl.telesp.net.br] has joined #bzr | ||
=== dpm [n=dpm@p54A13FB8.dip0.t-ipconnect.de] has joined #bzr | ||
=== Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr | ||
jelmer | welterde: please try 0.4.3 | 03:34 |
jelmer | welterde: there have been changes in that part of the code, so chance is it's been fixed | 03:34 |
=== AfC [n=andrew@bas1-malton22-1167905016.dsl.bell.ca] has joined #bzr | ||
welterde | jelmer: changing login-shell to /bin/zsh helped^^ | 04:03 |
jelmer | huh!? | 04:04 |
welterde | [15:34:30] jelmer | welterde: please try 0.4.3 | 04:04 |
james_w | jelmer: it was acuster that had the bzr-svn issue. | 04:04 |
jelmer | ah, sorry! | 04:04 |
=== AfC [n=andrew@bas1-malton22-1167905016.dsl.bell.ca] has left #bzr [] | ||
=== mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr | ||
=== bitmonk [n=justizin@adsl-76-212-13-68.dsl.pltn13.sbcglobal.net] has joined #bzr | ||
=== statik [n=emurphy@189.66.188.72.cfl.res.rr.com] has joined #bzr | ||
=== herzel104 [i=herzel@gateway/tor/x-d83860322e5cd3bb] has joined #bzr | ||
=== Gwaihir_ [n=Gwaihir@80.104.116.223] has joined #bzr | ||
=== Gwaihir_ is now known as Gwaihir | ||
=== abadger1999 [n=abadger1@65.78.187.68] has joined #bzr | ||
=== orion_ [n=orion@124-171-209-215.dyn.iinet.net.au] has joined #bzr | ||
=== Zindar_ [n=erik@h188n1fls12o803.telia.com] has joined #bzr | ||
orion_ | is it possible to use bzr as a GIT frontend, not using it for anything else | 05:19 |
=== luks [n=lukas@unaffiliated/luks] has joined #bzr | ||
james_w | orion_: bzr-git will allow you to do that, but it is not ready for use yet. | 05:23 |
=== dato [n=adeodato@tarrio.org] has joined #bzr | ||
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr | ||
=== cypherbios [n=cyr@ubuntu/member/cypherbios] has joined #bzr | ||
=== Gwaihir_ [n=Gwaihir@80.104.116.121] has joined #bzr | ||
=== Gwaihir_ is now known as Gwaihir | ||
=== Zindar_ [n=erik@h188n1fls12o803.telia.com] has joined #bzr | ||
=== hsn_ [n=chatzill@234.114.broadband5.iol.cz] has joined #bzr | ||
hsn_ | can we see results of survey? | 06:06 |
luks | http://www.surveymonkey.com/sr.aspx?sm=FDeDsLzaZ0AKNEATuA0QklWayMZKGfHcrP1U4V55jAY%3d | 06:09 |
hsn_ | nice | 06:11 |
=== phanatic [n=phanatic@53d82a1a.adsl.enternet.hu] has joined #bzr | ||
hsn_ | i need better win install guide (click-by-click based) for my team, should i create it on wiki as AlternativeWindowsInstallGuide ? | 06:19 |
hsn_ | nowdays users needs to read more pages for hunting all bazaar depends | 06:20 |
=== vila [n=vila@lec67-4-82-230-53-244.fbx.proxad.net] has joined #bzr | ||
james_w | hsn_: please do. | 06:23 |
james_w | hsn_: why not just improve the windows install guide though? | 06:23 |
hsn_ | beause its faster for me to start with empty page instead of merging and editing 3-4 pages | 06:24 |
hsn_ | currently ppl needs to hunt depend libraries from at least these pages: http://bazaar-vcs.org/WindowsDownloads http://bazaar-vcs.org/BzrWin32Installer http://bazaar-vcs.org/BzrOnPureWindows | 06:30 |
hsn_ | and ppl on my team are complaining about this a lot | 06:30 |
=== adedov [n=bada@gw.nsib.ru] has joined #bzr | ||
adedov | hi! Please explain howto merge with bundle file' | 06:43 |
luks | bzr merge path/to/bundle.patch | 06:44 |
luks | or do you mean something different? | 06:44 |
adedov | luks: it says me following "bzr: ERROR: Revision {...} not present in "inventory"." | 06:44 |
=== adedov [n=bada@gw.nsib.ru] has left #bzr [] | ||
=== adedov [n=bada@gw.nsib.ru] has joined #bzr | ||
luks | adedov, no idea, sorry | 06:48 |
adedov | I made sample repository with two revisions and then created a branch of it. After that I added one revision to a branch and created a bundle with command "bzr bundle-revisions -r2..3". The resulting bundle is not applied to an original branch. | 06:48 |
luks | why the -r2..3? | 06:50 |
adedov | what I need instead? | 06:50 |
luks | anyway, if you have a recent version of bzr, use 'bzr send' instead of 'bzr bundle' | 06:50 |
luks | well, nothing :) | 06:50 |
luks | it will figure out the missing revisions | 06:51 |
adedov | I want to try out if I can create bundles without having remote respository. | 06:51 |
=== jrydberg__ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr | ||
adedov | Actually, I want invent a process to review code of students projects. I.e. I want make them send me a bundles without having access to a mine local branch. | 06:53 |
luks | how do they get the code then? | 06:53 |
adedov | They do it them-selves. I want to review. Comfortably, though. | 06:54 |
luks | so you want them to send you the whole branch by mail? | 06:54 |
luks | what is 'your local branch' then? | 06:55 |
adedov | no, just a bundle of changes since the last review. | 06:55 |
adedov | or it looks as broken idea at it root? | 06:55 |
luks | not sure | 06:56 |
luks | so each student has an independant project? or are they based on your code? | 06:56 |
adedov | each has it own one | 06:56 |
adedov | my task is code review. actually it is programming language course. I must peek language/design mistakes. | 06:58 |
adedov | I had experienced some PITA with mailing tgz files. Now I think about reviewing bundles. | 06:59 |
adedov | btw, "bundle" and "bundle-revisions" deprecated? | 06:59 |
luks | yes | 06:59 |
luks | dunno, if it's just for reviews, I'd use plain diffs | 07:00 |
adedov | you may be right, but I also need build a project and look for its functionality. so the plain diffs won't work (e.g. because of added/removed files). | 07:01 |
luks | I think something like "bzr send -rtag:review-X.. -o for-review.patch" should work | 07:02 |
luks | and they would add a review-X tag after each review | 07:03 |
adedov | ok, I shall check. | 07:03 |
luks | I'm not sure about the "Revision not present in inventory" problem, though | 07:04 |
luks | but it's very likely that 'bzr send' will work better | 07:04 |
adedov | how to make "bzr send" not send any mail? | 07:05 |
luks | bzr send -o filename | 07:05 |
luks | that will generate a file | 07:05 |
=== bitmonk [n=justizin@adsl-76-212-13-68.dsl.pltn13.sbcglobal.net] has joined #bzr | ||
adedov | the same error | 07:10 |
adedov | well, it seems I will need create a personal read-only branches available via internet for them. | 07:11 |
luks | you could send a mail to the mailing list, there is usually not many people here over weekends | 07:12 |
adedov | luks: ok, thank you very much | 07:13 |
=== the_angry_angel [n=karl@sulphur.theangryangel.co.uk] has joined #bzr | ||
the_angry_angel | Hi guys, just wondering if someone can help shed some light on a problem. I'm using bzr on Windows (0.91) and when I try to push a repository to a linux server, over sftp only the .bzr directory appears to get copied. I've hunted through the docs and unless I'm being a huge dick, I believe it should also be copying the rest of the files in the directory? That's what it does when I try to push via a file:// path on the same machine at least. | 07:15 |
dato | the_angry_angel: pushing over sftp:// and file:// is different | 07:16 |
mwhudson | push only updates the branch , not the working tree | 07:16 |
mwhudson | there's a push-and-update plugin somewhere | 07:16 |
dato | it is expected (or, it is the current behavior) that pushing over sftp:// only pushes the .bzr directory | 07:16 |
the_angry_angel | ok, excuse my ignorance as I'm starting out with bzr, but does that include the actual revisions of the files? or should I be rsync / scp'ing the working data also to my publishing server? | 07:17 |
=== adedov [n=bada@gw.nsib.ru] has left #bzr [] | ||
dato | the_angry_angel: the .bzr directory contains everything needed for people to be able to branch off from your server | 07:19 |
the_angry_angel | So the actual working data is irrelevant :) | 07:20 |
the_angry_angel | Ok, that makes sense :) thank you dato | 07:20 |
dato | np | 07:20 |
=== Vernius [n=tomger@p508AE3F5.dip.t-dialin.net] has joined #bzr | ||
=== orospakr [n=orospakr@CPE001a70d1de84-CM0019474a8676.cpe.net.cable.rogers.com] has joined #bzr | ||
=== s|k [n=bjorn@c-69-181-8-54.hsd1.ca.comcast.net] has joined #bzr | ||
=== mwhudson [n=mwh@62-31-157-102.cable.ubr01.azte.blueyonder.co.uk] has joined #bzr | ||
=== AfC [n=andrew@63.116.222.46] has joined #bzr | ||
=== phanatic_ [n=phanatic@53d82a1a.adsl.enternet.hu] has joined #bzr | ||
=== luks [n=lukas@unaffiliated/luks] has joined #bzr | ||
=== niemeyer [n=niemeyer@200-138-54-64.ctame705.dsl.brasiltelecom.net.br] has joined #bzr | ||
s|k | hi | 09:30 |
=== bialix [i=chatzill@77.109.21.192] has joined #bzr | ||
s|k | why am I getting a bzr: ERROR: Permission denied: "/.bzr": [Errno 13] Permission denied? | 09:36 |
s|k | I'm trying to set up a shared repository on a remote system | 09:36 |
mwhudson | well, you probably don't have write access to / do you? | 09:36 |
dato | you are probably trying to push to /? | 09:36 |
dato | s|k: you have probably forgotten a /~/ part in your path | 09:37 |
mwhudson | what url are you passing to init-repo ? | 09:37 |
s|k | my command is bzr init-repo --no-trees sftp://user@domain.com | 09:37 |
mwhudson | right, you need to specify the location on the server | 09:37 |
s|k | sftp goes into the home directory for user doesn't it? | 09:37 |
dato | nope | 09:38 |
s|k | hrm so if I make it sftp://user@domain.com/dir/ | 09:38 |
s|k | then dir is a directory in /home/user ? | 09:38 |
dato | you want sftp://user@domain.com/~/dir/ | 09:38 |
s|k | ohh | 09:38 |
s|k | thanks | 09:38 |
s|k | I think that worked | 09:41 |
s|k | I have another question | 09:41 |
s|k | I set up a special user on my remote server for bzr | 09:41 |
s|k | it seems to me though that I'll have to give that user login info to everyone that I want to give 'commit access' too | 09:41 |
s|k | to* | 09:41 |
s|k | I'm new to bzr if you haven't noticed :P | 09:42 |
s|k | my question is, is there a better way? | 09:43 |
bialix | luks: ping | 09:46 |
=== Zindar [n=erik@h188n1fls12o803.telia.com] has joined #bzr | ||
=== bitmonk [n=justizin@adsl-76-212-13-68.dsl.pltn13.sbcglobal.net] has joined #bzr | ||
=== n2diy_ [n=darryl@wlk-barre-208-103-148-32.dynamic-dialup.coretel.net] has joined #bzr | ||
=== thumper [n=tim@222-153-98-220.jetstream.xtra.co.nz] has joined #bzr | ||
=== _thumper_ [n=tim@canonical/launchpad/thumper] has joined #bzr | ||
=== _thumper_ is now known as thumper | ||
=== _thumper_ [n=tim@canonical/launchpad/thumper] has joined #bzr | ||
=== jamesh [n=james@canonical/launchpad/jamesh] has joined #bzr | ||
=== _thumper_ is now known as thumper | ||
hsn_ | need english speaker forr fixing my manual at http://bazaar-vcs.org/WindowsInstall | 10:45 |
hsn_ | manual tested on live BFU :) | 10:45 |
=== _thumper_ [n=tim@canonical/launchpad/thumper] has joined #bzr | ||
bialix | hsn_: hi | 10:57 |
bialix | I'm not english speaker, but windows maintainer of bzr | 10:57 |
bialix | do you read this page? http://bazaar-vcs.org/BzrWin32Installer | 10:58 |
hsn_ | I am person blamed by my team for BZR too hard to install thing | 10:58 |
bialix | one note: Python language - python-2.4.4.msi | Homepage | 10:59 |
hsn_ | and they are right, i used lot of time for geting bzr work on windows too | 10:59 |
bialix | it's not exactly "Python language" -- it's Python interpreter | 11:00 |
=== jamesh [n=james@222-153-97-181.jetstream.xtra.co.nz] has joined #bzr | ||
bialix | hsn_: it's shame for me to hear this | 11:00 |
=== jml [n=jml@222-153-97-181.jetstream.xtra.co.nz] has joined #bzr | ||
bialix | I use standalone bzr.exe | 11:00 |
bialix | and install process for me: download installer, then run it | 11:00 |
bialix | I want note that QBzr GUI is works well with bzr.exe, while bzr-gtk is not | 11:01 |
bialix | QBzr is also has installer for Windows | 11:02 |
bialix | hsn_: you wrote: We will use Python 2.4 branch instead of newer Python 2.5 because binaries of some additional packages are not yet available for Python 2.5. | 11:04 |
bialix | probably "we are using Python 2.4..." | 11:04 |
=== thumper [n=tim@222-153-97-181.jetstream.xtra.co.nz] has joined #bzr | ||
bialix | what's libraries is unavailable? | 11:05 |
hsn_ | i think celementtree | 11:05 |
=== bialix_ [i=chatzill@77.109.21.51] has joined #bzr | ||
bialix_ | hsn_: celementtree as well as elementtree is the part of standard python library since python 2.5 | 11:06 |
bialix_ | you don't need to install it yourself | 11:06 |
bialix_ | I'm not PyGTK expert, so I can't say is all needed PyGTK libraries available for python 2.5 | 11:08 |
bialix_ | and if you read my instructions from http://bazaar-vcs.org/BzrWin32Installer you could see that I built python-based windows installer and for paramiko too | 11:09 |
hsn_ | where is .exe based installer for paramiko? i see just .zip linked from that page | 11:11 |
bialix_ | and my version of paramiko does not require mfc71.dll ;-) | 11:11 |
bialix_ | from that page: "NOTE: I strongly recommend to use my version paramiko.ctypes, that use ctypes instead of pywin32. This version avoids dependency on MFC71.dll. (Binary package)" | 11:12 |
bialix_ | http://bialix.com/python/paramiko-1.7.1-ctypes.win32.exe | 11:12 |
hsn_ | this is paramiko sftp/ssh library + ctypes? | 11:13 |
luks | bialix, pong | 11:13 |
bialix_ | this is paramiko library that use ctypes library instead of pywin32 | 11:14 |
bialix_ | to use my version you need install ctypes on python 2.4 as well | 11:14 |
bialix_ | luks: hi | 11:14 |
luks | hey | 11:14 |
bialix_ | luks: have a question about QtAssistant | 11:15 |
bialix_ | it wants dcf files, but I don;t know where to find it | 11:15 |
luks | um, I'm actually not sure what dcf files are | 11:16 |
bialix_ | I installed PyQt from complete installer, as you suggested | 11:16 |
bialix_ | when I try to run assistant at first I have many error messages about missing html files | 11:16 |
bialix_ | these files for some reason was installed to C:\Program Files\PyQt4\doc, but assistant looks for them in C:\Python25\PyQt4\doc | 11:17 |
bialix_ | I copy these html files, but now it want dcf files | 11:18 |
luks | hmm, and it didn | 11:18 |
bialix_ | IIUC, these dcf files used for search | 11:18 |
luks | didn | 11:18 |
luks | ok, one more try | 11:18 |
luks | and it didn't install and dcf files? | 11:18 |
=== luks sighs | ||
luks | any | 11:18 |
bialix_ | no dcf files here | 11:19 |
bialix_ | I look into tar.gz and zip archives and found nothing inside | 11:19 |
bialix_ | I mean from page http://www.riverbankcomputing.co.uk/pyqt/download.php | 11:20 |
luks | I don't know, I have a full Qt here, but I expected that the installed will be fully working | 11:20 |
luks | one moment, I'll try to find the dcf files I have here | 11:20 |
lifeless | moaning | 11:21 |
bialix_ | ta-da! | 11:21 |
bialix_ | luks: I did refactoring for timestamp formatting as string | 11:23 |
bialix_ | is there better way to convert QtString to python string without this: ''.join(_date.toString(QtCore.Qt.LocalDate).toUtf8() | 11:23 |
luks | unicode(_date.toString(QtCore.Qt.LocalDate)) | 11:24 |
bialix_ | gosh | 11:25 |
luks | I think str() around the .toUtf8() object should work, too | 11:25 |
luks | depends where it's needed | 11:25 |
=== AfC [n=andrew@63.116.222.46] has joined #bzr | ||
bialix_ | unicode is OK | 11:25 |
=== bialix_ is now known as bialix | ||
luks | bialix, http://users.musicbrainz.org/~luks/tmp/qt.dcf (sorry it took so long, I'm on a slow gprs connection right now) | 11:29 |
=== asak [n=alexis@201-26-116-218.dsl.telesp.net.br] has joined #bzr | ||
luks | I think putting this file to the "html" directory should make it work | 11:29 |
bialix | actually assistant want several dcf, but thankyou anyway | 11:31 |
bialix | assistant.dcf, designer.dcf, linguist.dcf, qmake.dcf | 11:32 |
bialix | but I saw in documentation topic about add/remove those dcf, so may be I remove them for now | 11:32 |
luks | yep, you can remove those | 11:34 |
luks | I have also bzrlib API docs in the assistant :) | 11:34 |
bialix | cool | 11:35 |
hsn_ | ctypes are part of py2.5? | 11:39 |
luks | yes | 11:39 |
bialix | luks: just sent you new patch | 11:41 |
luks | bialix, umm, is ignoring _lib a good idea? there are some versioned files under it | 11:43 |
bialix | luks: what's about standard Qt buttons like Close/Cancel? May be I replace them with user buttons, to have ability translate label? | 11:43 |
bialix | luks, I ignore ./_lib, it's not your installer/_lib | 11:44 |
luks | oh | 11:44 |
bialix | I checked this | 11:44 |
bialix | I hacking qbzr directly in directory where it's installed | 11:44 |
bialix | so I'm able to run and test it after every change I did | 11:45 |
luks | regarding the buttons | 11:48 |
luks | I use something like http://rafb.net/p/WyoJzE88.html elsewhere, maybe it could be used also in qbzr | 11:48 |
luks | it emulates the standard QDialogButtonBox buttons, but with gettext translations | 11:48 |
bialix | place this class to util.py? | 11:51 |
luks | yes. it will need some tweaks, but I think it should be usable | 11:51 |
bialix | you're explicitly skip some code on win32. it's win32-uncompatible? | 11:52 |
luks | no, windows and mac don't have icons on pushbuttons | 11:52 |
bialix | ah, OK | 11:52 |
luks | but on linux/gnome people will get the standard "close" icon, for example | 11:53 |
bialix | umm, I'm still lamer in Qt. what tweaking you have in mind? | 11:54 |
luks | self.tagger.style() -> QtGui.QApplication.style() | 11:54 |
luks | actually, that's probably it. I don't see anything else | 11:55 |
luks | maybe self.style() would work, too | 11:55 |
luks | bialix, +_date = QtCore.QDateTime() -- I don't think it's a good idea to use a global instance, here | 11:57 |
bialix | why? | 11:57 |
luks | it would break threaded code | 11:57 |
bialix | format_timestamp often called from loop | 11:58 |
luks | currently there isn't any, but there used to be and probably will be again | 11:58 |
luks | hm | 11:58 |
bialix | I did it for performance optimization, but it's possible to change for local variable | 11:59 |
bialix | so, I rework it back? | 12:01 |
luks | yes, I'd feel safer to have it as a local variable | 12:01 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!