show correct menuitem when no metacontact exist.
This commit is contained in:
		
							parent
							
								
									8fc8e73361
								
							
						
					
					
						commit
						5a6030116e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -4827,7 +4827,7 @@ class RosterWindow: | ||||||
|                 c_dest.jid) |                 c_dest.jid) | ||||||
|             source_family = gajim.contacts.get_metacontacts_family( |             source_family = gajim.contacts.get_metacontacts_family( | ||||||
|                 account_source, c_source.jid) |                 account_source, c_source.jid) | ||||||
|             if dest_family == source_family: |             if dest_family == source_family and dest_family: | ||||||
|                 item = gtk.MenuItem(_('Make %s first contact') % ( |                 item = gtk.MenuItem(_('Make %s first contact') % ( | ||||||
|                     c_source.get_shown_name())) |                     c_source.get_shown_name())) | ||||||
|             else: |             else: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue