mailr16654 - /branches/uf_redesign/gui/uf_objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 05, 2012 - 09:33:
Author: bugman
Date: Tue Jun  5 09:33:29 2012
New Revision: 16654

URL: http://svn.gna.org/viewcvs/relax?rev=16654&view=rev
Log:
The GUI user function window titles are now set to the 'title_short' value.

This is because the long title can be far too long for a GUI window title!


Modified:
    branches/uf_redesign/gui/uf_objects.py

Modified: branches/uf_redesign/gui/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/uf_objects.py?rev=16654&r1=16653&r2=16654&view=diff
==============================================================================
--- branches/uf_redesign/gui/uf_objects.py (original)
+++ branches/uf_redesign/gui/uf_objects.py Tue Jun  5 09:33:29 2012
@@ -1063,7 +1063,7 @@
             # Generate the user functions.
             for name, data in uf_info.uf_loop():
                 # Generate a new container.
-                obj = Uf_object(name, title=data.title, 
size=data.wizard_size, height_desc=data.wizard_height_desc, 
apply_button=data.wizard_apply_button, sync=data.gui_sync)
+                obj = Uf_object(name, title=data.title_short, 
size=data.wizard_size, height_desc=data.wizard_height_desc, 
apply_button=data.wizard_apply_button, sync=data.gui_sync)
 
                 # Store it.
                 self._instance[name] = obj




Related Messages


Powered by MHonArc, Updated Tue Jun 05 09:40:02 2012