Comment #2 on issue 250 by [email protected]: Program fails at startup
http://code.google.com/p/solfege/issues/detail?id=250

If you are able to manually edit a line, you can fix the line yourself. You  
need to run as root, for example using sudo or something. Below is the  
complete patch, but I you don't know what to do with it, find line 125 of  
the file /usr/share/solfege/solfege/esel.py. It looks like this:

             h = gtk.gdk.screen_height() *0.8

And change it to this:

             h = int(gtk.gdk.screen_height() *0.8)

Remember the white space count on the beginning of the line must be  
correct. DONT INDENT THE LINE.


=== modified file 'solfege/esel.py'
--- solfege/esel.py     2011-05-13 07:51:52 +0000
+++ solfege/esel.py     2011-05-14 17:02:46 +0000
@@ -121,7 +121,7 @@
          # ubuntu 10.04 and +4 on MS Windows XP.
          h = self.g_box.size_request()[1] + 4
          if h > gtk.gdk.screen_height() * 0.8:
-            h = gtk.gdk.screen_height() *0.8
+            h = int(gtk.gdk.screen_height() *0.8)
          self.set_size_request(w, h if h > self.m_min_height else  
self.m_min_height)
          # Then we check if we have to move the app window higher up on the
          # screen so that the whole window is visible.



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to