/srv/irclogs.ubuntu.com/2010/09/29/#ubuntu-sugarteam.txt

=== manusheel is now known as manusheel_afk
=== manusheel_afk is now known as manusheel
* dipankar is away: Be Right Back14:11
* dipankar is back (gone 00:00:01)14:11
=== mukul_afk is now known as mukul
manusheelkandarpk: Hi Kandarp.15:03
manusheelAround?15:03
kandarpkmanusheel sir: hi sir15:08
mukulhi alsroot15:31
alsrootmukul: hi15:31
=== dipankar_ is now known as ishan_
mukulalsroot, I was working on bug#328. I was trying to search for the code which runs files from journal/USB device,etc. I realize that misc.py in jarabe/journal logs the action when an activity cannot be run. I want to find the code which tries to run a file and also the display options which come when I right click an object. (ie. Start, Start with ,Erase, etc.)15:35
alsrootmukul: you can find all misc.py function invocation by grepping using function name eg "misc.resume"15:38
alsrootmukul: and you'll find the code in palettes.py which has Start, Start with ,Erase, etc.15:39
mukulalsroot, Am I looking at the correct file misc.py for the intended purpose ie. for starting a a file using an activity?15:45
alsrootmukul: yup, everything will resumed from misc.resume()15:46
mukulalsroot, when we open sthing from journal we get resume,resume with etc.  options but when we use a pendrive to start a file then we see start,start with. I am particularly looking at the start,start with etc. options...Does misc.resume() perform the same thing as start?15:50
alsrootmukul: btw are looking to master or 0.88 code?, in master it was changed a bit15:51
mukulalsroot, I was looking at jhbuild code. Is the same as the master?16:02
alsrootmukul: I guess yup, so, everything happens from misc.launch (misc.resume as well), so grep for "misc.resume" and "misc.launch"16:05
=== manusheel is now known as manusheel_afk
=== manusheel_afk is now known as manusheel
anubhav__anuragc: dipankar: hello17:44
anubhav__anuragc: dipankar: actually could i help regarding which file should be looked for currently i was looking readtoolbar to make changes.17:46
anubhav__*could i get help17:46
jatinanuragc : dipankar : hello17:46
anuragcjatin: hello17:49
anuragcanubhav_:It would be good to look at the files of an activity that uses the forward and backward buttons like the read activity and then we can trace the function used to control the forward and backward buttons to their modules of definition there we can find some lead to the RTL issue workout17:51
anubhav__anuragc: dipankar: alsroot:we were working on #306  http://bugs.sugarlabs.org/ticket/30617:52
anubhav__anuragc: actually using that we reached the file we are currently searching the name of the figures are go-previous-paired.svg and go-next-paired.svg17:53
anubhav__anuragc: dipankar: alsroot : using this we are not able to get hold of the current language management system17:54
anuragcanuragc: didint you find import to any modules that has the use of lacales in them, in any of the files that you have scanned till now?17:56
anuragcopps that was to anubhav_17:56
alsrootanubhav__: see sugar-artwork project, there are icons/scalable/actions icon directory17:58
anubhav__anuragc: we have found a function get_language_ids() in viewsource.py injarabe/view but there is no defination of this function that we could find and secondely if we use this how can we detect from htis whether it is rtl or not18:01
anubhav__alsroot:actually using that we reached the file we are currently searching  i.e readtoolbar.py the name of the figures are go-previous-paired.svg and go-next-paired.svg. Using this we are not able to get hold of the current language management system.We have found a function get_language_ids() in viewsource.py injarabe/view but there is no defination of this function that we could find and secondely if we use this how ca18:04
alsrootanubhav__: what are you trying to achieve w/ get_language_ids()? btw there is a patch on olpc track for this bug18:08
* ishan_ is away: Be Right Back18:08
* ishan_ is back (gone 00:00:01)18:09
anuragcanubhav_: use grep to find the functions of interest18:09
=== mukul is now known as mukul_afk
anubhav__alsroot: actually i was trying to detect whether the language being used is right to left or left to right using that function18:10
anubhav__alsroot: which patch can you tell me the link18:11
alsrootanubhav__: use something like "gtk.widget_get_default_direction() == gtk.TEXT_DIR_RTL"18:12
anubhav__alsroot: thanx will work on it18:13
shanalsroot, hi around?18:18
alsrootshan: yup18:18
shanalsroot, hi i am also working on http://bugs.sugarlabs.org/ticket/232418:19
shanalsroot, i am able to introduce the new toolbar and copy/paste icons in it.18:20
shanalsroot, but there seems to be some issue with pasting, could you please help me out with the variable which displays the final output at the separator/bar of the two bead boxes?18:21
alsrootshan: could you pastebin your patch (`git diff` output)18:22
shanalsroot, sure give me a second18:23
* dipankar is working on 2152.18:25
shanalsroot, could i reach you in half an hour or something?...i got some work.18:36
=== dfarning_afk is now known as dfarning

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