xml_windows are never destroyed
This commit is contained in:
		
							parent
							
								
									e8b3a5898c
								
							
						
					
					
						commit
						b416cf60d7
					
				
					 2 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -1157,11 +1157,6 @@ class XMLConsoleWindow:
 | 
				
			||||||
			# it's expanded!!
 | 
								# it's expanded!!
 | 
				
			||||||
			self.input_textview.grab_focus()
 | 
								self.input_textview.grab_focus()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def on_xml_console_window_destroy(self, widget):
 | 
					 | 
				
			||||||
		# remove us from open windows
 | 
					 | 
				
			||||||
		del self.plugin.windows[self.account]['xml_console']
 | 
					 | 
				
			||||||
		widget.destroy()
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class InvitationReceivedDialog(HigDialog):
 | 
					class InvitationReceivedDialog(HigDialog):
 | 
				
			||||||
	def __init__(self, plugin, account, room_jid, contact_jid, password = None, comment = None):
 | 
						def __init__(self, plugin, account, room_jid, contact_jid, password = None, comment = None):
 | 
				
			||||||
		self.plugin = plugin
 | 
							self.plugin = plugin
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18234,7 +18234,6 @@ Maybe I'll refactor later</property>
 | 
				
			||||||
  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
 | 
					  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
 | 
				
			||||||
  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
 | 
					  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
 | 
				
			||||||
  <property name="focus_on_map">True</property>
 | 
					  <property name="focus_on_map">True</property>
 | 
				
			||||||
  <signal name="destroy" handler="on_xml_console_window_destroy" last_modification_time="Mon, 04 Jul 2005 20:12:04 GMT"/>
 | 
					 | 
				
			||||||
  <signal name="delete_event" handler="on_xml_console_window_delete_event" last_modification_time="Sat, 06 Aug 2005 00:03:05 GMT"/>
 | 
					  <signal name="delete_event" handler="on_xml_console_window_delete_event" last_modification_time="Sat, 06 Aug 2005 00:03:05 GMT"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <child>
 | 
					  <child>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue