Changeset 3997

Show
Ignore:
Timestamp:
02/13/09 23:48:25 (4 years ago)
Author:
luis
Message:

Merged revisions 3996 via svnmerge from
http://svn.umitproject.org/svnroot/umit/trunk

........

r3996 | luis | 2009-02-13 23:43:33 +0000 (Sex, 13 Fev 2009) | 1 line


Fixed fullscreen traceback error at Radialnet - by Luiz Medeiros, Thanks

........

Location:
branch/InterfaceEditor
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branch/InterfaceEditor

    • Property svnmerge-integrated changed from /trunk:1-3970 to /trunk:1-3996
  • branch/InterfaceEditor/umitGUI/radialnet/Toolbar.py

    r3971 r3997  
    2424#import bestwidgets as bw 
    2525from umitGUI.radialnet.HostsViewer import HostsViewer 
     26from higwidgets.higwindows import HIGWindow 
     27from umitCore.I18N import _ 
    2628 
    2729 
     
    228230        """ 
    229231        if self.__fullscreen.get_active(): 
    230             self.__window.fullscreen() 
     232            self.__fullscreen_window = HIGWindow() 
     233            self.__notebook = self.__window.get_parent() 
     234            self.__window.reparent( self.__fullscreen_window ) 
     235            self.__fullscreen_window.show() 
     236            """self.__fullscreen_window.show_all() 
     237            """ 
     238            self.__fullscreen_window.fullscreen() 
    231239 
    232240        else: 
    233             self.__window.unfullscreen() 
    234  
     241            self.__window.reparent(self.__notebook) 
     242            self.__notebook.set_tab_label_text(self.__window, _('Topology')) 
     243            self.__notebook.set_current_page( 
     244                    self.__notebook.page_num(self.__window)) 
     245            self.__fullscreen_window.hide()