[pve-devel] [PATCH manager 2/2] rename usb hotplug to tablet for now
Alexandre DERUMIER
aderumier at odiso.com
Tue Aug 2 11:21:13 CEST 2016
Hi,
about tablet hotplug,
do we have a case where we can't online enable/disable it ?
----- Mail original -----
De: "Dominik Csapak" <d.csapak at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 2 Août 2016 11:13:00
Objet: [pve-devel] [PATCH manager 2/2] rename usb hotplug to tablet for now
since we do not have hotplug of usb passtrough enabled,
and the usb hotplug option is only used for the tablet
pointer device, rename it in the gui to Tablet
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
i want to add gui support for usb passtrough,
but since the hotplug option is currently named usb,
this would lead to confusion when you cannot hotplug
usb passtrough devices
www/manager6/Utils.js | 2 +-
www/manager6/form/HotplugFeatureSelector.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 514b095..c1b985c 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -129,7 +129,7 @@ Ext.define('PVE.Utils', { statics: {
} else if (el === 'network') {
fa.push(gettext('Network'));
} else if (el === 'usb') {
- fa.push(gettext('USB'));
+ fa.push(gettext('Tablet'));
} else if (el === 'memory') {
fa.push(gettext('Memory'));
} else if (el === 'cpu') {
diff --git a/www/manager6/form/HotplugFeatureSelector.js b/www/manager6/form/HotplugFeatureSelector.js
index 71187cf..6edeb23 100644
--- a/www/manager6/form/HotplugFeatureSelector.js
+++ b/www/manager6/form/HotplugFeatureSelector.js
@@ -7,7 +7,7 @@ Ext.define('PVE.form.HotplugFeatureSelector', {
items: [
{ boxLabel: gettext('Disk'), name: 'hotplug', inputValue: 'disk', submitValue: false, checked: true },
{ boxLabel: gettext('Network'), name: 'hotplug', inputValue: 'network',submitValue: false, checked: true },
- { boxLabel: gettext('USB'), name: 'hotplug', inputValue: 'usb', submitValue: false, checked: true },
+ { boxLabel: gettext('Tablet'), name: 'hotplug', inputValue: 'usb', submitValue: false, checked: true },
{ boxLabel: gettext('Memory'), name: 'hotplug', inputValue: 'memory', submitValue: false },
{ boxLabel: gettext('CPU'), name: 'hotplug', inputValue: 'cpu', submitValue: false }
],
--
2.1.4
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list