[gnome-boxes/gnome-3-4] Always install a tablet



commit 72730dd624b8ba021297b230a428476b90c8fcb7
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Tue May 22 19:22:43 2012 +0200

    Always install a tablet
    
    OS that don't support it will ignore it.
    I can't see why it shouldn't be installed by default.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676590

 src/vm-configurator.vala |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index d4d39c1..0895f2e 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -240,14 +240,7 @@ private class Boxes.VMConfigurator {
     }
 
     private void set_tablet_config (Domain domain, InstallerMedia install_media) {
-        var device = get_os_device_by_prop (install_media.os, DEVICE_PROP_NAME, "tablet");
-        if (device == null)
-            return;
-
         var input = new DomainInput ();
-        var bus = get_enum_value (device.get_bus_type (), typeof (DomainInputBus));
-        return_if_fail (bus != -1);
-        input.set_bus ((DomainInputBus) bus);
         input.set_device_type (DomainInputDeviceType.TABLET);
 
         domain.add_device (input);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]