Example #1
0
 def contact_hub_activated(self, menuitem):
     selection = self.builder.get_object('treeview-selection1')
     model, path = selection.get_selected_rows()
     if path == []:
         return
     customer_id = model[path][6]
     import contact_hub
     contact_hub.ContactHubGUI(self.parent, customer_id)
 def contact_hub_activated(self, menuitem):
     selection = self.get_object('tree-selection')
     model, path = selection.get_selected_rows()
     if path == []:
         return
     contact_id = model[path][1]
     import contact_hub
     contact_hub.ContactHubGUI(contact_id)
 def contact_hub_activated(self, menuitem):
     selection = self.builder.get_object('treeview-selection1')
     model, path = selection.get_selected_rows()
     if path != []:
         contact_id = model[path][2]
         if contact_id == 0:
             self.show_message("No contact selected for this row!")
             return
         import contact_hub
         contact_hub.ContactHubGUI(contact_id)
Example #4
0
	def contact_hub_clicked (self, button):
		if self.contact_id == None:
			return
		import contact_hub
		contact_hub.ContactHubGUI(self.contact_id)
Example #5
0
	def contact_hub_clicked (self, menuitem):
		if self.vendor_id != 0:
			import contact_hub
			contact_hub.ContactHubGUI(self.vendor_id)
Example #6
0
 def contact_hub_activated(self, menuitem):
     import contact_hub
     contact_hub.ContactHubGUI(self.main, self.contact_id)