[gnome-boxes] Revert "Revert "vm-configurator: Explicitly assign keyboard""
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Revert "Revert "vm-configurator: Explicitly assign keyboard""
- Date: Wed, 26 Nov 2014 14:30:10 +0000 (UTC)
commit 9a96a351a0236bd1e2dba39917fce355aa1906c0
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Nov 26 13:29:47 2014 +0000
Revert "Revert "vm-configurator: Explicitly assign keyboard""
This reverts commit 28180c3f7acad00f796a8868ab74ec2201d3d173.
src/vm-configurator.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 39e9beb..1b1fbe9 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -95,6 +95,7 @@ private class Boxes.VMConfigurator {
set_sound_config (domain, install_media);
set_tablet_config (domain, install_media);
set_mouse_config (domain, install_media);
+ set_keyboard_config (domain, install_media);
domain.set_lifecycle (DomainLifecycleEvent.ON_POWEROFF, DomainLifecycleAction.DESTROY);
domain.set_lifecycle (DomainLifecycleEvent.ON_REBOOT, DomainLifecycleAction.DESTROY);
@@ -346,6 +347,10 @@ private class Boxes.VMConfigurator {
set_input_config (domain, DomainInputDeviceType.MOUSE);
}
+ private static void set_keyboard_config (Domain domain, InstallerMedia install_media) {
+ set_input_config (domain, DomainInputDeviceType.KEYBOARD);
+ }
+
private static void set_input_config (Domain domain, DomainInputDeviceType device_type) {
var input = new DomainInput ();
input.set_device_type (device_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]