GSOC 2010 IS ON

29.01.2010

As declared by Leslie Hawthorn, Program Manager – Open Source Google Inc on 27th january 2010 that GSOC 2010 will be there. The various information can be found at links

1) http://socghop.appspot.com/

2)http://socghop.appspot.com/document/show/gsoc_program/google/gsoc2009/faqs

3)http://delicious.com/gsoc2009

4)http://socghop.appspot.com/gsoc/program/accepted_orgs/google/gsoc2009

The accepting application for would-be mentoring organizations will be beginning March 8th at approximately 19:00 UTC, with applications closing on March 12th at 23:00 UTC and Students can apply between 19:00 UTC on March 29th to 19:00 UTC on April 9th.

I to will be applying for GSOC 2010 from none other than (in which i always wanted to work 🙂 )  SugarLabs. It was always on my mind that someday i will be working for sugarlabs and not i am very happy working on font panel extension for control panel in sugar. Will updayte with a documentation on how i worked for the font panel extension 🙂

Advertisements

SUGAR JOURNEY

21.01.2010

The first and foremost task for playing with sugar is obviously installing it and that can be done by “yum groupinstall sugar-desktop” and then you can have fun playing with it. If you are going for development then you need to follow “http://wiki.sugarlabs.org/go/Development_Team/Jhbuild” . Today i am going through the various control-panel settings and codes for sugar “http://git.sugarlabs.org/projects/sugar/repos/mainline/trees/master/extensions/cpsection” . I also wrote a small code for font panel with the help of gnome documentations

#!/usr/bin/env python

import pygtk
pygtk.require(‘2.0’)
import gtk

class FontButtonExample:
def __init__(self):
window = gtk.Window()
window.connect(‘destroy’, lambda w: gtk.main_quit())
vbox = gtk.VBox()
window.add(vbox)
hbox = gtk.HBox()
vbox.pack_start(hbox, False)
label = gtk.Label(‘Current Font:’)
hbox.pack_start(label, False)
fontbutton = gtk.FontButton(‘Monospace Italic 14’)
fontbutton.set_use_font(True)
fontbutton.set_title(‘Select a font’)
fontbutton.connect(‘font-set’, self.font_set_cb)
hbox.pack_start(fontbutton)
self.fontbutton = fontbutton
bbox = gtk.HButtonBox()
vbox.pack_start(bbox, False)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.use_font_cb)
b.set_active(True)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.use_size_cb)
b.set_active(False)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’, self.show_style_cb)
b.set_active(True)
bbox.pack_start(b)
b = gtk.ToggleButton(”, False)
b.connect(‘toggled’,  self.show_size_cb)
b.set_active(True)
bbox.pack_start(b)
window.show_all()
return
def use_font_cb(self, togglebutton):
self.fontbutton.set_use_font(togglebutton.get_active())
return
def use_size_cb(self, togglebutton):
self.fontbutton.set_use_size(togglebutton.get_active())
return
def show_style_cb(self, togglebutton):
self.fontbutton.set_show_style(togglebutton.get_active())
return
def show_size_cb(self, togglebutton):
self.fontbutton.set_show_size(togglebutton.get_active())
return
def font_set_cb(self, fontbutton):
font = fontbutton.get_font_name()
print ‘You have selected the font:’, font
return

def main():
gtk.main()

if __name__ == ‘__main__’:
cbe = FontButtonExample()
main()

I also went through writting Makefile for font-panel and the __init__.py files. Need to concentrate on coding after the design is fixed i.e will be done by saturday in the meeting (design will be fixed). Got good feedback on designs i proposed for the font-panels. Looking forward on working things out.

OLPC and Sugarlabs

20/01/2010
This was what i always wanted to work for, i remember the days when i was keen on working on anything, i get to work for OLPC project. After a long time,  after seeking things to work upon i choose translations for OLPC softwares because i was not getting anything to work upon in OLPC. But this was not what i wanted, but i wanted to work for it as a developer too. I am very thankfull to kushal das as he has always motivated me and was really behind me on getting things work for me. I would also like to thank sayamindu das gupta for his help on each and every query of mine patiently. So here i am now working on building a pygtk based font configuration  panel for sugar control panel. Currently i have proposed three mockups for the same and really looking forward to it. The first one

"The First model"

" The First model"

contains a simple drag menu to adjust the size as starting from 5 to 48 with default 10 and default font Sans Serif .[1]This will also contain a restart sign at the bottom of the frame. The second one as shown contains the same features as in gnome font panel, the button at the middle of the frame works same as desktop fonts work in gnome, on pressing it we will get various font and size changing options.

"The second model"

"The Second model"

The third model i proposed contains kinda work as the language settings in sugar works i.e a dropdown menu will
appear containing the font sizes.

"The Third model"

[1] By saying this i mean a icon at the bottom that updates the changes in font, the next time system is rebooted. After confirmation with devel team and design team will work on the coding part. Now i am going through gnome guide specially the gconf part. and python and pygtk docs 🙂 .