Get rid of bitrotten shutdown stuff
This commit is contained in:
		
							parent
							
								
									3b9e2c1e7e
								
							
						
					
					
						commit
						84127380dc
					
				@ -151,9 +151,6 @@ class Frame(object):
 | 
				
			|||||||
        self._left_panel = self._create_left_panel()
 | 
					        self._left_panel = self._create_left_panel()
 | 
				
			||||||
        self._right_panel = self._create_right_panel()
 | 
					        self._right_panel = self._create_right_panel()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        shell.get_model().connect('notify::state',
 | 
					 | 
				
			||||||
                                  self._shell_state_changed_cb)
 | 
					 | 
				
			||||||
                                  
 | 
					 | 
				
			||||||
        screen = gtk.gdk.screen_get_default()
 | 
					        screen = gtk.gdk.screen_get_default()
 | 
				
			||||||
        screen.connect('size-changed', self._size_changed_cb)
 | 
					        screen.connect('size-changed', self._size_changed_cb)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -253,10 +250,6 @@ class Frame(object):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        return panel
 | 
					        return panel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _shell_state_changed_cb(self, model, pspec):
 | 
					 | 
				
			||||||
        if model.props.state == ShellModel.STATE_SHUTDOWN:
 | 
					 | 
				
			||||||
            self._timeline.goto('slide_out', True)
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
    def _create_panel(self, orientation):
 | 
					    def _create_panel(self, orientation):
 | 
				
			||||||
        panel = FrameWindow(orientation)
 | 
					        panel = FrameWindow(orientation)
 | 
				
			||||||
        self._connect_to_panel(panel)
 | 
					        self._connect_to_panel(panel)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user