properties: Fix opening gnome-disks for root filesystem
With the introduction of nautilus-dbus-launcher, we made it so that the current disk is selected in gnome-disks (when opening from the properties window) by passing the disk identifier to --block-device. This works fine for most mounted volumes, but breaks the ability to open gnome-disks for the root filesystem because g_file_find_enclosing_mount() doesn't return a mount for the root file system (it only returns "user interesting locations"). Rather than creating a more complicated setup, use the old behavior for the root filesystem where no volume is selected by default. Fixes: #2447
Please register or sign in to comment