Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate

#dextrose, 2010-09-10

 « Previous day | Index | Today | Next day »     Channels | Search | Join

All times shown according to UTC.

Time Nick Message
00:47 dfarning has quit IRC
02:29 manusheel has quit IRC
03:27 sugaroid has joined #dextrose
03:33 sugaroid has joined #dextrose
04:57 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
08:28 bernie_afk is now known as bernie
08:47 bernie is now known as bernie_afk
08:49 bernie_afk is now known as bernie
12:46 bernie is now known as bernie_afk
12:50 bernie_afk is now known as bernie
13:04 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
13:04 manusheel <manusheel!7aade187@gateway/web/freenode/ip.122.173.225.135> has joined #dextrose
14:24 dfarning <dfarning!~dfarning@72-160-255-109.dyn.centurytel.net> has joined #dextrose
14:28 bernie is now known as bernie_afk
14:47 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
16:38 anurag_ <anurag_!~anurag@115.240.114.99> has joined #dextrose
16:41 manusheel anurag_: Hi Anurag.
16:42 anurag_ manusheel : hello sir
16:42 manusheel: on sugarlabs?
16:42 bugs.sugarlabs?
16:43 manusheel anurag_: http://lists.sugarlabs.org/arc[…]ember/026741.html
16:43 ishan <ishan!~ishan@115.240.111.186> has joined #dextrose
16:43 anurag_ manusheel: sure, let me look at it
16:44 manusheel anurag_: Sure.
16:45 ishan: Hi Ishan.
16:45 ishan manusheel, hi sir
16:46 manusheel ishan: I would like you to work on http://bugs.sugarlabs.org/ticket/2195
16:47 ishan manusheel, wasnt kandarp sir working on this bug ?
16:48 manusheel ishan: Kandarp had to complete a TA bug today. He can help you in this bug.
16:48 ishan manusheel, okay
17:12 bernie_afk is now known as bernie
17:21 ishan has quit IRC
17:21 ishan <ishan!~ishan@115.240.111.186> has joined #dextrose
17:33 bernie is now known as bernie_afk
17:37 bernie_afk is now known as bernie
17:38 manusheel anurag: Around?
17:40 anurag: I was able to find the fix.
17:41 anurag_ : It should be
17:42 anurag_ manusheel: that would be?
17:42 manusheel anurag_: from jarabe.desktop.homewindow import homewindow
17:42 anurag_: Try this. It should work.
17:43 anurag_ sir i tried it , but it didnt work
17:43 manusheel anurag_: Can you copy paste the shell.logs?
17:44 anurag_ sure
17:44 manusheel anurag_: Send it to me on IRC at pastebin.com
17:44 at -> using
17:45 anurag_ sure
17:46 manusheel anurag_ : Where are you placing this - from jarabe.desktop.homewindow import homewindow
17:46 homewindow.get_instance()
17:46 anurag_: Which file?
17:46 anurag_ all my shell.log files got removed on their own
17:47 i placed them at the top where all the modules are imported
17:59 ishan has quit IRC
18:02 manusheel anurag: Is it working now?
18:02 anurag_ no
18:09 bernie is now known as bernie_afk
18:10 bernie_afk is now known as bernie
18:20 bernie anurag_: where did you find the set_cursor()? method?
18:20 import gtk
18:20 w = gtk.window()
18:20 w.show()
18:20 w.set_cursor (gtk.gdk.Cursor(gtk.gdk.WATCH))
18:21 anurag_: (note that your patch has incorrect spacing (according to the python coding guidelines)
18:22 anurag_ i found that method at wiki.laptop.org/go/Sugar_almanac
18:22 yes true
18:23 bernie is now known as bernie_afk
18:23 bernie_afk is now known as bernie
18:27 bernie anurag_: where did you find the set_cursor()? method?
18:27 import gtk
18:27 w = gtk.window()
18:27 w.show()
18:27 w.set_cursor( gtk.gdk.Cursor(gtk.gdk.WATCH) )
18:27 anurag_: (note that your patch has incorrect spacing, according to the python coding guidelines)
18:29 manusheel bernie: Thank you.
18:29 bernie is now known as bernie_afk
18:29 bernie_afk is now known as bernie
18:29 manusheel bernie: It seems Anurag is getting an import failure.
18:30 anurag: Can you explain the error you are getting?
18:30 bernie <bernie> anurag_: where did you find the set_cursor()? method?
18:30 <bernie> import gtk
18:30 <bernie> w = gtk.window()
18:30 <bernie> w.show()
18:30 <bernie> w.set_cursor( gtk.gdk.Cursor(gtk.gdk.WATCH) )
18:30 <bernie> anurag_: (note that your patch has incorrect spacing, according to the python coding guidelines)
18:31 anurag_: looks like set_cursor is not a method of gtk.Window
18:31 anurag_: gdk is the low-level, OS dependent part of GTK
18:32 anurag_: eureka! this works:
18:32 gdk_window = w.get_window()
18:32 gdk_window.set_cursor(...)
18:32 anurag_: you can obviously condense everything in one line
18:33 anurag_ bernie: yes it was dere
18:34 manusheel bernie: Yes, Bernie. We got these logs.
18:34 bernie anurag_: gtk is really badly designed and badly documented... I always have trouble figuring out how to do things that are really easy with other linux GUI toolkits
18:34 manusheel bernie: Great.
18:35 anurag: Does it work now?
18:35 anurag_ true,  I used QT some time back and i really liked that
18:35 manusheel: let me see
18:41 manusheel bernie: Thanks a lot for the pointers.
18:48 bernie anurag_: same for me
18:49 manusheel bernie: It is still not working for Anurag.
18:49 bernie, anurag:  http://pastebin.com/HYee5tnE
18:50 bernie: Anurag made changes from line 112 to 115
19:22 bernie manusheel: wait, he does not have to *create* a window there.. that was just my test case from the python interactive shell
19:22 manusheel: the old code was ok, anurag_ just needs to interpose get_window() to retrieve the gdk window from the gtk window
19:22 anurag_: ^^^^
19:24 anurag_ has quit IRC
19:26 manusheel bernie: ok.
19:43 dfarning_afk <dfarning_afk!~dfarning@sunjammer.sugarlabs.org> has joined #dextrose
20:23 bernie is now known as bernie_afk
20:50 bernie_afk is now known as bernie
21:28 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
23:21 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
23:36 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose
23:39 bernie is now known as bernie_afk
23:42 sugaroid <sugaroid!~sugaroid@jita.sugarlabs.org> has joined #dextrose

 « Previous day | Index | Today | Next day »     Channels | Search | Join

Powered by ilbot/Modified.
Webmaster