[Sugar-devel] [Design]Control Panel max_column value

2010-08-25 Thread usr
Hi all,
I was working on Bug-Ubuntu (LP #617582).[1]
Now while fixing the bug I narrowed down to the controlpanel/gui.py  
file . In that file the value of _MAX_COLUMNS  was set to 6. After  
discussing with alsroot, we decided that it should not be hardcoded.  
Instead its value should be assigned on the fly according to the  
screen width. In the end we set the value to
?   gtk.gdk.screen_width() /(3* style.GRID_CELL_SIZE)or
?   gtk.gdk.screen_width()/ 200
is solving the issue at my end. I have tested this by opening the  
emulator in different resolutions.

I request you that if you have a better solution for this problem then  
please let me know.

[1] https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617582


Regards
Neeraj Gupta
Research Engineer
SEETA



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] (no subject)

2010-08-15 Thread usr
HI all,
When we start sugar-emulator in ubuntu , The title text in emulator window
shows [Xephyr on 30.0].Now , after going through code and other resources
what i deducted is that Xephyr is window/session manager which we uses to
run sugar on Ubuntu.Now when i tried to find the source for text in code
,but I was directed towards xpehyr which means that the text in window is
given by Xephyr . Now , i was wondering if there is any way so that we
could indiacate that sugar emulator session was in progress.Like
replacing/adding text in title bar with Sugar-something ?

Regards,
Ankur

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Control Panel

2010-08-14 Thread usr
Hi,
I was working on making some changes in sugar control panel in Ubuntu
,such that it should not require any restart even when very small change
is made. So, can you tell me and help me out to figure that what changes
are small enough so that they should not require changes.I will Try to
make changes accordingly.
On my findings,
1. my xo
2. date and time
3.frames
4.languages
5.modem configuration

in the above options i am not able to make changes without restart.the
rest options are working fine without restart.
when we click on restart it doesnt restart sugar either.

Few pointers would be helpful and I would really appreciate your support
in this direction.

Regards,
Ankur Khurana.
Research Engineer,SEETA
http://seeta.in/

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel