Waiting on https://bugs.launchpad.net/ubuntu/+source/software-
properties/+bug/2150181 to land this fix atop.

commit 95fe4b4129a251d03fd3158abf24bc100e7a820d (HEAD -> 
manually-installed-typo)
Author: Charles <[email protected]>
Date:   Wed May 6 11:17:26 2026 +0100

    gtk: Fix typo in section name check causing crash on manually installed 
drivers
    
    Fix 'manually_install' -> 'manually_installed' in show_drivers,
    matching the correction already applied to the Qt frontend in commit
    dacd46d.

diff --git a/softwareproperties/gtk/SoftwarePropertiesGtk.py 
b/softwareproperties/gtk/SoftwarePropertiesGtk.py
index af658d68..26a76337 100644
--- a/softwareproperties/gtk/SoftwarePropertiesGtk.py
+++ b/softwareproperties/gtk/SoftwarePropertiesGtk.py
@@ -1692,7 +1692,7 @@ class SoftwarePropertiesGtk(SoftwareProperties, 
SimpleGtkbuilderApp):
 
                     if section == 'no_driver':
                         self.no_drv.append(radio_button)
-                    if section in ('manually_install', 'no_driver') or 
('builtin' in drivers[section][driver] and drivers[section][driver]['builtin']):
+                    if section in ('manually_installed', 'no_driver') or 
('builtin' in drivers[section][driver] and drivers[section][driver]['builtin']):
                         radio_button.connect("toggled", 
self.on_driver_selection_changed, device)
                     else:
                         radio_button.connect("toggled", 
self.on_driver_selection_changed, device, driver)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151292

Title:
  [SRU] Crash on selecting manually installed driver: 'manually_install'
  typo in show_drivers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2151292/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to