fix wrong var name. Fixes #2073
This commit is contained in:
		
							parent
							
								
									b28f22ac05
								
							
						
					
					
						commit
						a4b4323e38
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -92,7 +92,7 @@ Agent JID - node</property>
 | 
			
		|||
      </child>
 | 
			
		||||
 | 
			
		||||
      <child>
 | 
			
		||||
	<widget class="GtkTable" id="table1">
 | 
			
		||||
	<widget class="GtkTable" id="address_table">
 | 
			
		||||
	  <property name="visible">True</property>
 | 
			
		||||
	  <property name="n_rows">3</property>
 | 
			
		||||
	  <property name="n_columns">3</property>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -442,7 +442,7 @@ _('Without a connection, you can not browse available services'))
 | 
			
		|||
 | 
			
		||||
		# Address combobox
 | 
			
		||||
		self.address_comboboxentry = None
 | 
			
		||||
		address_hbox = self.xml.get_widget('address_hbox')
 | 
			
		||||
		address_table = self.xml.get_widget('address_table')
 | 
			
		||||
		if address_entry:
 | 
			
		||||
			self.address_comboboxentry = self.xml.get_widget(
 | 
			
		||||
				'address_comboboxentry')
 | 
			
		||||
| 
						 | 
				
			
			@ -465,8 +465,8 @@ _('Without a connection, you can not browse available services'))
 | 
			
		|||
			self.address_comboboxentry.child.set_text(jid)
 | 
			
		||||
		else:
 | 
			
		||||
			# Don't show it at all if we didn't ask for it
 | 
			
		||||
			address_hbox.set_no_show_all(True)
 | 
			
		||||
			address_hbox.hide()
 | 
			
		||||
			address_table.set_no_show_all(True)
 | 
			
		||||
			address_table.hide()
 | 
			
		||||
 | 
			
		||||
		self._initial_state()
 | 
			
		||||
		self.xml.signal_autoconnect(self)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue