def refresh(self, button=None): log( 'Refreshing...') ui = dbus_ifaces['interface'].GetInterfaceData('wired1', 'user_interface') cbh = CallbackProxy('wired1') gtkinterface, controls = simpleinterface.generate_interface(ui, cbh) cbh.controls = controls log( gtkinterface) self.network_list.pack_start(gtkinterface.control) self.network_list.show_all()