[14:11]  * dipankar is away: Be Right Back
[14:11]  * dipankar is back (gone 00:00:01)
[15:03] <manusheel> kandarpk: Hi Kandarp.
[15:03] <manusheel> Around?
[15:08] <kandarpk> manusheel sir: hi sir
[15:31] <mukul> hi alsroot
[15:31] <alsroot> mukul: hi
[15:35] <mukul> alsroot, 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:38] <alsroot> mukul: you can find all misc.py function invocation by grepping using function name eg "misc.resume"
[15:39] <alsroot> mukul: and you'll find the code in palettes.py which has Start, Start with ,Erase, etc.
[15:45] <mukul> alsroot, Am I looking at the correct file misc.py for the intended purpose ie. for starting a a file using an activity?
[15:46] <alsroot> mukul: yup, everything will resumed from misc.resume()
[15:50] <mukul> alsroot, 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:51] <alsroot> mukul: btw are looking to master or 0.88 code?, in master it was changed a bit
[16:02] <mukul> alsroot, I was looking at jhbuild code. Is the same as the master?
[16:05] <alsroot> mukul: I guess yup, so, everything happens from misc.launch (misc.resume as well), so grep for "misc.resume" and "misc.launch"
[17:44] <anubhav__> anuragc: dipankar: hello
[17:46] <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 help
[17:46] <jatin> anuragc : dipankar : hello
[17:49] <anuragc> jatin: hello
[17:51] <anuragc> anubhav_: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 workout
[17:52] <anubhav__> anuragc: dipankar: alsroot:we were working on #306  http://bugs.sugarlabs.org/ticket/306
[17:53] <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.svg
[17:54] <anubhav__> anuragc: dipankar: alsroot : using this we are not able to get hold of the current language management system
[17:56] <anuragc> anuragc: 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] <anuragc> opps that was to anubhav_
[17:58] <alsroot> anubhav__: see sugar-artwork project, there are icons/scalable/actions icon directory
[18:01] <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 not
[18:04] <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 ca
[18:08] <alsroot> anubhav__: what are you trying to achieve w/ get_language_ids()? btw there is a patch on olpc track for this bug
[18:08]  * ishan_ is away: Be Right Back
[18:09]  * ishan_ is back (gone 00:00:01)
[18:09] <anuragc> anubhav_: use grep to find the functions of interest
[18:10] <anubhav__> alsroot: actually i was trying to detect whether the language being used is right to left or left to right using that function
[18:11] <anubhav__> alsroot: which patch can you tell me the link
[18:12] <alsroot> anubhav__: use something like "gtk.widget_get_default_direction() == gtk.TEXT_DIR_RTL"
[18:13] <anubhav__> alsroot: thanx will work on it
[18:18] <shan> alsroot, hi around?
[18:18] <alsroot> shan: yup
[18:19] <shan> alsroot, hi i am also working on http://bugs.sugarlabs.org/ticket/2324
[18:20] <shan> alsroot, i am able to introduce the new toolbar and copy/paste icons in it.
[18:21] <shan> alsroot, 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:22] <alsroot> shan: could you pastebin your patch (`git diff` output)
[18:23] <shan> alsroot, sure give me a second
[18:25]  * dipankar is working on 2152.
[18:36] <shan> alsroot, could i reach you in half an hour or something?...i got some work.