Author: bugman Date: Tue Dec 28 21:13:56 2010 New Revision: 12006 URL: http://svn.gna.org/viewcvs/relax?rev=12006&view=rev Log: The URL position is now correctly stored when not centred in the window. Modified: branches/bieri_gui/gui_bieri/about.py Modified: branches/bieri_gui/gui_bieri/about.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/about.py?rev=12006&r1=12005&r2=12006&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/about.py (original) +++ branches/bieri_gui/gui_bieri/about.py Tue Dec 28 21:13:56 2010 @@ -231,7 +231,7 @@ # Store the position of the text. self.url_pos.append(zeros((2, 2), int)) - self.url_pos[-1][0] = [self.border + (self.dim_x - x)/2, self.border + (self.dim_x + x)/2] + self.url_pos[-1][0] = [pos_x, pos_x + x] self.url_pos[-1][1] = [self.offset(), self.offset()+y] # Shift down.