Changeset 1290

Show
Ignore:
Timestamp:
05/21/07 07:28:02 (2 years ago)
Author:
arj..@yirdis.nl
Message:

fixed tools on multiple diagrams.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/ui/mainwindow.py

    r1289 r1290  
    299299        attribute that can be used to fetch the action from the ui manager. 
    300300        """ 
    301         return 
    302301        for button in self._toolbox.buttons: 
    303302             
     
    423422 
    424423    def _insensivate_toolbox(self): 
    425         for button in self.toolbox.buttons: 
     424        for button in self._toolbox.buttons: 
    426425            button.set_property('sensitive', False) 
    427426 
  • gaphor/trunk/gaphor/ui/toolbox.py

    r1289 r1290  
    133133                self.buttons.append(button) 
    134134                wrapbox.add(button) 
     135                button.show() 
    135136            if title: 
    136137                wrapbox_dec = self.make_wrapbox_decorator(title, wrapbox)