Changes

Jump to navigation Jump to search
m
Line 48: Line 48:  
Note to developers: K.S. Preeti has compiled [http://seeta.in/wiki/index.php?title=Guide a manual for programmers] for SocialCalc.
 
Note to developers: K.S. Preeti has compiled [http://seeta.in/wiki/index.php?title=Guide a manual for programmers] for SocialCalc.
   −
15. Last week, I mentioned that I had modified Mitchel Charity's [http://activities.sugarlabs.org/en-US/sugar/addon/4192 Ruler activity] to look up the screen resolution so that it would render properly on non-OLPC-XO displays. I had been parsing xdpyinfo to get the display resolution. Tomeu Vizoso recommended that I use gtk.gdk.screen_width_mm() instead. Alas, it turns out that neither method is returning the proper screen resolution (either from within Sugar or otherwise) on any of the machines I have been using. Back to square one.
+
15. Last week, I mentioned that I had modified Mitchel Charity's [http://activities.sugarlabs.org/en-US/sugar/addon/4192 Ruler activity] to look up the screen resolution so that it would render properly on non-OLPC-XO displays. I had been parsing xdpyinfo to get the display resolution. Tomeu recommended that I use gtk.gdk.screen_width_mm() instead. Alas, it turns out that neither method is returning the proper screen resolution (either from within Sugar or otherwise) on any of the machines I have been using. Back to square one.
    
===Sugar Labs===
 
===Sugar Labs===

Navigation menu